public frmAddAction(int processID, int actionID) { InitializeComponent(); ProcessID = processID; //dtgActionTargets.SelectionChanged += DtgActionTargets_SelectionChanged; SetBaseData(); if (actionID != 0) { GetAction(actionID); } else { Message = new WFActionDTO(); ShowMessage(); } }
private void GetAction(int actionID) { Message = bizAction.GetAction(actionID); ShowMessage(); }
private void btnNew_Click(object sender, RoutedEventArgs e) { Message = new WFActionDTO(); ShowMessage(); }