Пример #1
0
 //Load form M0006_Detail
 private void Form_M0006_Detail_P_Load(object sender, EventArgs e)
 {
     //
     M0006_DAO         = new M0006_DAO();
     M0006_MayTien_DAO = new M0006_MayTien_DAO();
     M0006_MayPhay_DAO = new M0006_MayPhay_DAO();
     //
     grctr_Tien.Visible  = false;
     grctr_Phay.Visible  = true;
     lbl_ChiTiet.Visible = true;
     //
     sLookUpEdit_Code1();
     //
     Initialization_Control();
     //
     Setting_Init_Control();
     //
     Update_Control();
     //
     SetValue_Combobox(cbx_Tailstock);
     SetValue_Combobox(cbx_AxisC);
     SetValue_Combobox(cbx_WaterLine);
     SetValue_Combobox(cbx_AxisXYZ);
     SetValue_Combobox(cbx_AxisA);
     SetValue_Combobox(cbx_AxisB);
     SetValue_Combobox(cbx_AxisC_P);
 }
Пример #2
0
 //Load form M0006
 private void Form_M0006_Load(object sender, System.EventArgs e)
 {
     _tempTable  = new DataTable();
     _tempTable1 = new DataTable();
     _tempTable2 = new DataTable();
     //
     M0006_DAO         = new M0006_DAO();
     M0006_MayTien_DAO = new M0006_MayTien_DAO();
     M0006_MayPhay_DAO = new M0006_MayPhay_DAO();
     xtraTabControl1.SelectedTabPage = xtraTabPage1;
     //
     bsiUser.Caption = _systemDAL.userName.ToUpper().ToUpper();
     //Load Init
     GetInfo_Gridview();
 }