예제 #1
0
 private void KeyDown(object sender, KeyEventArgs e)
 {
     if (e.Control && e.KeyCode == Keys.Delete)
     {
         var edit = sender as BaseEdit;
         if (edit != null)
         {
             var cb = edit;
             cb.EditValue = DBNull.Value;
             WinUtils.SetClearTooltip(cb);
             e.Handled = true;
         }
     }
 }