Пример #1
0
 private void btnRegi_Click(object sender, EventArgs e)
 {
     try
     {
         UserTypeSelect uts = new UserTypeSelect();
         uts.Visible  = true;
         this.Visible = false;
     }
     catch (Exception exc)
     {
         MessageBox.Show("An Error Occored!\n" + exc.Message);
     }
 }
Пример #2
0
 private void btnBack_Click(object sender, EventArgs e)
 {
     try
     {
         UserTypeSelect sf = new UserTypeSelect();
         sf.Visible   = true;
         this.Visible = false;
     }
     catch (Exception exc)
     {
         MessageBox.Show("Error!!\n" + exc.Message);
     }
 }
Пример #3
0
        private void btnBack_Click(object sender, EventArgs e)
        {
            try
            {
                UserTypeSelect uts = new UserTypeSelect();
                uts.Visible  = true;
                this.Visible = false;
            }

            catch (Exception exc)
            {
                MessageBox.Show("An error has occored during saving data\n" + exc.Message);
            }
        }