Re: [Mono-winforms-list] Porting Visual Studio Created WinForms Applications C#

2015-07-29 Thread stifu
b.com/mono/mono/tree/master/mcs/class/System.Windows.Forms Let me know if I can help. - Mail original - De: "Marcel Burger" À: "Stifu" Cc: mono-winforms-list@lists.ximian.com Envoyé: Mercredi 29 Juillet 2015 10:22:36 Objet: Re: [Mono-winforms-list] Porting Visua

Re: [Mono-winforms-list] Porting Visual Studio Created WinForms Applications C#

2015-07-29 Thread stifu
to come from us. Xamarin won't do it. "If not, I guess, HTML5 instead of WinForm will be a nice GUI replacement :-)" There's also XWT (but still no designer): https://github.com/mono/xwt - Mail original - De: "Marcel Burger" À: "Stifu" Cc:

Re: [Mono-winforms-list] Porting Visual Studio Created WinForms Applications C#

2015-07-28 Thread Stifu
Hi, MonoDevelop and Xamarin Studio don't have a WinForms designer, so you'd better stick with Visual Studio. I admit I'm not really up to date on this, but there must be VS plugins to run your app with Mono from the IDE. I've found the MonoDebugger project (http://www.monodebugger.net/), but it se

Re: [Mono-winforms-list] Drawing in a winform using Gtk C# in Xamarin Studio

2015-07-07 Thread Stifu
writing my code to draw the simulations I want to program. > > I just can't figure out how to draw to the "DrawingArea" object, or > widget? > I've been looking for a tutorial on how to do that and I couldn't find > one. > > Thanks > From:

Re: [Mono-winforms-list] stuck with WinForms issue, not sure how to proceed

2015-07-07 Thread Stifu
Hello, I know I'm a bit late, but just in case, I'll reply anyway. What I'd do is retrieve the Mono WinForms source code, then hack away to figure out what's wrong... Then you can just swap the Mono WinForms DLL with the one you built. Getting the WinForms project to build can be tricky, though (

Re: [Mono-winforms-list] Drawing in a winform using Gtk C# in Xamarin Studio

2015-07-07 Thread Stifu
Hello, You should either use WinForms or GTK#, not both. If you want to use WinForms, then you should draw using GDI+, the same way you would in .NET. If you want to use GTK#, then you should draw using GDK (http://docs.go-mono.com/?link=T%3aGdk.Pixbuf). RoboPi wrote > Hello, > > I'm looking fo

Re: [Mono-winforms-list] GIF @ WinForm kinda "mess"

2013-12-13 Thread Stifu
Is it an animated gif or not? Only related bug I could find: https://bugzilla.novell.com/show_bug.cgi?id=564059 supercalho3000 wrote > Hello there, > > I'm running CS code under debian wheezy with mono 2.10 + gnome, and i have > one application that i want to port. The problem is that when i ru

[Mono-winforms-list] WinForms regression with Mono 3.2.3

2013-10-03 Thread Stifu
This is on Windows. The WinForms app worked with Mono 2.10, but no longer with 3.2.3. I guess this affects pretty much all WinForms apps, but if not, I'm trying to run this app: https://code.google.com/p/epicedit/ Is this a known issue? Unhandled Exception: System.TypeInitializationException: An

Re: [Mono-winforms-list] Get text from TextBox

2013-08-28 Thread Stifu
Hi, "AFAIK there is no GUI builder in MonoDevleop" For WinForms, no, but for GTK#, yes. By the way, usually, WinForms controls are declared in a Designer partial class, so they can all be accessed from anywhere in the class. Example: https://code.google.com/p/epicedit/source/browse/EpicEdit/UI/

Re: [Mono-winforms-list] Cursor.Hide Not working

2012-06-09 Thread Stifu
- X11 doesn't 'hide' the cursor. we could create an empty cursor } Stifu wrote > > If all fails, you could just use a custom invisible cursor instead (like, > a cursor icon made of a single transparent pixel). > Though it'd be nice to fix in WinForms

Re: [Mono-winforms-list] Cursor.Hide Not working

2012-06-08 Thread Stifu
If all fails, you could just use a custom invisible cursor instead (like, a cursor icon made of a single transparent pixel). Though it'd be nice to fix in WinForms itself... UserDave2012 wrote > > I am porting a VB.NET application from Win over to Linux and am having a > problem of the Cursor.Hi

Re: [Mono-winforms-list] OpenFileDialog Exception

2012-05-29 Thread Stifu
If ArrayList is buggy, it should be fixed then. But meanwhile, maybe we could work around such issues in WinForms by using a generic list instead (assuming the list is not exposed anywhere). .NET 1.x is no longer supported, and generic lists perform better anyway. sa5webber wrote > > Looking int

Re: [Mono-winforms-list] DataSet WriteXml single, double, decimal problem...

2012-05-25 Thread Stifu
This is most likely a bug. Feel free to report it (https://bugzilla.xamarin.com/). And if you're motivated, you could have a look at the Mono source code, and submit a patch. matise wrote > > I have problem when writexml method is used to write file to had drive. > DataTable has single column (i

Re: [Mono-winforms-list] DataGridView setting column width problem

2012-03-21 Thread Stifu
Hi, I was gonna post a link to bug 590, then realized you're the one who posted it. Well, it's just a bug that needs to be fixed, can't say much more than that. If you're feeling adventurous, feel free to dig into the Mono source code. That's how I fixed my WinForms pet bugs. Let me know if I can

Re: [Mono-winforms-list] GDI+ status: InvalidParameter from LinearGradientBrush

2012-03-16 Thread Stifu
GTK# or MonoMac. Or help and fix WinForms. :p There was also a project to reimplement WinForms on Mac using MonoMac, but I don't know if it's still active. KeithBoynton wrote > > That's disappointing, the offending control looks to be the toolstrip so I > guess I'll try and switch it for anothe

Re: [Mono-winforms-list] GDI+ status: InvalidParameter from LinearGradientBrush

2012-03-15 Thread Stifu
Sadly, GDI+ and WinForms are simply buggy, especially on Mac. If you've got an X11 server installed, you could try running your application this way: MONO_MWF_MAC_FORCE_X11=1 mono yourapp.exe This will give better results. KeithBoynton wrote > > I'm receiving this error when trying to run an a

Re: [Mono-winforms-list] winform drag and drop functionality

2012-02-23 Thread Stifu
May be this bug: https://bugzilla.novell.com/show_bug.cgi?id=462687 Feel free to repost this bug on the new bugzilla (https://bugzilla.xamarin.com/) so it gets more attention. savita wrote > > Thank you for quick reply. > OS is windows XP. > The application is developed in VS2010. Installed Mon

Re: [Mono-winforms-list] winform drag and drop functionality

2012-02-22 Thread Stifu
Must be a Mono bug, then. It might be OS specific, but you didn't specify the OS. PS: Note that you don't need to recompile your app with Mono in order to run it with Mono. savita wrote > > Hi, > > We have developed a drag and drop functionality in .net win form using c#. > drag sourse is lis

Re: [Mono-winforms-list] Porting Windows .NET 4 WinForm Application To *NIX With Mono - Unexpected binary element 0

2012-01-12 Thread Stifu
"What is the resx entry for the Cursor you tried in your example?" What do you mean? You should have everything you need in the solution attached to the bug report. "Any ideas of where I might be able to post this to verify such a premise and/or elevate it as a bug?" Well, I already reported the b

Re: [Mono-winforms-list] Porting Windows .NET 4 WinForm Application To *NIX With Mono - Unexpected binary element 0

2012-01-12 Thread Stifu
It sounds like a Mono ResourceManager bug to me. I reported a bug that sounds similar a little while ago: http://bugzilla.xamarin.com/show_bug.cgi?id=749 In my case, I found out a workaround: adding the file to the project, and setting it as embedded resource, rather than using an resx file. pla

Re: [Mono-winforms-list] NullReferenceException under Wine

2011-11-13 Thread Stifu
ncher > again, the first error disappears :-) > Unfortunately, I see the same symptoms. The new error console output is > enclosed. > > I tried googling several of the fixme errors, but didn't see anything > useful. Do any of you have advice on where I can search next, trying to

Re: [Mono-winforms-list] NullReferenceException under Wine

2011-11-11 Thread Stifu
Hi, This link (in French, sorry): http://doc.ubuntu-fr.org/wine#erreur_parse_depend_manifests Says you need to install "Microsoft Visual C++ 2005 SP1 Redistributable Package (x86)" available here: http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=5638 jeffguy wrote: > > Subjec

Re: [Mono-winforms-list] WinForms DragEventsArgs.KeyState

2011-10-21 Thread Stifu
Hi, This is a bug in Mono. It comes from this file: https://github.com/mono/mono/blob/master/mcs/class/Managed.Windows.Forms/System.Windows.Forms/X11Dnd.cs Every DragEventArgs object intialized in this class pass 0 as the keystate value. Not sure how to fix this right now, but anyone can pick t

Re: [Mono-winforms-list] Port winform .NET 4.0 app to Mac OSX

2011-09-20 Thread Stifu
"Any idea where to start?" Trying to get your app to work with Mono on Windows was a good first step. I take it you can't make your app public, right? Or maybe try to make a reduced test case? "If WebBrowser is not supported or converted is there any way round this?" I'm not sure what the best s

Re: [Mono-winforms-list] Port winform .NET 4.0 app to Mac OSX

2011-09-19 Thread Stifu
Hi, I'm not the best person to answer you (don't have a Mac), but this should be better than nothing. "1. Is it possible to port an existing winform application to OSX?" Yes. Although WinForms support in Mono isn't good on OSX. But then again, maybe you'd like to help and patch it. "2. If so wou

Re: [Mono-winforms-list] CurrentCellDirtyStateChanged DataGridView

2011-09-01 Thread Stifu
The best solution would clearly be to fix the bug and submit a patch. :) The WinForms sources are there: https://github.com/mono/mono/tree/master/mcs/class/Managed.Windows.Forms ingemar wrote: > > hi, > > it's me again...the CurrentCellDirtyStateChanged is not fired in mono. for > me, that seem

