¡@

Home 

c# Programming Glossary: frm

How do I prevent the app from terminating when I close the startup form?

http://stackoverflow.com/questions/10769193/how-do-i-prevent-the-app-from-terminating-when-i-close-the-startup-form

Form2 when that button clicked. First I tried Form2 frm new Form2 frm.Show this.Close but as Form1 was closed Form2.. that button clicked. First I tried Form2 frm new Form2 frm.Show this.Close but as Form1 was closed Form2 also got closed... Form1 was closed Form2 also got closed. Next I tried Form2 frm new Form2 frm.Show this.Hide but there is a disadvantage that..

How to make Form1 label.text change when checkbox on form2 is checked?

http://stackoverflow.com/questions/15605161/how-to-make-form1-label-text-change-when-checkbox-on-form2-is-checked

to the CheckedChanged event of the checkbox Form2 frm new Form2 frm.chkBox1.CheckedChanged new EventHandler this.ReceiveCheckedChanged.. CheckedChanged event of the checkbox Form2 frm new Form2 frm.chkBox1.CheckedChanged new EventHandler this.ReceiveCheckedChanged.. new EventHandler this.ReceiveCheckedChanged frm2.ShowDialog and then define in Form1 this the handler for the..

Communicate between two windows forms in C#

http://stackoverflow.com/questions/1665533/communicate-between-two-windows-forms-in-c-sharp

void button1_Click object sender EventArgs e Form2 frm new Form2 this frm.Show public string LabelText get return.. object sender EventArgs e Form2 frm new Form2 this frm.Show public string LabelText get return Lbl.Text set Lbl.Text..

Winform Forms Closing and opening a new form

http://stackoverflow.com/questions/1677528/winform-forms-closing-and-opening-a-new-form

Forms Closing and opening a new form 1. frmHome frm new frmHome frm.Show this.Close I'm opening HomeForm.. Forms Closing and opening a new form 1. frmHome frm new frmHome frm.Show this.Close I'm opening HomeForm from LoginForm.. Forms Closing and opening a new form 1. frmHome frm new frmHome frm.Show this.Close I'm opening HomeForm from LoginForm..

How to change button text for Yes & No buttons on MessageBox.Show Dialog?

http://stackoverflow.com/questions/4264664/how-to-change-button-text-for-yes-no-buttons-on-messagebox-show-dialog

call from any where in your current project. Calling Form1 frm new Form1 message to show buttontext1 buttontext2 frm.ShowDialog..

Passing data between forms

http://stackoverflow.com/questions/4587952/passing-data-between-forms

public and then put this code in the button of Form2 Form1 frm new Form1 frm.ListBox.items.Add textBox.Text But amazingly this.. put this code in the button of Form2 Form1 frm new Form1 frm.ListBox.items.Add textBox.Text But amazingly this does not add.. ideas c# winforms share improve this question Form1 frm new Form1 frm is now a new instance of class Form1. frm does..

There is a Default instance of form in VB.Net but not in C#, WHY?

http://stackoverflow.com/questions/4698538/there-is-a-default-instance-of-form-in-vb-net-but-not-in-c-why

a form in C# we do something like this Only method Form1 frm new Form1 frm.Show But in VB.Net we have both ways to do it.. we do something like this Only method Form1 frm new Form1 frm.Show But in VB.Net we have both ways to do it 'First common.. wouldn't format it properly Form1.Show 'Second method Dim frm as New Form1 frm.Show 1 My question comes from this first method...

Custom Class for dealing with embedding in Forms

http://stackoverflow.com/questions/543087/custom-class-for-dealing-with-embedding-in-forms

public static void ShowXFormInControl Form frm ref XtraTabPage ctl FormBorderStyle style frm.TopLevel false.. Form frm ref XtraTabPage ctl FormBorderStyle style frm.TopLevel false frm.ControlBox false frm.Parent ctl frm.FormBorderStyle.. XtraTabPage ctl FormBorderStyle style frm.TopLevel false frm.ControlBox false frm.Parent ctl frm.FormBorderStyle style frm.Left..