private void Backward(ToolStripButton sender) { if (this.ucOrderList1.CurrentSelectValue == null) { return; } Model.Info_OrderMain info = ucOrderList1.CurrentSelectValue as Model.Info_OrderMain; Win.FmCheckCommentInfo fm = new Win.FmCheckCommentInfo(); fm.SelectValue += (obj) => { if (manager.CheckOrderNoPass(info, obj.ToString())) { LoadSelfOrder(); } }; fm.ShowDialog(); }
private void Backward(ToolStripButton sender) { if (this.ucIncomeList1.CurrentSelectValue == null) { return; } Model.Info_fin_order_outcome info = this.ucIncomeList1.CurrentSelectValue as Model.Info_fin_order_outcome; Win.FmCheckCommentInfo fm = new Win.FmCheckCommentInfo(); fm.SelectValue += (obj) => { if (manager.CheckOutcomeNoPass(info, obj.ToString())) { Clear(); LoadSelfOrder(); } }; fm.ShowDialog(); }