[Mono-winforms-list] Fixing WinForms csproj - Consts.cs?

2011-08-15 Thread Stifu
Hi guys, I'm trying to fix some broken csproj files in the Mono sources, and I'm not sure how to do it. I already did so locally, but the dirty way (referencing DLLs at certain locations, or adding extra cs files), and I'm trying to do it cleanly this time, so I can push my changes back. So, some

Re: [Mono-winforms-list] How to use third-party controls?

2011-08-12 Thread Stifu
There is no Mono WinForms designer, so I don't know if there is any other way than adding them manually. On the other hand, you could still do it in VS and run it with Mono. That said, the main thing to watch out for is whether the controls will actually work with Mono. Most third-party WinForms c

Re: [Mono-winforms-list] how to release a .net winform application by monodevelop?

2011-08-09 Thread Stifu
Copy exe file (and needed DLLs, if any), then run exe with Mono (using command line "mono myapp.exe", or other ways). That's about it. You could also run your program with Mono for Windows first. Lynn wrote: > > i'm a newbie to monodevelop. > i have a .net winform app which runs fine on W

Re: [Mono-winforms-list] winforms main menu

2011-07-25 Thread Stifu
Other option: use MonoMac (so you'd have a native Mac app). There's also an implementation of Windows on top of MonoMac, but I can't find it right now. Basically, it replaces your WinForms controls with native Mac controls. But it's recent and probably not very mature. focusgfx wrote: > > mm, so

Re: [Mono-winforms-list] winforms main menu

2011-07-25 Thread Stifu
Although I didn't check out this bug, I'm pretty sure it must be a Mono WinForms bug. I can't see why it couldn't be fixed. However, the Mono team doesn't work on Windows anymore, so the patch would have to come from the community. focusgfx wrote: > > Hello all, I have a question.. > I've a simp

Re: [Mono-winforms-list] drag and drop file to desktop doesn't work

2011-07-25 Thread Stifu
Most likely a Mono bug. At some point, dragging from the desktop to the app didn't work, but it got fixed a little while ago. Didn't try the other way around. For the record, the Mono team doesn't work on WinForms anymore, so patches have to come from the community. treedevil wrote: > > Hi, >

Re: [Mono-winforms-list] Problem with winforms

2011-07-03 Thread Stifu
You're using MonoDevelop, right? In your project, there should be a "References" folder at the root (not really a folder, but looks like one). Right click References to add a new reference to System.Windows.Forms. hannibal wrote: > > how Can I resolve?I don't understand,excuse me. > -- View t

Re: [Mono-winforms-list] Problem with winforms

2011-07-03 Thread Stifu
It sounds like you may be missing a project reference. Your project needs to reference the System.Windows.Forms assembly. Then you'll be able to add the using directives. hannibal wrote: > > Hello, I am a beginners.I trying to write a winforms application first, > and then downloading the libra

Re: [Mono-winforms-list] ListView: Context menu on Mac?

2011-06-29 Thread Stifu
Alright. Now, honestly, your best bet to get the bug fixed would be to dive into the WinForms source code and fix it yourself. The Mono team doesn't work on WinForms anymore, it's the community that makes it live on. I don't have a Mac, so can't help you much, but if you can come up with a patch, I

Re: [Mono-winforms-list] ListView: Context menu on Mac?

2011-06-29 Thread Stifu
Alright. Then I suggest you try it with Mono on Windows. That'll tell you whether the bug you found is Mac only, or affects all OSes. coreysteffen wrote: > > Sorry. I meant with .NET on Win7. > -- View this message in context: http://mono.1490590.n4.nabble.com/ListView-Context-menu-on-Mac-t

Re: [Mono-winforms-list] ListView: Context menu on Mac?

2011-06-29 Thread Stifu
I see you posted a bug about this. You say it works on Windows 7 ; do you mean with .NET or with Mono? coreysteffen wrote: > > I'm porting a WinForms app to Mac OS X (10.6.7). I'm using MonoDevelop > 2.4.2 (Mono 2.10.1). Context menus assigned to ListView controls work > fine on Windows, but d

Re: [Mono-winforms-list] error CS8027: Couldn't run pkg-config

2011-06-14 Thread Stifu
Not sure how to fix your problem, but for the record, you don't need to recompile your app with Mono in order to run it with it. You could directly use Mono to run the exe that was compiled with .NET (command: "mono yourapp.exe"). dnawo wrote: > > When i install mono 2.10.2 on Windows7,I want to

[Mono-winforms-list] Bug 692206 review (character encoding issue)

2011-05-09 Thread Stifu
Hi, See bug: https://bugzilla.novell.com/show_bug.cgi?id=692206 (Can't enter o umlaut character with system keyboard "Germany") The reporter proposes a patch that looks fine to me: using UTF8 rather than ASCII to encode characters. Does anyone have any objection against this patch? If not, I'll p

Re: [Mono-winforms-list] Exception: System.EntryPointNotFoundExcept ion: SetScrollInfo

2011-04-26 Thread Stifu
Hi, Please file a bug report with a reduced, self-contained test case. You may also want to investigate the bug and submit a patch. FChristian wrote: > > Hello, > > when trying to run a Windows program on Ubuntu 10.10, I get the error > message "Unhandled Exception: System.Reflection.TargetInv

Re: [Mono-winforms-list] RichTextBox - SelectionBackColor functionality

2011-03-09 Thread Stifu
This is most likely a bug (the WinForms implementation of Mono has a lot of rough edges). Feel free to report it. Rhejinald wrote: > > I've been searching the documentation (I'm relatively new to the mono > project, 3 months or so using) and I'm finding nothing to answer what I'm > struggling wi

