Example #1
0
        private void cmdhome_Click(object sender, EventArgs e)
        {
            frmhome frm = frmhome.get_instance();

            this.Hide();
            frm.Show();
        }
Example #2
0
 public static frmhome get_instance()
 {
     if (home_form == null)
     {
         home_form = new frmhome();
         return(home_form);
     }
     else
     {
         return(home_form);
     }
 }
Example #3
0
        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";
        }
Example #4
0
        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();
        }
Example #5
0
        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();
        }