Exemple #1
0
        private void frmDesk_Load(object sender, EventArgs e)
        {
            SetUIChanges();

            commonCodeBLL = new CommonCodeBLL();
            deskBLL       = new DeskBLL();
            sDeskLocation = "DeskLocation";
            LoadTabFromTable();
        }
Exemple #2
0
 private void frmMoveTable_Load(object sender, EventArgs e)
 {
     SetUIChanges();
     ToUpper();
     //
     commonCodeBLL = new CommonCodeBLL();
     deskBLL       = new DeskBLL();
     sDeskLocation = "DeskLocation";
     tabToTable.TabPages.Clear();
     LoadTabFromTable();
 }
Exemple #3
0
 private void frmCommonCode_Load(object sender, EventArgs e)
 {
     objBLL = new CommonCodeBLL();
     GetCommonTypeId();
     objSea = new CommonCode();
     objSea.CommonTypeId = string.IsNullOrEmpty(cbCommonTypeId.SelectedValue.ToString()) ? "" : cbCommonTypeId.SelectedValue.ToString();
     objSea.CommonId     = tbCommonId.Text;
     objSea.StrValue1    = tbStrValue1.Text;
     objSea.StrValue2    = tbStrValue2.Text;
     objSea.NumValue1    = tbNumValue1.Text;
     objSea.NumValue2    = tbNumValue2.Text;
 }
Exemple #4
0
 private void LoadParent()
 {
     if (cbCommonTypeId.SelectedIndex != 0)
     {
         CommonTypeId  = cbCommonTypeId.SelectedValue.ToString();
         commonCodeBLL = new CommonCodeBLL();
         Dictionary <string, string> test = new Dictionary <string, string>();
         test.Add("", VVPosM1.Common.clsLanguages.GetResource("Gender_null"));
         dequyParent(ref test, CommonTypeId, CommonId2, gach);
         cbParent.DataSource    = new BindingSource(test, null);
         cbParent.DisplayMember = "Value";
         cbParent.ValueMember   = "Key";
         CommonTypeId           = "";
         CommonId2 = null;
     }
     else
     {
         Dictionary <string, string> test = new Dictionary <string, string>();
         test.Add("", VVPosM1.Common.clsLanguages.GetResource("Gender_null"));
         cbParent.DataSource    = new BindingSource(test, null);
         cbParent.DisplayMember = "Value";
         cbParent.ValueMember   = "Key";
     }
 }