/// <summary> /// /// </summary> /// <param name="hth">合同号</param> /// <param name="aht">A_HT_OP</param> /// <param name="op">1添加 2删除 3修改 4查询</param> public A_HT_TK(string hth, A_HT_OP ahtop, int op) { InitializeComponent(); this.ahtop = ahtop; this.hth = hth; this.op = op; }
public A_HT_TK(string hth, A_HT_OP ahtop, int op, DataTable dt) { InitializeComponent(); this.ahtop = ahtop; this.hth = hth; this.op = op; this.dt_tk = dt; }
//修改 public A_HT_SP_OP(string hth, int op, A_HT_OP ahtop, DataGridViewRow dgvr) { InitializeComponent(); this.ahtop = ahtop; this.hth = hth; this.op = op; this.dgvr = dgvr; }
private void sumGridView1_Grid_CellDoubleClick(object sender, DataGridViewCellEventArgs e) { if (e.RowIndex < 0) return; A_HT_OP cm = new A_HT_OP(3, null, this.sumGridView1.Grid.SelectedRows[0], null); cm.MdiParent = this.MdiParent; cm.Show(); }
public A_HT_WX(int op, A_HT_OP ah) { InitializeComponent(); this.op = op; this.ah = ah; }
private void dataGridView1_CellDoubleClick(object sender, DataGridViewCellEventArgs e) { if (this.dataGridView1.Rows.Count == 0) return; if ((this.MdiParent as MForm1).OpenChildForm(typeof(A_HT_OP))) return; A_HT_OP cm = new A_HT_OP(3, this, this.dataGridView1.SelectedRows[0], this.htype); cm.MdiParent = this.MdiParent; cm.Show(); }
private void btn_Add(object sender, EventArgs e) { if ((this.MdiParent as MForm1).OpenChildForm(typeof(A_HT_OP))) return; A_HT_OP cm = new A_HT_OP(1, this, this.htype); cm.MdiParent = this.MdiParent; cm.Show(); }
public A_EXCEL_INPUT(string hth, A_HT_OP hop) { InitializeComponent(); this.hth = hth; this.hop = hop; }