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); } }
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); } }
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); } }