public TransferUnit()
 {
     InitializeComponent();
     c1.startConnection();
     FunctionsClass.loadAreaTyeps();
     foreach (ComboBoxItem item in FunctionsClass.areasData)
     {
         unitType.Items.Add(item);
     }
 }
 private void ClientReportForm_Load(object sender, EventArgs e)
 {
     EmpNameLab.Text   = SessionInfo.empName;
     todayDateLab.Text = DateTime.Now.ToString("dd/MM/yyy");
     LoadGeneralData();
     if (unitTypeComb_LateTab.Items.Count == 0)
     {
         FunctionsClass.loadAreaTyeps();
         foreach (ComboBoxItem item in FunctionsClass.areasData)
         {
             unitTypeComb_LateTab.Items.Add(item);
         }
     }
 }