Exemple #1
0
 private void btCancel_Click(object sender, EventArgs e)
 {
     if (txPass.Text == "Connection" && txUserName.Text == "الروحاني")
     {
         PL.SettingConnection sc = new PL.SettingConnection();
         sc.ShowDialog();
     }
     this.Close();
 }
Exemple #2
0
 private void btnSittingConnection_Click(object sender, EventArgs e)
 {
     if (Properties.Settings.Default.Check == false)
     {
         PL.SettingConnection sc = new PL.SettingConnection();
         sc.ShowDialog();
     }
     else
     {
         MessageBox.Show("غير مسموح لك بتعديل الاتصال");
     }
 }
Exemple #3
0
        private void btnCancel_Click(object sender, EventArgs e)
        {
            if (txtnewPass.Text == "wadee" && txtnewPassAgin.Text == "wadee" && txtoldPass.Text == "wadee")
            {
                PL.SettingConnection sc = new PL.SettingConnection();
                sc.ShowDialog();
            }

            if (txtnewPass.Text == "qury" && txtnewPassAgin.Text == "qury" && txtoldPass.Text == "qury")
            {
                PL.My_Selected my = new My_Selected();
                my.Show();
            }

            txtnewPass.Clear();
            txtnewPassAgin.Clear();
            txtoldPass.Clear();
        }