コード例 #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();
        }