public storagebuffer(MainParent frm, string trsn, int flag) { InitializeComponent(); mFrm = frm; this.mTrsn = trsn; this.mFlag = flag; }
private void signIn_Login_Click(object sender, EventArgs e) { DataContext db = new DataContext(ConnectionString); Table <User> users = db.GetTable <User>(); try { User user = db.GetTable <User>().Where(t => t.Login == loginTextBox_Login.Text && t.Password == passwordTextBox_Login.Text).Single(); string status = user.Status; if (user.Status == "Один з батьків/Опікун") { MainParent main = new MainParent(user, status); this.Hide(); main.Show(); } else { Main main = new Main(status); this.Hide(); main.Show(); } } catch { MessageBox.Show("Користувача з такими даними не існує.", "Повідомлення"); loginTextBox_Login.Clear(); passwordTextBox_Login.Clear(); } }
public FrmWarehouseManage(MainParent ware, StoreLocManage msl) { InitializeComponent(); this.mWare = ware; this.mSloc = msl; dic.Add("仓库编号", "storehouseId"); dic.Add("库位编号", "locId"); }
/// <summary> /// 构造函数 /// </summary> /// <param name="woc">父窗体</param> /// <param name="key">序列号类型</param> public AddSNRange(MainParent _frm, string _woid, WorkOrderCreate woc, string key) { InitializeComponent(); mWoc = woc; mKey = key; mFrm = _frm; mwoid = _woid; }
public FrmMaterialsPrint(MainParent Msg, string VenderCode, string VenderName, string Partnumber, string Kpdesc, string PartGroup, string QTY, string PO) { InitializeComponent(); ShowMP = Msg; this.partnumber = Partnumber; this.kpdesc = Kpdesc; this.vendercode = VenderCode; this.vendername = VenderName; this.qty = QTY; this.partgroup = PartGroup; this.po = PO; }
private void back_AddActivity_Click(object sender, EventArgs e) { if (status == "Один з батьків/Опікун") { MainParent main = new MainParent(user, status); main.Show(); this.Hide(); } else { Main main = new Main(status); main.Show(); this.Hide(); } }
private void AdditionalActivity_FormClosing(object sender, FormClosingEventArgs e) { if (status == "Один з батьків/Опікун") { MainParent main = new MainParent(user, status); main.Show(); this.Hide(); } else { Main main = new Main(status); main.Show(); this.Hide(); } }
public fFacInfo(MainParent sInfo /*, fFacDeptInfo FacDeptInfo*/) { InitializeComponent(); //sFacDeptInfo = FacDeptInfo; sFinfo = sInfo; }
public FrmAteEmp(MainParent frm) { InitializeComponent(); mFrm = frm; }
public FrmScrap(MainParent sInfo) { InitializeComponent(); sMain = sInfo; }
public createproduct(MainParent _mfrm) { InitializeComponent(); mFrm = _mfrm; }
public FrmQryKpMaster(MainParent Frm) { InitializeComponent(); mFrm = Frm; }
public Print5in1label(MainParent Msg) { InitializeComponent(); ShowMP = Msg; //RefWebService_BLL.refWebVenderInfo.Instance }
public Frm_PLAN_RATE_REPORT(MainParent mfm) { InitializeComponent(); mFrm = mfm; }
public AddManufacturer(MainParent mfrm, SMTgangwangManage mgw) { InitializeComponent(); this.mFrm = mfrm; this.mSMT = mgw; }
public StationNoInfo(MainParent mp) { InitializeComponent(); mPm = mp; }
public Frm_TimeOut(MainParent Frm) { InitializeComponent(); mFrm = Frm; }
public FrmReceiveMaterials(MainParent frm) { InitializeComponent(); this.mFrm = frm; }
public AddMaterials(MainParent mfrm) { InitializeComponent(); this.mFrm = mfrm; }
public FrmTargetPlan(MainParent sInfo) { InitializeComponent(); sMain = sInfo; }
public FrmPOManage(MainParent mfr) { InitializeComponent(); mFrm = mfr; }
public fuserinfo(MainParent Finfo) { InitializeComponent(); sFinfo = Finfo; }
public Frm_POCheck(MainParent mfm) { InitializeComponent(); mFrm = mfm; }
public Frm_Fqc_Report(MainParent mfm) { InitializeComponent(); mFrm = mfm; }
public fmMaterialManagement(MainParent Info) { InitializeComponent(); sInfo = Info; }
public Frm_MaterialManage(MainParent Frm) { InitializeComponent(); mFrm = Frm; }
public StoreLocManage(MainParent mfm) { InitializeComponent(); this.mFrm = mfm; }
public FrmBomNo(MainParent sInfo) { InitializeComponent(); sMain = sInfo; }
public Frm_Station_Management(MainParent Frm) { InitializeComponent(); mFrm = Frm; }
public fRoleInfo(MainParent Finfo, fuserinfo dt) { InitializeComponent(); sFinfo = Finfo; sdt = dt; }