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

            fm.SelectOrderChange += (info) =>
            {
                LoadSelfOrder();
            };
            fm.ShowDialog();
        }
Exemplo 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();
        }