private void add_flowchart_button_Click(object sender, EventArgs e)
 {
     /// to check ------------------- eden !!!!!!!!
     ///
     if (this.dep.getdeparName() != null && this.dep.getdeparName() != "")
     {
         this.Hide();
         A_addingFlowchart_DepartmentHead head = new A_addingFlowchart_DepartmentHead(this.dep);
         head.passValue = dep;
         head.Show();
     }
     else
     {
         MessageBox.Show("You are not allowed to this option!");
         this.Close();
         A_DHadd.currentA_DHadd.Show();
         //x.Show();
         //this.Hide();
         //A_addTA_DH ta = new A_addTA_DH();
         //ta.ShowDialog();
     }
 }
 private void A_addingFlowchart_DepartmentHead_Load(object sender, EventArgs e)
 {
     currentA_addingFlowchart_DepartmentHead = this;
 }