public ColorName() { InitializeComponent(); this.TopLevel = false; this.Location = new Point(0, 0); db = SqlBase.GetInstance(); lblwait = new LblWait((Form)this); groupPanel1.ResumeLayout(false); groupPanel1.PerformLayout(); Rectangle ScreenArea = Screen.GetWorkingArea(this); dgvEX1.BackgroundColor = SystemColors.Window; dgvEX1.AutoGenerateColumns = false; dgvEX1.AllowUserToAddRows = false; dgvEX1.AllowUserToDeleteRows = false; dgvEX1.AllowUserToResizeRows = false; dgvEX1.AllowUserToAddRows = false; //删除最后一条空白 dgvEX1.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.DisableResizing; //行高不可变 dgvEX1.RowHeadersWidthSizeMode = DataGridViewRowHeadersWidthSizeMode.DisableResizing; dgvEX1.MultiSelect = false; dgvEX1.SelectionMode = DataGridViewSelectionMode.FullRowSelect; dgvEX1.EditMode = DataGridViewEditMode.EditProgrammatically; var getAll = db.Queryable <T_Base>() .Where(it => it.leibie == YanSe) .ToList(); ShowData(getAll); }
public FrmRHLCB() { InitializeComponent(); bsSch = new BindingSource(); lblwait = new LblWait(this); db = SqlBase.GetInstance(); }
public FanXiuDjCha() { InitializeComponent(); lblwait = new LblWait(this); TopLevel = false; Location = new Point(0, 0); db = SqlBase.GetInstance(); }
public FrmRLRK1() { InitializeComponent(); db = SqlBase.GetInstance(); this.lblwait = new LblWait((Form)this); EditMode = false; SearchMode = false; RL(); }
public FrmDLJL() { InitializeComponent(); db = SqlBase.GetInstance(); this.lblwait = new LblWait((Form)this); this.bsSch = new BindingSource(); mainColRL.Tag = "总行:"; Search(); }
public Frm_SYDJ() { InitializeComponent(); lblwait = new LblWait(this); TopLevel = false; Location = new Point(0, 0); db = SqlBase.GetInstance(); InitTab2(); }
public Search() { InitializeComponent(); this.TopLevel = false; this.Location = new Point(0, 0); db = SqlBase.GetInstance(); lblwait = new LblWait((Form)this); Column3.Tag = (object)"行:"; }
public FrmUser(Bar bar) { InitializeComponent(); this.TopLevel = false; db = SqlBase.GetInstance(); Bottom_Group.Visible = false; this._bar = bar; lblwait = new LblWait((Form)this); }
public Frm_LYDJ() { InitializeComponent(); lblwait = new LblWait(this); TopLevel = false; Location = new Point(0, 0); db = SqlBase.GetInstance(); InitTab2(); riqi.Value = DateTime.Now; }
//初始化 public ShenChanGx() { InitializeComponent(); this.TopLevel = false; this.Location = new Point(0, 0); db = SqlBase.GetInstance(); lblwait = new LblWait((Form)this); groupPanel1.ResumeLayout(false); groupPanel1.PerformLayout(); }
public FrmRLRK() { InitializeComponent(); lblwait = new LblWait(this); TopLevel = false; Location = new Point(0, 0); db = SqlBase.GetInstance(); Column2.Tag = "总行:"; Column6.Tag = "剩余总重合计"; Column7.Tag = "剩余匹数合计"; InitTab2(); }
public Make() { InitializeComponent(); this.Location = new Point(0, 0); db = SqlBase.GetInstance(); lblwait = new LblWait((Form)this); ///Column3.Tag = (object)"行:"; initEvent(); refList(); bsShowMain = new BindingSource(); bsShowData = new BindingSource(); }
public MaDanChaXun() { InitializeComponent(); lblwait = new LblWait(this); TopLevel = false; Location = new Point(0, 0); db = SqlBase.GetInstance(); //tabEx1.SelectedIndexChanged += TabEx1_SelectedIndexChanged; InitTab2(); InitdataGridView(true); lblTxt5.txt.Text = ClsLogUser.XinMing; }
public JiTaiYuL() { InitializeComponent(); this.TopLevel = false; this.Location = new Point(0, 0); db = SqlBase.GetInstance(); lblwait = new LblWait((Form)this); groupPanel1.ResumeLayout(false); groupPanel1.PerformLayout(); dgvEX1.BackgroundColor = SystemColors.Window; }
public Customer() { InitializeComponent(); this.TopLevel = false; this.Location = new Point(0, 0); db = SqlBase.GetInstance(); lblwait = new LblWait((Form)this); groupPanel1.ResumeLayout(false); groupPanel1.PerformLayout(); Rectangle ScreenArea = Screen.GetWorkingArea(this); dgvEX1.BackgroundColor = SystemColors.Window; }
public JinDuCha() { InitializeComponent(); lblwait = new LblWait(this); TopLevel = false; Location = new Point(0, 0); db = SqlBase.GetInstance(); chkKehu.cobodgv.RefList(coboDGV.leibie.客户); chkPinmin.cobodgv.RefList(coboDGV.leibie.品名); chkCoboDGV1.cobodgv.RefList(coboDGV.leibie.生产工序); chkZZ.cobodgv.RefList(coboDGV.leibie.颜色); chkPS.cobodgv.RefList(coboDGV.leibie.色号); }
public PBJin() { InitializeComponent(); lblwait = new LblWait(this); TopLevel = false; Location = new Point(0, 0); db = SqlBase.GetInstance(); Column2.Tag = "总行:"; Column5.Tag = "合计:"; Column6.Tag = "剩余总重合计"; Column7.Tag = "剩余匹数合计"; Column10.Tag = "总重量合计"; InitTab2(); lblDH.RefList(coboDGV.leibie.胚客代号); }
public SHdj() { InitializeComponent(); this.TopLevel = false; this.Location = new Point(0, 0); db = SqlBase.GetInstance(); lblwait = new LblWait((Form)this); groupPanel1.ResumeLayout(false); groupPanel1.PerformLayout(); Column1.Tag = "总行"; var getAll = db.Queryable <BaseIList>() .Where(it => it.leibie == YanSe) .ToList(); ShowData(getAll); }
public ColorType() { InitializeComponent(); this.TopLevel = false; this.Location = new Point(0, 0); db = SqlBase.GetInstance(); lblwait = new LblWait((Form)this); groupPanel1.ResumeLayout(false); groupPanel1.PerformLayout(); dgvEX1.BackgroundColor = SystemColors.Window; var getAll = db.Queryable <T_Base>() .Where(it => it.leibie == SEHAOLEIBIE) .ToList(); ShowData(getAll); }
//初始化 public RanHuaName() { InitializeComponent(); this.TopLevel = false; this.Location = new Point(0, 0); db = SqlBase.GetInstance(); lblwait = new LblWait((Form)this); groupPanel1.ResumeLayout(false); groupPanel1.PerformLayout(); dgvEX1.BackgroundColor = SystemColors.Window; var getAll = db.Queryable <T_Base>() .Where(it => it.leibie == RANLIAOMINGCHEN) .OrderBy(it => it.bianhao, OrderByType.Asc) .ToList(); ShowData(getAll); }
public ChenBenChuCangChaXun() { InitializeComponent(); lblwait = new LblWait(this); TopLevel = false; Location = new Point(0, 0); db = SqlBase.GetInstance(); Column3.Tag = "总行:"; //dgvEX1.Columns[2].Tag = "行:"; InitTab2(); chkPinmin.cobodgv.RefList(coboDGV.leibie.品名); chkKehu.cobodgv.RefList(coboDGV.leibie.客户); chkJCY.cobodgv.RefList(coboDGV.leibie.员工); chkYWY.cobodgv.RefList(coboDGV.leibie.业务员); lblKH.RefList(coboDGV.leibie.客户); lblPM.RefList(coboDGV.leibie.品名); lblYWY.RefList(coboDGV.leibie.业务员); lblJCY.RefList(coboDGV.leibie.员工); }
public PKDH() { InitializeComponent(); this.TopLevel = false; this.Location = new Point(0, 0); db = SqlBase.GetInstance(); lblwait = new LblWait((Form)this); groupPanel1.ResumeLayout(false); groupPanel1.PerformLayout(); Rectangle ScreenArea = Screen.GetWorkingArea(this); /* * var width = (ScreenArea.Width) / dgvEX1.Columns.Count; * for (var i=0;i< dgvEX1.Columns.Count; i++) * { * var column = dgvEX1.Columns[i]; * column.Width = width; * } */ dgvEX1.BackgroundColor = SystemColors.Window; dgvEX1.AutoGenerateColumns = false; dgvEX1.AllowUserToAddRows = false; dgvEX1.AllowUserToDeleteRows = false; dgvEX1.AllowUserToResizeRows = false; dgvEX1.AllowUserToAddRows = false; //删除最后一条空白 dgvEX1.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.DisableResizing; //行高不可变 dgvEX1.RowHeadersWidthSizeMode = DataGridViewRowHeadersWidthSizeMode.DisableResizing; dgvEX1.MultiSelect = false; dgvEX1.SelectionMode = DataGridViewSelectionMode.FullRowSelect; dgvEX1.EditMode = DataGridViewEditMode.EditProgrammatically; var getAll = db.Queryable <T_Base>() .Where(it => it.leibie == CW) .ToList(); ShowData(getAll); chkTxt3.cobodgv.RefList(coboDGV.leibie.客户); lblTxt1.RefList(coboDGV.leibie.客户); }
public GreigeName() { InitializeComponent(); this.TopLevel = false; this.Location = new Point(0, 0); db = SqlBase.GetInstance(); lblwait = new LblWait((Form)this); groupPanel1.ResumeLayout(false); groupPanel1.PerformLayout(); Rectangle ScreenArea = Screen.GetWorkingArea(this); dgvEX1.BackgroundColor = SystemColors.Window; var getAll = db.Queryable <T_Base>() .Where(it => it.leibie == SHAZHONG) .ToList(); ShowData(getAll); }
public FrmPFCB() { InitializeComponent(); db = SqlBase.GetInstance(); this.lblwait = new LblWait((Form)this); this.bsSch = new BindingSource(); this.bsShowMain = new BindingSource(); this.bsShowData = new BindingSource(); this.mainDgv.AutoGenerateColumns = false; this.mainDgv.Dock = DockStyle.Fill; this.editDgvMain.Dock = DockStyle.Fill; this.dgvSum(); this.lblwait = new LblWait((Form)this); this.editTxtDJ.txt.TextAlign = HorizontalAlignment.Center; this.editTxtKZ.txt.TextAlign = HorizontalAlignment.Center; this.editTxtMS.txt.TextAlign = HorizontalAlignment.Center; this.editTxtJH.txt.TextAlign = HorizontalAlignment.Center; this.editTxtSL.txt.TextAlign = HorizontalAlignment.Center; this.editTxtZL.txt.TextAlign = HorizontalAlignment.Center; this.editTxtJLCS.txt.TextAlign = HorizontalAlignment.Center; this.editTxtDJ.txt.ForeColor = Color.DarkRed; this.editTxtKZ.txt.ForeColor = Color.DarkRed; this.editTxtMS.txt.ForeColor = Color.DarkRed; this.editTxtSL.txt.ForeColor = Color.DarkRed; this.editTxtZL.txt.ForeColor = Color.DarkRed; this.editTxtJLCS.txt.ForeColor = Color.DarkRed; this.editDgvMain.AutoGenerateColumns = false; this.editColBL.ValueType = typeof(Decimal); this.editColYL.ValueType = typeof(Decimal); this.editColJL.ValueType = typeof(Decimal); this.editColJLYL.ValueType = typeof(Decimal); editColGX.Tag = "总行:"; editColJE.Tag = "合计金额:"; }