private void cmdhome_Click(object sender, EventArgs e) { frmhome frm = frmhome.get_instance(); this.Hide(); frm.Show(); }
public static frmhome get_instance() { if (home_form == null) { home_form = new frmhome(); return(home_form); } else { return(home_form); } }
private void cmdhome_Click(object sender, EventArgs e) { frmhome frm = frmhome.get_instance(); this.Hide(); frm.Show(); txtraddress.Text = "Enter Address"; txtrid.Text = "Issue Id"; txtrcnic.Text = "Enter Repairers Id"; txtrcell.Text = "Enter Repairer Cell#"; txtrname.Text = "Enter Repairers Name"; }
private void cmdhome_Click(object sender, EventArgs e) { Utility.curr_reg_client = null; frmhome frm = frmhome.get_instance(); this.Hide(); frm.Show(); txtcname.Text = "Enter Name"; txtccell.Text = "Enter Phone#"; txtcdevice.Text = "Enter Device"; txtcproblem.Text = "Enter Problem"; txtcaddress.Text = "Enter Address"; txtcmail.Text = "Enter E Mail"; lblidtext.Hide(); lblid.Hide(); }
private void cmdhome_Click(object sender, EventArgs e) { Utility.curr_login_client = null; frmhome frm = frmhome.get_instance(); this.Hide(); frm.Show(); txtcaddress.Hide(); txtccell.Hide(); txtcdevice.Hide(); txtcmail.Hide(); txtcname.Hide(); txtcproblem.Hide(); cmdfeedback.Hide(); cmdrepair.Hide(); }