Beispiel #1
0
        void dataGridView1_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            if (e.RowIndex >= 0 && e.ColumnIndex >= 0)
            {
                string 退货编号 = dataGridView1.Rows[e.RowIndex].Cells["退货编号"].Value.ToString();
                switch (退货申请or退货记录)
                {
                case 0:
                    退货申请 form1 = new 退货申请(mainform, 退货编号);
                    form1.Show();
                    break;

                case 1:
                    退货记录 form2 = new 退货记录(mainform, 退货编号);
                    form2.Show();
                    break;
                }
            }
        }
Beispiel #2
0
 private void btn退货申请_Click(object sender, EventArgs e)
 {
     mySystem.Process.Stock.退货申请 form = new 退货申请(mainform);
     form.Show();
 }