Re: [Mono-winforms-list] System.Windows.Forms.Form: PaintEventHandler is called only when you increase the form

2005-11-02 Thread Jackson Harper
On Wed, 2005-11-02 at 10:18 -0500, Robert C. Havens wrote: ... or you can subscribe to the SizeChanged event and do drawing there. ACK! Don't do that. Invalidate() from the SizeChanged event, and then paint in the Paint event. But DO NOT paint from anywhere else. Yeah I should have

Re: [Mono-winforms-list] New form windows

2005-11-02 Thread Pavel Bansky
sorry for delay, I was bussy. Here comes the code. The screen shot is on this address http://www.bansky.net/img/newwindowissue.png file MainForm.cs using System; using System.Drawing; using System.Windows.Forms; namespace NewWinMono { public class MainForm : System.Windows.Forms.Form {

Re: [Mono-winforms-list] New form windows

2005-11-02 Thread Pavel Bansky
Thanks for your advice Peter. FormBorderStyle was my suspect. It's true that almost same result and with title bar I can get by this: FormBorderStyle=FixedDialog; MinimizeBox=false; MaximizeBox=false; Yes, I will try to get through ximian bugzilla forests :) Peter Dennis Bartok wrote: Your

Re: [Mono-winforms-list] System.Windows.Forms.Form:PaintEventHandleris called only when you increase the form

2005-11-02 Thread Jonathan Gilbert
At 10:18 AM 02/11/2005 -0500, Robert Havens wrote: [snip] [..] But DO NOT paint from anywhere else. To the best of my knowledge, the use of 'Refresh()' or code such as: using (Graphics g = base.CreateGraphics()) { g.DrawWhatever(..); ... } ..is not only legal but considered best practice

Re: [Mono-winforms-list]System.Windows.Forms.Form:PaintEventHandleris called only when youincrease the form

2005-11-02 Thread Dmitriy
In the specific case of the OnSizeChanged event, it is probably better to use Invalidate() unless you have some special reason to force a full repaint on every single mouse movement. If you can draw quickly enough, doing so could produce an aesthetically pleasing animated scaling effect. If you

Re: [Mono-dev] [Mono-patches] r52427 - trunk/mcs/mbas

2005-11-02 Thread Eyal Alaluf
Hi, Rafael. Can you point me to this test case location? It seems like an issue we haven't sen before as well in Grasshoper. Thanks, Eyal. On Tue, 1 Nov 2005, Rafael Teixeira wrote: Date: Tue, 1 Nov 2005 11:55:08 -0200 From: Rafael Teixeira [EMAIL PROTECTED] To: Miguel de Icaza [EMAIL

[Mono-dev] Re: Patch for System.Runtime.Remoting.ServerIdentity

2005-11-02 Thread Lluis Sanchez
El lun, 31-10-2005 a las 04:48 -0800, Svetlana Zholkovsky escribió: Index: ServerIdentity.cs === --- ServerIdentity.cs (revision 51552) +++ ServerIdentity.cs (working copy) @@ -103,6 +103,8 @@ public void

[Mono-dev] Cosmetic fix for XslTranslate

2005-11-02 Thread Andrew Skiba
Hi Eno, I saw in one of the overloads there is a check that stylesheet was loaded, and in the other there is no such check, so instead of XsltException there will be NullPointerException. Please review the patch to fix it. Regards, Andrew. Index: XslTransform.cs

[Mono-dev] Re: Cosmetic fix for XslTranslate

2005-11-02 Thread Atsushi Eno
Hi Andrew, Please commit the fix. Thanks. Atsushi Eno Andrew Skiba wrote: Hi Eno, I saw in one of the overloads there is a check that stylesheet was loaded, and in the other there is no such check, so instead of XsltException there will be NullPointerException. Please review the patch to fix

[Mono-dev] patch for System.CodeDom.Compiler.CodeCompiler

2005-11-02 Thread Sebastien Pouliot
Hello everyone, Here's a patch to fix CodeCompiler so it use Executor instead of directly using Process. I need this because Executor and Process have (similar but) different security requirements. However there are very few unit tests for CodeDom so I added my own (see

Re: SPAM-LOW: [Mono-dev] Mono with NAnt

2005-11-02 Thread Kevin Thompson
I think I got it working. thanks for the suggestion.On 11/1/05, Charlie Poole [EMAIL PROTECTED] wrote: Editnant.exe.config to match your mono version. You may want to get the latest NAnt. Just for kicks. Charlie -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL

