A has 2 buttons.
                  
                  
                  Form B has 1 button.
                  
                  
                  Form C has 2 buttons.
                  
                  
                  
                  
                  
                  When I click button 1 in form A it should
                  
                  
                  
                  
                  
                  1) open form c
                  
                  
                  2) click on button 1 on form C
                  
                  
                  
                  
                  
                  
                  
                  
                  The second button on form A links to form B
                  
                  
                  When I click button 1 on form B
                  
                  
                  It should
                  
                  
                  1) Open Form C
                  
                  
                  2) Click on button 2 on form C
                  
                  
                
Well.. if you want to close forms after clicking button then use form.show(); and if not use form.showdialog(); Like Form1 fm1 = new Form1() //Either Call this fm1.Show(); //or call this fm1.ShowDialog(); and onLoad event of the form you can call button1.performclick(); (replace your button of choice here).
Обсуждают сегодня