Inheritance: CaptionPanel, FocusableTerminal
Esempio n. 1
0
 QuakeTerminal CreateNewTerminal()
 {
     var terminal = new QuakeTerminal();
     terminal.TerminalBlurred += new EventHandler(OnTerminalBlurred);
     terminal.TerminalFocused += new EventHandler(OnTerminalFocused);
     return terminal;
 }
Esempio n. 2
0
 void OnTerminalBlurred(object sender, EventArgs e)
 {
     var terminal = (QuakeTerminal)sender;
     if (terminal == FocusedTerminal)
     {
         EnableOrDisableTerminalHotKeys(false);
         FocusedTerminal = null;
     }
 }
Esempio n. 3
0
 QuakeTerminal CreateNewTerminal()
 {
     var terminal = new QuakeTerminal();
     terminal.TerminalBlurred += new EventHandler(OnTerminalBlurred);
     terminal.TerminalFocused += new EventHandler(OnTerminalFocused);
     return terminal;
 }
Esempio n. 4
0
 void OnTerminalFocused(object sender, EventArgs e)
 {
     FocusedTerminal = (QuakeTerminal)sender;
     EnableOrDisableTerminalHotKeys(true);
     LastFocusedTerminal = FocusedTerminal;
 }
Esempio n. 5
0
 void OnTerminalBlurred(object sender, EventArgs e)
 {
     var terminal = (QuakeTerminal)sender;
     if (terminal == FocusedTerminal)
     {
         EnableOrDisableTerminalHotKeys(false);
         FocusedTerminal = null;
     }
 }
Esempio n. 6
0
 void OnTerminalFocused(object sender, EventArgs e)
 {
     FocusedTerminal = (QuakeTerminal)sender;
     EnableOrDisableTerminalHotKeys(true);
     LastFocusedTerminal = FocusedTerminal;
 }