示例#1
0
文件: Main.cs 项目: rafael10elt/-SIC
        public void addNewOrderToolStripMenuItem_Click(object sender, EventArgs e)
        {
            string       CustomerId   = "";
            string       CustomerName = "";
            OrderRelease WindowOR     = new OrderRelease(CustomerId, CustomerName);

            WindowOR.Show();
        }
示例#2
0
        public void btnOK_Click(object sender, EventArgs e)
        {
            string       CustomerId   = txtCustomerId.Text;
            string       CustomerName = txtCompanyName.Text;
            OrderRelease WindowOR     = new OrderRelease(CustomerId, CustomerName);

            Form.ActiveForm.Close();
            WindowOR.Show();
        }
示例#3
0
        private void btnCancel_Click(object sender, EventArgs e)
        {
            Form.ActiveForm.Close();
            string       CustomerId   = txtCustomerId.Text;
            string       CustomerName = txtCompanyName.Text;
            OrderRelease WindowOR     = new OrderRelease(CustomerId, CustomerName);

            WindowOR.Show();
            //Form NewSearchCustomer = new SearchCustomer();
            //NewSearchCustomer.Close();
        }