Beispiel #1
0
 /// <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;
 }
Beispiel #2
0
 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;
 }
Beispiel #3
0
 //修改
 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;
 }
Beispiel #4
0
 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();
 }
Beispiel #5
0
 public A_HT_WX(int op, A_HT_OP ah)
 {
     InitializeComponent();
     this.op = op;
     this.ah = ah;
 }
Beispiel #6
0
 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();
 }
Beispiel #7
0
 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();
 }
Beispiel #8
0
 public A_EXCEL_INPUT(string hth, A_HT_OP hop)
 {
     InitializeComponent();
     this.hth = hth;
     this.hop = hop;
 }