예제 #1
0
 public static frmfeedback get_instance()
 {
     if (feedback_form == null)
     {
         feedback_form = new frmfeedback();
         return(feedback_form);
     }
     else
     {
         return(feedback_form);
     }
 }
예제 #2
0
        private void button1_Click(object sender, EventArgs e)
        {
            frmfeedback frm = frmfeedback.get_instance();

            this.Hide();
            frm.Show();
            txtcaddress.Hide();
            txtccell.Hide();
            txtcdevice.Hide();
            txtcmail.Hide();
            txtcname.Hide();
            txtcproblem.Hide();
            cmdfeedback.Hide();
            cmdrepair.Hide();
        }
예제 #3
0
        private void cmdfeedback_Click(object sender, EventArgs e)
        {
            frmfeedback frm = new frmfeedback();

            frm.Show();
        }