示例#1
0
 protected virtual void OnOverdrawnevent(OverdrawnEventArgs args)
 {
     if (Overdrawn != null)
     {
         Overdrawn(this, args);
     }
 }
示例#2
0
 private void Account_Overdrawn(Object sender, OverdrawnEventArgs e)
 {
     if (!e.isOverDrawnAllowed)
     {
         e.isOverDrawnAllowed = MessageBox.Show("overdrawn", "Allow Overdrawn", MessageBoxButtons.YesNo) == DialogResult.Yes;
     }
 }