Exemplo n.º 1
0
        private void 新建toolStripButton1_Click(object sender, EventArgs e)
        {
            FormWorkSchedule frm = new FormWorkSchedule(m_authorityFlag, 0);

            frm.ShowDialog();

            RefreshDataGridView();
        }
Exemplo n.º 2
0
        private void dataGridView1_CellMouseDoubleClick(object sender, DataGridViewCellMouseEventArgs e)
        {
            m_billNo = dataGridView1.CurrentRow.Cells["单据号"].Value.ToString();

            FormWorkSchedule frm = new FormWorkSchedule(m_authorityFlag, Convert.ToInt32(m_billNo));

            frm.ShowDialog();

            RefreshDataGridView();
            PositioningRecord(m_billNo);
        }