Exemple #1
0
        private void GiveTo(bool WillUpdate = true)
        {
            ReturnUserEventArgs e1 = new ReturnUserEventArgs();

            e1.Me        = WillUpdate ? me : backup;
            e1.CanUpdate = WillUpdate;
            if (this.ReturnUser != null)
            {
                this.ReturnUser(this, e1);
                this.DialogResult = System.Windows.Forms.DialogResult.OK;
            }
        }
Exemple #2
0
 private void GiveTo(bool WillUpdate = true)
 {
     ReturnUserEventArgs e1 = new ReturnUserEventArgs();
     e1.Me = WillUpdate ? me : backup;
     e1.CanUpdate = WillUpdate;
     if (this.ReturnUser != null)
     {
         this.ReturnUser(this, e1);
         this.DialogResult = System.Windows.Forms.DialogResult.OK;
     }
 }