예제 #1
0
        private void btn_new_Click(object sender, EventArgs e)
        {
            sign = "0";
            win_exportline_handle exportline_handle = new win_exportline_handle(sign, "");

            exportline_handle.WindowState   = FormWindowState.Normal;
            exportline_handle.StartPosition = FormStartPosition.CenterScreen;
            exportline_handle.ShowDialog();
            seek();
        }
예제 #2
0
        private void btn_amend_Click(object sender, EventArgs e)
        {
            int count = this.exportlinedata.SelectedRows.Count;

            if (count > 0)
            {
                amend_id = this.exportlinedata.SelectedRows[0].Cells[2].Value.ToString();
                sign     = "1";
                win_exportline_handle exportline_handle = new win_exportline_handle(sign, amend_id);
                exportline_handle.WindowState   = FormWindowState.Normal;
                exportline_handle.StartPosition = FormStartPosition.CenterScreen;
                exportline_handle.ShowDialog();
                seek();
            }
            else
            {
                MessageBox.Show("请点击选择您要修改的出口信息!", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
            }
        }