Re: [Mono-winforms-list] How to take screenshot from Panel ?

2011-03-09 Thread Stifu
Tried the panel DrawToBitmap method? DudeFactory wrote: > > I need create image from my Panel. How do this ? > -- View this message in context: http://mono.1490590.n4.nabble.com/How-to-take-screenshot-from-Panel-tp3343044p3343501.html Sent from the Mono - WinForms mailing list archive at Nab

Re: [Mono-winforms-list] MessageBoz not responding inside if loop

2011-02-25 Thread Stifu
Hi, You posted this on the wrong mailing list (you want the GTK# one, not the WinForms one). moshegeorge wrote: > > Hello Everybody, I am a beginner with monodev , I am trying to display a > message box based on button click . The code is working fine , except when > the message bex under the

Re: [Mono-winforms-list] New install of C Sharp, using System.Winforms not found

2011-02-21 Thread Stifu
t > asking > too much? > > > > On Mon, Feb 21, 2011 at 12:46 PM, Stifu [via Mono] < > ml-node+3318091-738239259-213...@n4.nabble.com> wrote: > >> "In the monodevelop there was some kind of design page, although >> different >> from visual studio

Re: [Mono-winforms-list] New install of C Sharp, using System.Winforms not found

2011-02-21 Thread Stifu
they work in the linux thats great. > > It would be so much more helpful to hear an overview of the process rather > than try to figure it out from scratch > > thanks > > On Sun, Feb 20, 2011 at 1:19 AM, Stifu [via Mono] < > ml-node+3314993-1938980173-213...@n4.nabble

Re: [Mono-winforms-list] New install of C Sharp, using System.Winforms not found

2011-02-20 Thread Stifu
Just checking: when you say "System.Winforms", you really mean "System.Windows.Forms", right? Also, MonoDevelop has no WinForms designer. So I suggest you build your UI on Windows (using Visual Studio or something else), then test your app on Linux. The other option would be to build your app wit

Re: [Mono-winforms-list] WinForms development status?

2011-02-20 Thread Stifu
, having a Mac WinForms maintainer would be great. iBradleyAllen wrote: > > Hi Stifu > > Id like to help fix this but the only way is if I can get paid for it. > working by the task instead of by the hour seems fair, if nothing gets > done then nothing gets paid. >

Re: [Mono-winforms-list] Removing the IDeviceContext.cs file

2011-01-29 Thread stifu
Thanks Jonathan, done. :) https://github.com/mono/mono/commit/ea9864ac6c2aef8db79cf583a526e6a0d1960256 - Mail Original - De: "Jonathan Pobst" À: st...@free.fr Cc: "Andy Hume" , "mono-winforms-list" Envoyé: Mardi 25 Janvier 2011 22:32:36 GMT +01:00 Amsterdam / Berlin / Berne / Rome / S

