I have 2 winforms Form 1 and Form 2. I have button1 in form1, when I click button1 from form1 i, I display form 2.
Form2 ins = new Form2(); ins.MdiParent = this.MdiParent; this.Hide(); ins.ShowDialog();
I hide form1 to display form2 when button1 is pressed. This creates a click effect, and I need to remove that click. How to open / redirect to another form (I should show only one form at a time, and I should not show any main menu, for example (if I use the MDIParent form). Only one active form.
Thanks Karthick
Karthick
source share