[Mono-dev] RE: DataGrid Control : doPostBack script not emited

2005-11-02 Thread Yogendra Thakur
Hi Gonzalo, I have filed a bug for this. See bug http://bugzilla.ximian.com/show_bug.cgi?id=76613 -YoGi -Original Message- From: Gonzalo Paniagua Javier [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 12, 2005 8:57 PM To: Yogendra Thakur Cc: mono-devel-list@lists.ximian.com

Re: [Mono-dev] [Mono-patches] r52427 - trunk/mcs/mbas

2005-11-02 Thread Rafael Teixeira
Hey Eyal, The test source is mcs/mbas/Test/tests/expressions/ExpressionLiteralNothingB.vb As Maverson kindly educated me, on VB.NET an expression yielding Nothing (null) stands for an uninitialized instance of a valuetype on assignment to a variable/field of that type. MS says: The Nothing

Re: [Mono-dev] Mono with NAnt

2005-11-02 Thread Rafael Teixeira
You may have to tweak NAnt.exe.config to point correctly to your Mono installation. :) On 11/2/05, Kevin Thompson [EMAIL PROTECTED] wrote: Hi i have a compilation of mono from SVN and I am trying to get it to work with nant. When i specify mono-1.0 as the framework it produces an error:

Re: [Mono-dev] patch for System.CodeDom.Compiler.CodeCompiler

2005-11-02 Thread Gonzalo Paniagua Javier
On Wed, 2005-11-02 at 11:28 -0500, Sebastien Pouliot wrote: Hello everyone, Here's a patch to fix CodeCompiler so it use Executor instead of directly using Process. I need this because Executor and Process have (similar but) different security requirements. However there are very few unit

Re: [Mono-dev] PKCS12: adding multiple keys of the same size

2005-11-02 Thread Sebastien Pouliot
Hello Jim, On Wed, 2005-11-02 at 14:22 -0800, Jay Miller wrote: Hello. I'm not very well versed in PKCS12, so this is probably just a misunderstanding on my part, but I'm trying to add multiple (RSA) keys to a PKCS12 object via AddPkcs8ShroudedKeyBag. As it turns out, I cannot add two

[Mono-dev] XSP did not compile for me

2005-11-02 Thread Bernhard
Hi! I got an error compiling XSP from SVN for some days now. In order to compile XSP I had to change the Makefile in src from xsp_sources = server.cs to xsp_sources = server.cs security.cs Is this something that should be fixed (maybe in better way than I did)? Cheers Bernhard

[Mono-dev] [EMAIL PROTECTED]

2005-11-02 Thread Okehee Goh
never mind. I justed added new ones into Makefile.in and ran configure. It generated a new Makefile. Sorry about this kind of question.. For my research, I added several new modules under mono/metadata folder ( not to checkin into CVS..) In order to make Makefile aware of the new modules, I

Re: [Mono-dev] windows build broken? SIGSEGV

2005-11-02 Thread Kevin Thompson
I got the same error.On 10/31/05, Atsushi Eno [EMAIL PROTECTED] wrote: Hi,I wonder if it happens to all, but Windows build got broken on my boxafter r52396 (r52395 worked fine), saying thatCreating ../../build/deps/basic_System.dll.response ...MONO_PATH=../../class/lib/basic;$MONO_PATH

Re: [Mono-dev] windows build broken? SIGSEGV

2005-11-02 Thread Kevin Thompson
I am at r52500 with that error.On 11/2/05, Kevin Thompson [EMAIL PROTECTED] wrote: I got the same error.On 10/31/05, Atsushi Eno [EMAIL PROTECTED] wrote: Hi,I wonder if it happens to all, but Windows build got broken on my boxafter r52396 (r52395 worked fine), saying thatCreating

[Mono-list] Re: Porting ASP.NET app from IIS to XSP

2005-11-02 Thread tom potts
4000 items is rather a lot but you can help the user by using optgroups: http://www.w3.org/TR/html4/interact/forms.html#h-17.6 Tom ___ To help you stay safe and secure online, we've developed the all new Yahoo! Security

[Mono-list] About Developing GTK# on Windows

2005-11-02 Thread Gayan Perera
dear frnds , can u please tell me wether i can develop GTK# on windows with the mono windows installer ? and does that conatins the mono develop as well ? do i need the GTK2.0 libs and glade for windows to run GTK# on windows ? thanks you, Gayan. ___