Re: [Mono-winforms-list] Removing the IDeviceContext.cs file

2011-01-25 Thread stifu
Hi Andy, Thanks for the answer. I think it was just some kind of internal class to replicate the behavior of the Drawing.IDeviceContext one, but since Drawing.IDeviceContext didn't exist in .NET 1.1, it was done internally in System.Windows.Forms, without exposing the class. That way, more code

[Mono-winforms-list] Removing the IDeviceContext.cs file

2011-01-20 Thread stifu
Hi guys, As I was cleaning up WinForms from .NET 1.1 code, I stumbled on the IDeviceContext.cs file (in the System.Windows.Forms namespace). I'm not sure what this class was for exactly (some kind of replacement for the class of the same name in the System.Drawing namespace, I take it), but it

Re: [Mono-winforms-list] Copy rather than drawing an image to a graphics object?

2011-01-05 Thread Stifu
wing my buffer and then set it > back. > > Is that a way? How can it be realized without modifying the > System.Drawing.Graphics class (It still should build with .NET). > > > Stifu wrote: >> >> Hi, >> >> How about defining clip regions for the

Re: [Mono-winforms-list] Copy rather than drawing an image to a graphics object?

2011-01-05 Thread Stifu
Hi, How about defining clip regions for the parts that should be transparent, before calling Clear? However, I remember getting into issues doing something similar with Mono. It worked fine with .NET, though. See: https://bugzilla.novell.com/show_bug.cgi?id=492299 cs_eps wrote: > > Hello! > >

