Ejemplo n.º 1
0
        private void pictureBox1_Click(object sender, EventArgs e)
        {
            this.Hide();
            Start_Up frm = new Start_Up(true);

            frm.Show();
        }
Ejemplo n.º 2
0
        private void pictureBox2_Click(object sender, EventArgs e)
        {
            this.Hide();
            Start_Up sup = new Start_Up();

            sup.Show();
        }
Ejemplo n.º 3
0
        private void button2_Click(object sender, EventArgs e)
        {
            this.Hide();
            Start_Up frm = new Start_Up(true);

            frm.Show();
        }
Ejemplo n.º 4
0
        private void button1_Click(object sender, EventArgs e)
        {
            try
            {
                SmtpClient client = new SmtpClient("smtp.gmail.com", 587);
                client.EnableSsl             = true;
                client.Timeout               = 10000;
                client.DeliveryMethod        = SmtpDeliveryMethod.Network;
                client.UseDefaultCredentials = false;
                client.Credentials           = new NetworkCredential("*****@*****.**", "T@whidsultan");
                MailMessage msg = new MailMessage();
                msg.To.Add("*****@*****.**");
                msg.From    = new MailAddress("*****@*****.**");
                msg.Subject = textBox1.Text;
                msg.Body    = textBox2.Text;
                client.Send(msg);
                MessageBox.Show("Your Comment Has Been Sent To The Admin Successfully.Thanks.");
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message);
            }
            this.Hide();
            Start_Up s1 = new Start_Up(true);

            s1.Show();
        }
Ejemplo n.º 5
0
        private void pictureBox3_Click(object sender, EventArgs e)
        {
            this.Hide();
            Start_Up sp = new Start_Up(true);

            sp.Show();
        }
Ejemplo n.º 6
0
 private void button3_Click(object sender, EventArgs e)
 {
     if (type == 1)
     {
         this.Hide();
         All_User au = new All_User(uu);
         au.Show();
     }
     if (type == 2)
     {
         this.Hide();
         Start_Up frm = new Start_Up(true);
         frm.Show();
     }
 }
Ejemplo n.º 7
0
 private void button5_Click(object sender, EventArgs e)
 {
     if (type == 0)
     {
         this.Hide();
         Start_Up sp = new Start_Up(true);
         sp.Show();
     }
     else if (type == 1)
     {
         this.Hide();
         All_User au = new All_User(uu);
         au.Show();
     }
 }