Re: [Mono-list] Porting ASP.NET app from IIS to XSP

2005-11-02 Thread Oleg Deribas
Joe Audette wrote: I don't mean to sound harsh or critical but whether under IIS or xsp I would not ever recommend populating a dropdown list with 4000 items. That is ridiculous from a usability point of view. The user should not ever have to scroll through 4000 itmes to find the one they are

Re: [Mono-list] Problem with SOAP Serialization of DateTime

2005-11-02 Thread Lluis Sanchez
I'm having some problems with SOAP Serialization. I run a client built in C# under Windows that makes calls to a Web Service built with mono under Linux. I am having a little problem with date-time types being exchanged from/to the server. If the client has it's time set to GM, then it

Re: [Mono-list] Re: monodevelop won't run

2005-11-02 Thread Lluis Sanchez
El mar, 01-11-2005 a las 16:12 -0800, caminoix (sent by Nabble.com) escribió: funny enough, i don't have libgnomesharpglue-2 at all even though it should in theory come with mono. i tried to find it elsewehere but it looks like i got sucked into a vicious circle of dependencies. i'll keep

[Mono-list] help on Autotools

2005-11-02 Thread Carlos Ble
Hi! Im studing autotools for my Mono project. I haved read the monoskel example from mono-project.com and bush example from Gonzalos's blog but is insufficient because I need to create several .dll in C# and Nemerle/Boo, and use them to build .exe files. I have took a look at autobook but is very

Re: [Mono-list] help on Autotools

2005-11-02 Thread Everaldo Canuto
Hi, Take a look at projects banshee, f-spot and tomboy, they makes what you need. Get this projects sources from CVS and take a look at lib* dirs. To get sources type this commands at terminal: export CVSROOT=:pserver:[EMAIL PROTECTED]:/cvs/gnome cvs co banshee cvs co f-spot cvs co tomboy

Re: [Mono-list] Re: mono-service

2005-11-02 Thread peter
Robert Jordan wrote: I'm attaching a init.d skeleton for mono-services, in the hope that this (not quite mono related) problem will settle down for a while. It's for SUSE, but it can be easily adapted to other distros. Robert Hi Robert, Sorry to be a pain, but I tried the script without

Re: [Mono-list] Re: mono-service

2005-11-02 Thread peter
peter wrote: Hi Robert, Sorry to be a pain, but I tried the script without any success. I have SuSE 9.3 Pro. Here's what I got: Apologies. Scrub that. My bad. RTFM. I know. Apologies to the list. Peter ___ Mono-list maillist -

[Mono-list] Re: mono-service

2005-11-02 Thread Robert Jordan
Hi Peter, The service doesn't start because of the RemoteSumsObject.dll assembly. The remoting infrastructure loads this assembly via reflection, which doesn't appear to work. Probably a current directory issue ... However, the attached updated monoservice script deals with that. Rob I'm

[Mono-list] [Fwd: [Gtk-sharp-list] ToolBar : Deprecated ?]

2005-11-02 Thread xiii29
Hi, I'm wondering if TooBar is not depreacted ... In fact, when I look in MonoDoc, most of the methods are deprecated (all the Add* are !). So ... Is there something else to use ! Thanks ! ___ Mono-list maillist - Mono-list@lists.ximian.com

Re: [Mono-list] Re: mono-service

2005-11-02 Thread peter
Robert Jordan wrote: Hi Peter, The service doesn't start because of the RemoteSumsObject.dll assembly. The remoting infrastructure loads this assembly via reflection, which doesn't appear to work. Probably a current directory issue ... However, the attached updated monoservice script deals

Re: [Mono-list] Re: mono-service

2005-11-02 Thread peter
Robert Jordan wrote: Hi Peter, The service doesn't start because of the RemoteSumsObject.dll assembly. The remoting infrastructure loads this assembly via reflection, which doesn't appear to work. Probably a current directory issue ... However, the attached updated monoservice script deals

[Mono-list] Re: Re: monodevelop won't run

2005-11-02 Thread caminoix (sent by Nabble.com)
i'm sorry, i know this is a very stupid question but where can i get gtk-sharp-2.0 from? i only found one rpm but it says it can't find user mksetner and that it would install as root but it doesn't seem to really install. anyway, the library did not appear and monodevelop still won't start :(