Re: [Mono-winforms-list] Quick question about bug 661750

2011-01-04 Thread stifu
Hi guys, I'll go ahead and do this in the next few days, unless someone pops up and objects. I'll add a nice comment explaining why it's okay to cast to Int64. - Mail Original - De: st...@free.fr À: "mono-winforms-list" Cc: "Miguel de Icaza" Envoyé: Dimanche 2 Janvier 2011 21:45:33 GMT

[Mono-winforms-list] Quick question about bug 661750

2011-01-02 Thread stifu
Bug 661750 is about an exception when converting the value of a NumericUpDown control to hexadecimal, if the value is 0. This conversion happens in the UpdateEditText method of the NumericUpDown control. The author of the code added the following comments: // Decimal.ToString doesn't know the "X

[Mono-winforms-list] Help fixing bug 661753 (cloning ToolStripItem objects)

2010-12-31 Thread stifu
See bug 661753: TreeNode clones aren't complete, some properties are missing. This is the code I have so far (in TreeNode.cs): public virtual object Clone() { TreeNode tn = (TreeNode)Activator.CreateInstance (GetType ());

Re: [Mono-winforms-list] How to improve quality of Application on mac

2010-12-15 Thread Stifu
Hi, 3 solutions come to mind: - Submit patches to make WinForms better - Use hacks specific to your application* - Stop using WinForms, use another toolkit *As for hacks, I don't recommend it. Personally, I only use them as temporary solutions, while waiting for newer Mono versions to come out

Re: [Mono-winforms-list] Is this possible with a winform?

2010-12-13 Thread Stifu
What are the benefits of having the right panel be out of the main window? Can it be moved independently or something? What would happen when maximizing the app (unless you disabled maximizing)? Wouldn't it be easier to just have the panel *inside* the main form, docked right? Or even as a thin t

Re: [Mono-winforms-list] Form.InicializeComponent() throwing InvalidCastException

2010-12-13 Thread Stifu
It might be this bug: https://bugzilla.novell.com/show_bug.cgi?id=648403 bmnds wrote: > > I dunno what may be causing it to happen. I've done a simple application > before using winforms and it worked (the Picture Viewer example). > > I'm attaching the Visual Studio C# project if someone wants

Re: [Mono-winforms-list] New maintainers for Winforms?

2010-12-12 Thread stifu
Alright, thanks. My GitHub login is thomasgoldstein. I grabbed Tom's e-mail and will contact him. - Mail Original - De: "Miguel de Icaza" À: st...@free.fr Cc: mono-winforms-list@lists.ximian.com Envoyé: Dimanche 12 Décembre 2010 04:09:09 GMT +01:00 Amsterdam / Berlin / Berne / Rome / S

Re: [Mono-winforms-list] New maintainers for Winforms?

2010-12-11 Thread stifu
PS: tom hindle has been quite active and contributed many WinForms patches, so maybe he'd like to become maintainer? I don't know his e-mail though, and neither if he's on this mailing list. - Mail Original - De: "Miguel de Icaza" À: "Stifu" Cc: &q

Re: [Mono-winforms-list] how to open file

2010-12-11 Thread Stifu
Of course it's not working, you hard coded the directory separator again, re-read my previous message. Try: string path = Application.StartupPath + Path.DirectorySeparatorChar + "Help.pdf"; or: string path = Path.Combine(Application.StartupPath, "Help.pdf"); Same thing. That way, the right di

Re: [Mono-winforms-list] New maintainers for Winforms?

2010-12-11 Thread stifu
I'd be honored! :) Anything I should know? Like steps to follow, good practices and stuff. - Mail Original - De: "Miguel de Icaza" À: "Stifu" Cc: "miguel novell" , mono-winforms-list@lists.ximian.com Envoyé: Samedi 11 Décembre 2010 01:33:46 GM

Re: [Mono-winforms-list] WinForms development status?

