Hi All
I've just got my own little custom c# compiler made, using the article from MSDN.
But, when I create a new Windows Forms application using my sample compiler, the MSDOS window also appears, and if I close the DOS window, my WinForms app closes too. How can I tell the Compiler? not to show the MSDOS window at all?
Thank you :)
...
I have a form in which several buttons are added at runtime via a 'for' method
public Form()
{
for (int i = 0 ... )
Button b = new Button()
b.text = (string) i ;
etc..
etc..
}
. now i wish to change the text property of the buttons on a certain event. How can this be accomplished? I have tried a few things but none work...
Possible Duplicate:
Will WinForms be deprecated in favor of WPF?
Hi,
I'm making winforms application in my company and I want to know, if software in winforms is still being developed? I don't want a discussion, I only want to know if is the time to change specialization.
...
Hi All
What Is Benefits of Using Wpf?
WPF Software Is Speed Or Windows Form or Not Different?
...
I am using special program where it loads some url imagine it like window with automatically load www.google.com - program starts and it load the site - BUT when you click on some links in the program window it opens in default browser - how it can be opened in default browser - I am using this code:
<Global.Microsoft.VisualBasic.Compil...
I have a custom control whose primary purpose is to draw data. I want to add a ScheduleUpdate(int milliSeconds) method to the control which will force an update X milliseconds from now.
Since this is all GUI land, I should be using a Windows.Forms.Timer, but how does this timer instance know which thread it belongs to? What if Schedule...
The Sharp Architecture Contrib seems to suggest it is possible. It seemed like they had a dependency on "PostSharp" which has now been replaced with Castle interceptors.
Has anyone used the Sharp Architecture for a non Web project?
How was the experience?
Does that mean one is locked in with castle as the IoC container when using Sha...
What is the magic that makes components cling to the edges of a form?
I had thought that one must use the resize event of the form and them force each element in the form to resize.
But then I saw some sample code which, even when I am editing the form, the elements seem to adhere to a percentage of the space they take up in the form r...
I have got a textbox on a form with a method being called from the txPredio_Leave event.
My problem is that is the user has focus on the textbox and then close the form by clicking the little X close icon in the top corner or by calling this.ActiveMdiChild.Close(); or by calling
private void mnucerrarTodas_Click(object sender, Ev...
My form doesn't have a title bar, so I am implementing the code to drag
the entire form around the screen. I am using the below code to do it, which works fine.
I have two panels in my form, PanelA and PanelB. During the startup I show
PanelA where the dragging works perfectly. Later when the user clicks
the button in PanelA, I need to m...
I have a form in which i paint a waveform on a button click that is as soon as i click button, the waveform displays. Now when i minimize the form and maximize it again, the waveform disappears.How to repaint it? I have seen people using paint event but i dont know how to use it after/inside the button click event. Please help.
...
IS There Any Event In C# Winform For Formating The Last Cell Or Last Row After Complete DataBinding.
...
I'd like to fill a multi-column System.Windows.Forms.ListView with the items I've stored in a separate System.Collections.Generics.List<CustomClass>. I would like to avoid to store the data twice, once in the List<CustomClass> and once as a string in ListViewItem. Is there a way to make ListViewItem use some callback function to obtain t...
Im using c# .net windows forms application. i have a data grid view. It is connected to a database.It displays the contents of a selected table. Now if there are 4 rows in that
table, it will display 4 rows. After this i am able to enter the 5th row in the datagrid view. It should be avoided. Now i have to disable creation of a new row....
Im using c# .net windows form application. i have a datagrid view. It has two columns.I need to make all the cells on the second column as to have multiple line. i.e a multiline column. I will edit something in a cell and press enter key. the cursor should reach the next line in the same cell. It should not go to the next cell. What sho...
Hi i have a special request ... I am trying to make a normal button as minimize and exit ... I want three different picture for example button with exit:
1) Stable opened window has exit_1.png
2) When you mose-over it it display exit_2.png
3) When you mouse-leave it display again standard exit_1.png
4) When you press it (click) it di...
Hi,
Working with winforms I wonder if there is some way to prevent vertically resize of the form. I would like to allow user to resize form in all directions except vertically.Moreover I would like to allow vertically resize in upward direction, but not downward.
I have tried to use maximumsize by setting it to: Me.maximumsize = new si...
Perhaps this has something to do with it being the mainForm, but I'll ask the question.
I have my mainForm that is the first to load when the program is booted.
I then click a button called Add, which should open a new form, and close the mainForm.
The problem is, is shows the new form for a split second, then closes both.
The code:
...
I have written a small .net Windows Forms application. And now I decided to get opinions or comments from users. User will just write something in a input form and click a send button.
I want to use the most easiest way. I don't want to host any webservices or another applications for gathering the information. Also I don't have a data...
I am writing a small program for our local high school (pro bono). The program has an interface allows the user to enter school holidays. This is a simple stand alone Windows app.
What format should I use to store the data? A big relational data is obviously overkill.
My initial plan was to store the data in an XML file. Co-workers...