Hi all,
I am working on windows application with c# coding here i have two forms form1 and form2
i have a button each in either of forms
button1 on form1 and
button2 on form2
when i click on button1 form1 gets disabled by (this.Enabled = false;)
but when i click on button2 on form2 i must get form1 enabled
how do i enable form1 form form2 button2 is my question
Thanks in advance form looking to my quire :)
Loading
VulpesPosted Aug 22, 2012, 4:48 AM
raj kiranPosted Aug 22, 2012, 1:31 AM
static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new Form2());
}
getting a error Error
'Application' is an ambiguous reference between 'System.Windows.Forms.Application' and 'Excel.Application' C:\Users\RAJ\Shortcut desktop\pressure vessel\22 Aug\URSPackage7\URSPackage\frmPressureVessel.cs 18 13 URSPackage
where i have a excel link to it
Sukesh MarlaPosted Aug 21, 2012, 11:31 PM