Esempio n. 1
0
        private void DocumentAdd()
        {
            FmOrderInfo fm = new FmOrderInfo();

            fm.SelectOrderChange += (info) =>
            {
                LoadSelfOrder();
            };
            fm.ShowDialog();
        }
Esempio n. 2
0
        private void DocumentEdit()
        {
            if (this.ucOrderList1.CurrentSelectValue == null)
            {
                return;
            }

            Model.Info_OrderMain info = ucOrderList1.CurrentSelectValue as Model.Info_OrderMain;
            FmOrderInfo          fm   = new FmOrderInfo(info);

            fm.SelectOrderChange += (obj) =>
            {
                LoadSelfOrder();
            };
            fm.ShowDialog();
        }