Exemplo n.º 1
0
        private void btnAdd_Click(object sender, EventArgs e)
        {
            售后配件申请明细 form = new 售后配件申请明细("", m_authFlag);

            form.ShowDialog();

            DataRefresh();
        }
Exemplo n.º 2
0
        private void btnFind_Click(object sender, EventArgs e)
        {
            售后配件申请明细 form = new 售后配件申请明细(dataGridView1.CurrentRow.Cells["单据号"].Value.ToString(), m_authFlag);

            form.ShowDialog();


            DataRefresh();
            PositioningRecord(dataGridView1.CurrentRow.Cells["单据号"].Value.ToString());
        }
Exemplo n.º 3
0
        private void dataGridView1_DoubleClick(object sender, EventArgs e)
        {
            if (dataGridView1.CurrentRow == null)
            {
                return;
            }
            else
            {
                string strBillNo = dataGridView1.CurrentRow.Cells["单据号"].Value.ToString();

                售后配件申请明细 form = new 售后配件申请明细(strBillNo, m_authFlag);
                form.ShowDialog();

                DataRefresh();
                PositioningRecord(strBillNo);
            }
        }