Account user = new Account();//Created an object of the class "Account" public SignUpControl() { InitializeComponent(); CivilIdNote_Lbl.Hide(); CivilId_Lbl.Hide(); DriverCivilID_txt.Hide(); CookWorkingHours_txt.Hide(); WorkingHours_Lbl.Hide(); }
private void Cook_CheckedChanged(object sender, EventArgs e) { if (Cook_Rb.Checked) { CookWorkingHours_txt.Show(); WorkingHours_Lbl.Show(); } else { CookWorkingHours_txt.Hide(); WorkingHours_Lbl.Hide(); } }