2010-12-11 Thread stifu
Hey, Thanks a lot Miguel, much appreciated. :) I like it when things are moving. - Mail Original - De: "Miguel de Icaza" À: "Stifu" Cc: "miguel novell" , mono-winforms-list@lists.ximian.com Envoyé: Samedi 11 Décembre 2010 01:56:29 GMT +01:00 Amst

Re: [Mono-winforms-list] how to open file

2010-12-10 Thread Stifu
Hi, Is there even a C drive on Mac in the first place? And can't you use a relative path, rather than an absolute one? Also, use Path.DirectorySeparatorChar, rather than hard-coding Windows separators (ie: avoid "foo\\bar" or @"foo\bar"). Do it like this: string myPath = "myFolder" + Path.Direct

[Mono-winforms-list] WinForms development status?

2010-12-09 Thread Stifu
Hi guys, I don't know if it's global to Mono or specific to WinForms, but I've noticed WinForms development has been quite slow lately. New bugs keep being reported (now at 450 open bugs), and few are resolved (for the record: 7 bug fixed since September, that's like 2 per month). I understand th

Re: [Mono-winforms-list] Generating Error of GDI+

2010-11-25 Thread Stifu
Known bug: https://bugzilla.novell.com/show_bug.cgi?id=398911 Anubhava Dimri wrote: > > Hello Experts, > > I am using code to write metafile in that time the error was generating in > Mono.But .net run it's successfully. > > Graphics FormGraphics = this.CreateGraphics()) > IntPtr hdc = FormGr

Re: [Mono-winforms-list] RichTextBox Issues

2010-11-23 Thread Stifu
I don't think so, but wouldn't mind being proven wrong. WinForms is not a high priority for the Mono team, so your best bet would be doing it yourself (or finding someone to do it), in my opinion. WinForms is implemented in C# in Mono, so the code is actually quite accessible. BrokenKingpin wrot

Re: [Mono-winforms-list] RichTextBox Issues

2010-11-23 Thread Stifu
Hi, RichTextBox not capable of highlight feature: https://bugzilla.novell.com/show_bug.cgi?id=511280 All opened RichTextBox bugs: https://bugzilla.novell.com/buglist.cgi?short_desc=richtextbox&classification=Mono&query_format=advanced&bug_status=NEW&bug_status=ASSIGNED&bug_status=NEEDINFO&bug_st

Re: [Mono-winforms-list] download mono winform from svs

2010-11-11 Thread Stifu
Hi, If you want the latest version, you should check out the Git repository, not the SVN one. Not sure what the problem is, though. slowhand wrote: > > New kid on the block, > > I tried to check out the mono winform from svs. > > How do I get past this barrier? > > Command: Checkout from >

Re: [Mono-winforms-list] GUI Problem

2010-11-11 Thread Stifu
This is on Mac, right? Did you try what it's like on Linux or Windows? Many Mac WinForms patches are being reviewed and will hopefully make it in the next Mono release... Anubhava Dimri wrote: > > When i perform any action then Hidden Controls are showing and Software > GUI is disturbing. > >

Re: [Mono-winforms-list] GUI Problem

2010-11-10 Thread Stifu
I wish I could help, but I'm confused. Showing "virtually"? Refresh what?... Could you give more details, maybe the app sources? Anubhava Dimri wrote: > > Hello Everybody, > > I am running my application in Mac in which have generate GUI Problem. > When i am Clicking on there where my hidden

Re: [Mono-winforms-list] Error while trying to show Windows.Forms.Form

2010-11-06 Thread Stifu
Make sure you've installed the libgdiplus library. redhead wrote: > > Hi, > I am new to Mono (and relatively to linux too), I would like to port my > .Net app to Mono. > > I added (hopefully) all *-sharp references, build is fine, but when I call > Show() method on my class extended from Syste

Re: [Mono-winforms-list] HOW TO RUN APPLICATION

2010-11-03 Thread Stifu
See: http://www.mono-project.com/Running_your_first_Mono_application Anubhava Dimri wrote: > > Hello Experts, > > I have a MONO application. Which i want to convert as Self Executable. > > How can it possible. > > I do't want to use terminal window. > > > Thanks > Anubhava Dimri > --

Re: [Mono-winforms-list] Error with Printpreview and Print

2010-11-02 Thread Stifu
With which version of Mono, and which OS? Does it work with .NET? If it happens with Mono 2.8, and works fine with .NET, please file a bug report. Anubhava Dimri wrote: > > Hello experts, > > When i am trying to view print preview it displays properly but secondly > if i want to view it displ

Re: [Mono-winforms-list] object reference not set to an instance of an object

