Example #1
0
        private void btn_new_Click(object sender, EventArgs e)
        {
            sign = "0";
            win_replenish_handle repleish_handle = new win_replenish_handle(sign, "");

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

            if (count > 0)
            {
                amend_id = this.replenishdata.SelectedRows[0].Cells[1].Value.ToString();
                sign     = "1";
                win_replenish_handle repleish_handle = new win_replenish_handle(sign, amend_id);
                repleish_handle.WindowState   = FormWindowState.Normal;
                repleish_handle.StartPosition = FormStartPosition.CenterScreen;
                repleish_handle.ShowDialog();
                seek();
            }
            else
            {
                MessageBox.Show("请点击选择您要修改的补货通道!", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
            }
        }