Esempio n. 1
0
 private void btnReview_Click(object sender, EventArgs e)
 {
     if (cbxevent.Text == "یادداشت")
     {
         viewNoteHistory vnh = new viewNoteHistory();
         add.ActiveForm.Hide();
         vnh.ShowDialog();
     }
     else if (cbxevent.Text == "برنامه روزانه" || cbxevent.Text == "قرار ملاقات")
     {
         viewVisitHistory vvh = new viewVisitHistory();
         add.ActiveForm.Hide();
         vvh.ShowDialog();
     }
     else
     {
         MessageBox.Show("لطفا نوع رویداد را مشخص کنید");
         cbxevent.Focus();
     }
 }
Esempio n. 2
0
 private void button4_Click(object sender, EventArgs e)
 {
     viewVisitHistory vh = new viewVisitHistory();
     visit.ActiveForm.Hide();
     vh.ShowDialog();
 }
Esempio n. 3
0
 private void button3_Click(object sender, EventArgs e)
 {
     viewVisitHistory vvh = new viewVisitHistory();
     vvh.ShowDialog();
 }