2010-11-01 Thread Stifu
Although you managed to work around your problem, if you think there is a bug in Mono, feel free to file a bug report. luisrl wrote: > > I changed ActiveForm.Controls for this.Controls and now it works fine in > Ubuntu. > > foreach (Control ctl in this.Controls) > { >if (ctl.GetType() == t

Re: [Mono-winforms-list] Getting Error while Crate Bitmap

2010-11-01 Thread Stifu
Exception details? Anubhava Dimri wrote: > > Hello Experts, > > I have generate the problem in this line. > > printImage = New Bitmap(pageWidth, pageHeight) > > Please give me the solution for that. > > > Thanks > Anubhava Dimri > -- View this message in context: http://mono.1490590.n4

Re: [Mono-winforms-list] Getting error at the time of build

2010-10-29 Thread Stifu
Note that Mono doesn't support the latest versions of VB.NET, but up to VB8 (last time I checked). So if your code uses VB9-or-10-specific stuff, it's unlikely to work. That said, you could still build on Windows and run with Mono. Anubhava Dimri wrote: > > Hello Experts, > > I have generate a

Re: [Mono-winforms-list] Result is too Large

2010-10-28 Thread Stifu
There must be something wrong with the command line you typed. It should be: mono yourapp.exe When you're in the right folder. If you leave out the ".exe" part of your application name, for example, you get the error message you mentioned. Anubhava Dimri wrote: > > Hello Experts, > > I am tr

Re: [Mono-winforms-list] Convert .Net Application To MAC OS

2010-10-28 Thread Stifu
Yes, what you want is macpack. http://www.mono-project.com/Guide:Running_Mono_Applications http://www.go-mono.org/docs/index.aspx?link=man%3Amacpack%281%29 http://www.theevilboss.com/2009/06/using-mono-for-net-development-on-mac.html Anubhava Dimri wrote: > > Hello Sir, > > Thanks For Reply.

Re: [Mono-winforms-list] Convert .Net Application To MAC OS

2010-10-26 Thread Stifu
Best case scenario: you have nothing to convert, it works right away (without even needing to recompile). But if your program uses Windows-specific stuff (hard-coded Windows directory separators, upper/lower case mismatches in paths, native Windows DLL calls...) , you'll have to make some changes.

Re: [Mono-winforms-list] Problem with ContextMenuStrip submenu direction

2010-09-23 Thread Stifu
Hi, Please file a bug report with a reduced test case. DarkOrion wrote: > > Hello! > I have problem with ContextMenuStrip submenu (WinForms). > I will show it on screenshots > When DefaultDropDownDirection = ToolStripDropDownDirection.Right all ok. > http://s45.radikal.ru/i109/1009/53/4519e426

Re: [Mono-winforms-list] Suffering from mono-noob-cleosis.

2010-09-17 Thread Stifu
Yes. Basically, MonoMac is a C# wrapper around native OSX libraries. An extra layer that lets you use them from the .NET side, in managed land. Also, note that MonoMac is quite recent, and isn't mature yet. Before, there were many different OSX wrappers for Mono (Monobjc, Cocoa#, etc), but no "of

Re: [Mono-winforms-list] Suffering from mono-noob-cleosis.

2010-09-17 Thread Stifu
Hi, 1) Sure. However, note that WinForms is currently buggy on OSX, but the rest should work fine. Until there is a worthy WinForms driver for OSX, I suggest you use GTK# or Cocoa (through MonoMac, for example) instead, for example. Only consider WinForms on OSX if your app is simple enough. On a

Re: [Mono-winforms-list] Alignment issue on different OS

2010-08-21 Thread Stifu
Hi, It may be this issue: http://www.mono-project.com/FAQ:_Winforms#My_forms_are_sized_improperly Basically, look for AutoScale property definitions in your designer code, and remove them. murali wrote: > > Hi all, > >I have developed a vb.net window application to run on mono. The >

Re: [Mono-winforms-list] Clearing Textbox Controls

2010-08-13 Thread Stifu
Hi, It is this bug: https://bugzilla.novell.com/show_bug.cgi?id=621475 I submitted a patch for it, but it hasn't been applied yet. scruffyruffian wrote: > > Hi, > > I apologise if this has come up before, I used the search but found > nothing particularly relevant. I have an application writt

Re: [Mono-winforms-list] Error reading the number of frame in a HTML page using WebBrowser class

2010-08-06 Thread Stifu
Please file a bug report. http://mono-project.com/Bugs#How_to_make_a_good_bug_report maurizio.regoli wrote: > > Hi, > I'm try to get the number of frame in a HTML page using WebBrowser class > running on Mono. For example, if I try to navigate in > http://localhost/index.html where > > index.

Re: [Mono-winforms-list] ScrollBars.None prevents to show the last row of DataGridView

2010-07-23 Thread Stifu
The report seems all good to me. :) Thanks for your time. luisrl wrote: > > > Stifu wrote: >> >> Please file a bug report with a complete test case. >> >> http://mono-project.com/Bugs >> >> >> luisrl wrote: >>> >>> O

Re: [Mono-winforms-list] ScrollBars.None prevents to show the last row of DataGridView

