C# Tricks, Tips & Ideas

UI : how to disable alt+s shortcut

protected override bool ProcessDialogKey(Keys keyData)
{
    if ((Keys.Alt | Keys.S) == keyData)
        return true;
    else
        return base.ProcessDialogKey(keyData);
}
Novější příspěvek Starší příspěvek Domovská stránka

Archive

  • ►  2013 (3)
    • ►  ledna (3)
  • ▼  2012 (9)
    • ▼  června (9)
      • IO : simple log to a text file method
      • PROCESSES : start a new process
      • LINQ : linq - xml - anonymous types
      • IO : replace something in all lines in all the giv...
      • EVENTS : simple event
      • UI : how to disable alt+s shortcut
      • THREADS : simple async task
      • UI : autoscroll
      • UI : form invoker extension
Motiv Okno s výhledem. Používá technologii služby Blogger.