Пример #1
0
        private void _save_InvokeAction(object sender, InvokeActionEventArgs e)
        {
            if (this._customModel.GetMatchStatus == DuplicateResolutionUIModel.MATCHSTATUSValues.MatchConfirmed)
            {
                this.DialogResult         = UIModelDialogResult.Completed;
                this.DialogResultRecordId = SaveConstituentInfo().ToString();


                ////this._customModel.MATCHCONSTITUENTID.Value = Guid.Empty;

                //Guid id = this._customModel.SaveForm();
                //this.DialogResultRecordId = id.ToString();
                //SaveConstituentInfo();
                ////typeof(DuplicateResolutionUIModel).GetMethod("SaveConstituentInfo", BindingFlags.NonPublic | BindingFlags.Instance).Invoke(_customModel, null);

                //this.ID.Value = id;

                //LoadFromBatch(BATCHCONSTITUENTREVENUEID.Value);
            }
            else if (this._customModel.GetMatchStatus == DuplicateResolutionUIModel.MATCHSTATUSValues.AddAsNew)
            {
                this.DialogResult = UIModelDialogResult.Ignored;
            }
            else if (this._customModel.GetMatchStatus == DuplicateResolutionUIModel.MATCHSTATUSValues.Unresolved)
            {
                this.DialogResult = UIModelDialogResult.Canceled;
            }
        }
Пример #2
0
 private void _hideAdvancedOptions_InvokeAction(object sender, InvokeActionEventArgs e)
 {
     _showadvancedoptions.Visible = true;
     _hideadvancedoptions.Visible = false;
 }
Пример #3
0
 private void _cancel_InvokeAction(object sender, InvokeActionEventArgs e)
 {
     this.GOTONEXTRECORD.Value = false;
     this.DialogResult         = UIModelDialogResult.Canceled;
 }
Пример #4
0
 private void _unselectall_InvokeAction(object sender, InvokeActionEventArgs e)
 {
     MultiSelectFunctions.UpdateAll(ref _transactionTypes, false);
 }
 private void _selectall_InvokeAction(object sender, InvokeActionEventArgs e)
 {
     MultiSelectFunctions.UpdateAll(ref _applications, true);
 }