Beispiel #1
0
        private void dataGridView1_DoubleClick(object sender, EventArgs e)
        {
            if (dataGridView1.CurrentRow == null)
            {
                return;
            }

            订单核查清单 form = new 订单核查清单(dataGridView1.CurrentRow.Cells["年月"].Value.ToString(),
                                     m_authFlag, false);

            form.ShowDialog();
            RefreshDataGirdView();
        }
Beispiel #2
0
        private void 设置订单信息ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (dataGridView1.CurrentRow == null)
            {
                return;
            }

            if (dataGridView1.CurrentRow.Cells["单据状态"].Value.ToString() != "单据已完成")
            {
                订单核查清单 form = new 订单核查清单(dataGridView1.CurrentRow.Cells["年月"].Value.ToString(),
                                         m_authFlag, true);
                form.ShowDialog();
            }
            else
            {
                MessageDialog.ShowPromptMessage("请重新确认单据状态");
            }

            RefreshDataGirdView();
        }
Beispiel #3
0
        private void 新建单据ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            订单核查清单 form = new 订单核查清单("", m_authFlag, true);

            form.ShowDialog();
        }