Esempio n. 1
0
        private void AddToolStripMenuItem_Click(object sender, EventArgs e)
        {
            OrderOperationForm addForm = new OrderOperationForm();

            addForm.setMainFormOrderValue += getOrderValueAndAdd;
            addForm.Show();
        }
Esempio n. 2
0
        private void ModifyToolStripMenuItem_Click(object sender, EventArgs e)
        {
            OrderOperationForm modifyForm = new OrderOperationForm();

            modifyForm.Text = "修改订单";
            modifyForm.operateOrderBtn.Text = "修改订单";

            modifyForm.setMainFormOrderValue += getOrderValueAndModify;
            modifyForm.Show();
        }