Ejemplo n.º 1
0
        private void simpleButtonAjouter_Click(object sender, EventArgs e)
        {
            شكاية plai = new شكاية();

            plai.Show();
            this.Close();
        }
Ejemplo n.º 2
0
 private void simpleButtonModification_Click(object sender, EventArgs e)
 {
     if (dataGridView1.CurrentRow != null)
     {
         String idplaint = dataGridView1.SelectedRows[0].Cells[0].Value.ToString();
         شكاية  plai     = new شكاية(idplaint);
         plai.Show();
         this.Close();
         history.AddHistory(" جدول الشكايات ", "التعديل", dataGridView1.SelectedRows[0].Cells[0].Value.ToString());
     }
 }
Ejemplo n.º 3
0
 private void barButtonItem3_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     try
     {
         شكاية c = new شكاية();
         c.ShowDialog();
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message);
     }
 }
Ejemplo n.º 4
0
        private void simpleButtonModification_Click(object sender, EventArgs e)
        {
            if (dataGridView1.CurrentRow != null)
            {
                String idplaint = dataGridView1.SelectedRows[0].Cells[0].Value.ToString();

                شكاية plai = new شكاية(idplaint);
                plai.btnModif.Visible = true;
                plai.Show();
                //this.Hide();
                history.AddHistory(" جدول الشكايات ", "التعديل", dataGridView1.SelectedRows[0].Cells[0].Value.ToString());
            }
            else
            {
                MessageBox.Show("لا يمكنك التعديل . يجب اختيار الشكاية المراد التعديل عليها", "تنبيه", MessageBoxButtons.OK, MessageBoxIcon.Error);
            }
        }
Ejemplo n.º 5
0
 public المشتكون_بهم(شكاية chikaya)
 {
     op = new PlaintesOperations();
     InitializeComponent();
     this.chikaya = chikaya;
 }