I have a C# WinForms application with very simple controls: Message boxes, labels, pictureboxes and textboxes. I want to be able to run this app on a Mac so I downloaded mono and ran it using the terminal.
I have 2 questions:
1.) How do I make the default process for a windows based exe application to open using the framework so I dont have to open it from the terminal every time?
2.) The controls don't appear at the right position. Most of the labels, textboxes have moved their position and the position of a button on the screen is not where it is supposed to be clicked but a little below it. The form looks perfect on Windows.
Can anyone help me figure this out?
Thanks in advance
Related
I want to load the windows on-screen keyboard as part of my application (like importing some dlls or something), not with Process.Start(). Just like this article explained - https://blog.tombam.net/implementing-textbox-with-on-screen-touch-keyboard-part-1/ . Only this solution doesn't work for me (the keyboard doesn't pop-up when clicked on the textbox). Is there another way? Or does anybody know what to do with the project that's in the link to make it work?
Thank you for the help in advance :)
I want to display a text in the taskbar like the NetSpeedMonitor program .
I thought about how Windows did that with der Date and Time display, but I couldn't find any answer.
I want to do this with C# and .Net 4.x
if you watch this pic
you see every thing in windows application have an handle(HWND) and if you get it you can change this app parameters and add or remove any thing on if look at this link there is sample for it in console application you just need just doing same thing on taskbar.
I created a dll for all office apps to use them in c# like this and i done this by using handles of office and my app
I'm using blend 4 and vs 2010 to develop a port of an app from iPad to Windows Desktop.
I have a pathlistbox with PathListBoxScrollBehavior attached like in the carousel tutorial showed by Microsoft in the presentation of PathListBoxUtils.
My path is a open path (a line) and I don't want a infinite carousel but a path list box that go through the items but stops when comes in the last or first item. Am I being clear?
Something similar to what exist is on ios (similar to the cover flow effect too)
http://www.youtube.com/watch?v=YIWDlnvHRLw&feature=related
I know there are ways to do that but I can't find it.
There are a check box called WrapItems. When unchecked your Path List Box won't spin infinitely.
There are some bugs to solve yet but are specific to my project.
Hope this solution helps you too.
I'm working on a project in which I need a form to stay on the desktop at all times. This would mean that it should still be showing even if a user clicks Win+D to hide/show desktop.
If anyone uses Rainmeter, they will know how meters stay on the desktop despite clicking on the show desktop key.
I really don't mind how to do it, as long as it works. I've looked through hundreds of examples but half of them don't work..
Maybe someone could help me out.
Thanks in advance.
I fired up C# and created a Windows Forms application. I set the forms' TopMost property to True, and its MinimizeBox property to False.
When I run the app, the Window is always on top, even if I use Win+D or click Show Desktop.
I got the idea from here: What is the difference between Minimize All and Show Desktop?
If you want something to stay on the desktop, you should put it on the desktop. Look at using Windows Gadgets which can do what you want.
im kind of confused, i used codes that enable you to drag and drop desktop icons/files/folders on windows forms, but how to show it inside the windows forms and the icon is still executable?
Most of the time GridControl is used to display the files.Its easy to display information about files in that way.But the best way to shows files depends on what do you want to do with the files.If you elaborate your problem then we can suggest.