linking two forms in C# form application


i've created form application registration of students. when user clicks on text "student", student registration form should open.

how this?

****************

using system;

using system.collections.generic;

using system.componentmodel;

using system.data;

using system.drawing;

using system.linq;

using system.text;

using system.windows.forms;

 

namespace school_management_system

{

    public partial class form3 : form

    {

        public form3()

        {

            initializecomponent();

        }

 

        private void form3_load(object sender, eventargs e)

        {

 

        }

 

        private void studentstoolstripmenuitem1_click(object sender, eventargs e)

        {

 

        }

    }

}

which student registration form? form4? if yes, doing correctly.

  private void studentstoolstripmenuitem1_click(object sender, eventargs e)  {             form4 registrationform = new form4();            registrationform.show();  }  

 


please mark post answer if solved problem. happy programming!


Visual Studio Languages  ,  .NET Framework  >  Visual C#



Comments

Popular posts from this blog

Azure DocumentDB Owner resource does not exist

BizTalk Server 2013 Azure VM Log Shipping and HA for hosts

How to Share webservice object to all user