コード例 #1
0
        private void 新建单据ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FormOverTimeList frm = new FormOverTimeList(m_authorityFlag, 0);

            frm.ShowDialog();

            RefreshDataGridView();
        }
コード例 #2
0
        private void dataGridView1_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            m_billNo = dataGridView1.CurrentRow.Cells["单据号"].Value.ToString();
            FormOverTimeList frm = new FormOverTimeList(m_authorityFlag, Convert.ToInt32(m_billNo));

            frm.ShowDialog();

            RefreshDataGridView();
            PositioningRecord(m_billNo);
        }