2010-07-23 Thread Stifu
Please file a bug report with a complete test case. http://mono-project.com/Bugs luisrl wrote: > > Objetive: > > Show the last row of the DataGridView automatically after adding a new > row. > > Problem: > > When DataGridView.ScrollBars = Scrollbars.None, then the DataGridView does > not sh

Re: [Mono-winforms-list] WinForms for OsX excessive delays in responding

2010-07-14 Thread Stifu
Honestly, at the moment, I don't think WinForms on Mac can be used professionally... unless your project has hacks here and there to work around issues. WinForms on Mac is just too buggy (my app won't run because disabled controls still fire events...). But you could also use the X11 version [1],

Re: [Mono-winforms-list] I NEED HELP PLEASE>.

2010-07-10 Thread Stifu
The reason I didn't specify how to do this is that I don't know myself. :) I think it should happen by default if your installation is right, otherwise, it's probably a command line flag or something. Google around. Thenightmare wrote: > > > > how would i go about doing this? > Date: Sat, 10

Re: [Mono-winforms-list] I NEED HELP PLEASE>.

2010-07-10 Thread Stifu
The missing method (SetCompatibleTextRenderingDefault) has been introduced in .NET 2.0, while you're trying to run the application with the .NET 1.1 runtime. You should try to run the application with the .NET 2.0 runtime or above. Thenightmare wrote: > > When i go to install my BIOBB3.exe clie

Re: [Mono-winforms-list] User defined graphics in a combo box

2010-05-05 Thread Stifu
Hi, What I think I would do is create my own CustomComboBox that inherits from ComboBox, and override the OnPaint method to use the Graphics DrawString and Transform methods (to add and rotate a bit of text). This should let you do what you want in a flexible way. Images could also be added this

Re: [Mono-winforms-list] I think run WinForms of Donet project, what package I need to install??

2010-05-04 Thread Stifu
Hey, Don't specifically look for me, just post in the mailing list / forum so that anyone can answer you. :) Bye. anan221 wrote: > > THINK YOU VERY MUCH,I FIRSTLY SEE ABOUT THEM,IF I HAVE PROBLEMS,CAN I LOOK > FOR YOU??THINKS,BYE > > > 在2010-05-04 21:41:14,"Sti

Re: [Mono-winforms-list] I think run WinForms of Donet project, what package I need to install??

2010-05-04 Thread Stifu
7;t show on the UI of > applications.SO I suspect to make correctly??please tell me how to do I > must,THINKS > > > 在2010-05-04 21:41:14,"Stifu [via Mono]" > 写道: > What are the problems? Do you have exception messages? > You can run applications doing "mono appname.

Re: [Mono-winforms-list] I think run WinForms of Donet project, what package I need to install??

2010-05-04 Thread Stifu
What are the problems? Do you have exception messages? You can run applications doing "mono appname.exe --debug" to have more information. It's possible they're simply bugs and that you have nothing else to install. If you want help, post the exception messages or tell us which application you'r

Re: [Mono-winforms-list] I think run WinForms of Donet project, what package I need to install??

2010-05-04 Thread Stifu
Are you on Linux? If so, which distribution? Ubuntu? Something else? anan221 wrote: > > thinks for your answers,but my English is very poor,I don't know your > means.Can you say more?? > > > 在2010-05-04 21:17:53,"Stifu [via Mono]" > 写道: > "up

Re: [Mono-winforms-list] I think run WinForms of Donet project, what package I need to install??

2010-05-04 Thread Stifu
"up up" after 5 minutes? Lay off the caffeine, man. :) You didn't say which distribution you were on, but "winforms" should appear in the package name. So you could filter package names based on that. anan221 wrote: > > up up > -- View this message in context: http://mono.1490590.n4.nabble.

Re: [Mono-winforms-list] Application.EnableVisualStyles() issues (Windows)

2010-04-28 Thread Stifu
I ended up filling the meta bug report for VisualStyle issues, as well as several little bug reports linked to it. https://bugzilla.novell.com/show_bug.cgi?id=600404 Being stuck at home sick certainly helped getting things moving. :) Stifu wrote: > > If no one has any objection, I&#

Re: [Mono-winforms-list] Can't get form controls to show

2010-04-17 Thread Stifu
This sounds like a bug. What you're doing is supposed to work, according to this: http://mono-project.com/FAQ:_Winforms#My_multithreaded_application_crashes_or_locks_up Feel free to file a bug report with a test case. Steve Ricketts wrote: > > I want to make certain controls visible on a form

Re: [Mono-winforms-list] Is this forum working correctly?

2010-04-16 Thread Stifu
Nabble is buggy. As you may know, this is just a web interface around a mailing list. Lately, I've had issues with the WinForms forum myself (my messages would never appear to be accepted). Steve Ricketts wrote: > > I'm getting responses to some of my questions through my e-mail account, > but

  1   2   >