public frStockBack(BasicClass.cResult cr, int CompanyID, int TypeID) : this() { r = cr; _companyID = CompanyID; _TypeID = TypeID; }
private void ClickButton(BasicClass.cResult cr, string MenuTag) { if (ClickButtonChanged != null) { ClickButtonChanged(cr, MenuTag); } }
private void simpleButton3_Click(object sender, EventArgs e) { if (gridView2.RowCount > 0) { if (DialogResult.No == XtraMessageBox.Show("本款式已有设置工序,是否删除现有的工序?", "提示", MessageBoxButtons.YesNo, MessageBoxIcon.Question, MessageBoxDefaultButton.Button2)) { return; } } if (Convert.ToInt32(dtMain.Rows[0]["ID"]) > 0) { if (BasicClass.GetDataSet.GetDS(BasicClass.Bllstr.bllProductTaskMain, "GetList", new object[] { "(PWorkingID=" + dtMain.Rows[0]["ID"] + ")" }).Tables[0].Rows.Count > 0) { XtraMessageBox.Show("本工艺单已被使用!"); return; } } IsRe = false; BasicClass.cResult r = new BasicClass.cResult(); r.RowChanged += new BasicClass.RowChangedHandler(r_RowChanged); Form fr = new frWorkingForm(r); fr.ShowDialog(); IsRe = true; }
public BsInMoneyForm(int CompanyID, int ID, BasicClass.cResult crr) : this() { _comID = CompanyID; _id = ID; r = crr; }
public frEmployeeForms(BasicClass.cResult r, int ID, int Operation) : this() { cr = r; _id = ID; _operation = Operation; }
public frSizePartOne(BasicClass.cResult cr, int ID, DataTable dt) : this() { r = cr; _ID = ID; dtOld = dt; }
private void ClickButton(BasicClass.cResult cr, int formName) { if (ClickButtonChanged != null) { ClickButtonChanged(cr, formName); } }
public frEditTime(BasicClass.cResult cr, DateTime dtt) : this() { r = cr; // TypeID = _TypeID; dt = dtt; }
public frDayWorkingOne(BasicClass.cResult cr, int ID, DataTable dt) : this() { r = cr; _ID = ID; dtOld = dt; }
//View导航条按钮点击 private void gridControl1_EmbeddedNavigator_ButtonClick(object sender, NavigatorButtonClickEventArgs e) { if (e.Button.Tag.ToString() == "Del" && gridView1.FocusedRowHandle > -1 && !t) { if (Convert.ToInt32(gridView1.GetFocusedRowCellValue(_coID)) > 0) { if (DialogResult.Yes == XtraMessageBox.Show("是否真的删除该记录?", "提示", MessageBoxButtons.YesNo, MessageBoxIcon.Question, MessageBoxDefaultButton.Button2)) { BasicClass.GetDataSet.ExecSql(blSI, "Delete", new object[] { Convert.ToInt32(gridView1.GetFocusedRowCellValue(_coID)) }); } } gridView1.DeleteRow(gridView1.FocusedRowHandle); gridView1.CloseEditor(); gridView1.UpdateCurrentRow(); dtMSI.AcceptChanges(); } if (e.Button.Tag.ToString() == "Add" && !t) { if (gridView1.FocusedRowHandle < 0) { return; } if (Convert.ToInt32(gridView1.GetFocusedRowCellValue(_coUsingTypeID)) == 13 && Convert.ToInt32(gridView1.GetFocusedRowCellValue(_coID)) > 0 && Convert.ToInt32(gridView1.GetFocusedRowCellValue(_coA)) == 1) { // XtraMessageBox.Show("特殊方法的单用量请稍候~!"); BasicClass.cResult r = new BasicClass.cResult(); r.TextChanged += new BasicClass.TextChangedHandler(r_TextChanged); Form fr = new frSpecialBOM(r, Convert.ToInt32(gridView1.GetFocusedRowCellValue(_coID)), gridView1.GetFocusedRowCellDisplayText(_coChildMaterielID), t); fr.ShowDialog(); } } }
public frSpecial(BasicClass.cResult cr, int pwiID, string WorkingName) : this() { r = cr; _PWIID = pwiID; _WorkingName = WorkingName; }
private void _brEdit_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { BasicClass.cResult cr = new BasicClass.cResult(); cr.TextChanged += new BasicClass.TextChangedHandler(r_TextChanged); Form fr = new SystemSet.UserOneForm(cr, int.Parse(gridView1.GetFocusedRowCellValue(_coID).ToString())); fr.ShowDialog(); }
public frMaterielOne(BasicClass.cResult cr, int ID, DataTable dt) : this() { r = cr; _ID = ID; dtOld = dt; _sbCancel.Visible = _sbSaveAndContinue.Visible = _sbSaveAndExit.Visible = false; }
public frSizeOne(BasicClass.cResult cr, int ID, DataTable dt, DataTable dtMT) : this() { r = cr; _ID = ID; dtOld = dt; _dtMT = dtMT; }
private void simpleButton4_Click(object sender, EventArgs e) { BasicClass.cResult cr = new BasicClass.cResult(); cr.TextChanged += new BasicClass.TextChangedHandler(cr_TextChanged); Form fr = new frWorkingPrice(cr); fr.ShowDialog(); }
private void repositoryItemMemoEdit1_DoubleClick(object sender, EventArgs e) { BasicClass.cResult cr = new BasicClass.cResult(); cr.TextChanged += cr_TextChanged; Form fr = new Hownet.BaseForm.frRemark(cr, (int)BasicClass.Enums.TableType._缝制要求); fr.ShowDialog(); }
public frZaiYaoOne(BasicClass.cResult cr, DataTable dt, int ID, int kmID) : this() { r = cr; dtKM = dt; PID = ID; KMID = kmID; }
public frSpecialBOM(BasicClass.cResult cr, int pwiID, string WorkingName, bool IsVerify) : this() { r = cr; _MSIID = pwiID; _MaterielName = WorkingName; _IsVerify = IsVerify; }
private void _barAdd_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { BasicClass.cResult cr = new BasicClass.cResult(); cr.TextChanged += new BasicClass.TextChangedHandler(cr_TextChanged); Form fr = new frRemarkOne(cr, 0); fr.ShowDialog(); }
/// <summary> /// 新单 /// </summary> private void _brAddNew_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { BasicClass.cResult r = new BasicClass.cResult(); r.TextChanged += new BasicClass.TextChangedHandler(r_TextChanged); Form fr = new SystemSet.UserOneForm(r, 0); fr.ShowDialog(); }
public frCompanyOne(BasicClass.cResult cr, int ID, int TypeID, DataTable dt) : this() { r = cr; _ID = ID; _TypeID = TypeID; dtOld = dt; }
private void _barAdd_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { BasicClass.cResult cr = new BasicClass.cResult(); cr.RowChanged += new BasicClass.RowChangedHandler(cr_RowChanged); Form fr = new frCompanyOne(cr, 0, _typeID, dt); fr.ShowDialog(); }
private void _barSetShow_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { BasicClass.cResult r = new BasicClass.cResult(); r.TextChanged += r_TextChanged; Form fr = new frSetShowFileds(dtFC, r); fr.ShowDialog(); }
public frDeparmentJobOne(BasicClass.cResult cr, int ID, DataTable dt, string DeparmentName, int DeparmentID) : this() { r = cr; _ID = ID; dtOld = dt; _deparmentID = DeparmentID; labelControl4.Text = "部門:" + DeparmentName; }
public frFinishedOne(BasicClass.cResult cr, int ID, DataTable dt, int TypeID, int AttributeID) : this() { r = cr; _ID = ID; dtOld = dt; _TypeID = TypeID; _attributeID = AttributeID; }
private void barButtonItem11_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { if (gridView1.FocusedRowHandle > -1) { BasicClass.cResult r = new BasicClass.cResult(); Form fr = new Clothing.frTaskForm(r, Convert.ToInt32(gridView1.GetFocusedRowCellValue(_coID)), 1); fr.ShowDialog(); } }
private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { KaiDan = 2; BasicClass.cResult r = new BasicClass.cResult(); r.TableChanged += new BasicClass.TableNumChangedHandler(r_TableChanged); Form fr = new Ticket2Task(r, _MainID); fr.ShowDialog(); }
public frLinLiaoInfoList(int MListID, int DepotID, int InfoID, int MainID, bool IsVerify, BasicClass.cResult cr) : this() { _MListID = MListID; _DepotID = DepotID; _InfoID = InfoID; _ManID = MainID; _IsVerify = IsVerify; r = cr; }
private void lookUpEdit1_ButtonClick(object sender, DevExpress.XtraEditors.Controls.ButtonPressedEventArgs e) { if (e.Button.Tag.ToString() == "New") { BasicClass.cResult r = new BasicClass.cResult(); r.TextChanged += new BasicClass.TextChangedHandler(r_TextChanged); Form fr = new Hownet.BaseForm.frDeparment(r, -1); fr.ShowDialog(); } }
private void _reKH_KeyDown(object sender, KeyEventArgs e) { if (e.KeyCode == Keys.PageDown) { BasicClass.cResult crKH = new BasicClass.cResult(); crKH.RowChanged += new BasicClass.RowChangedHandler(crKH_RowChanged); Form fr = new BaseForm.frSelectTask(crKH); fr.ShowDialog(); } }