상속: System.Windows.Forms.Form
예제 #1
0
 public WindowSwitchToolStripButton(BaseWindow associatedWindow)
 {
     InitializeComponent();
     CheckOnClick = true;
     WindowValue = associatedWindow;
     Window.Activated += new EventHandler(Window_Activated);
     Window.Deactivate += new EventHandler(Window_Deactivate);
     Window.TextChanged += new EventHandler(Window_TextChanged);
     Window.Disposed += new EventHandler(Window_Disposed);
     Text = Window.Text.Split(" ".ToCharArray())[0];
 }
예제 #2
0
 private void QueryWindow_Input(BaseWindow sender, InputEventArgs args)
 {
     AssociatedConnection.BaseConnection.SendLine(String.Format("PRIVMSG {0} :{1}", BoundedUser.NickName, args.Line));
     AddLine(String.Format("[{0:T}] <{1}> {2}", DateTime.Now, AssociatedConnection.BaseConnection.CurrentNick, args.Line));
 }
예제 #3
0
 void StatusWindow_Input(BaseWindow sender, InputEventArgs args)
 {
     if (AssociatedConnection.BaseConnection.IsConnected)
         AssociatedConnection.BaseConnection.SendLine(args.Line);
 }
예제 #4
0
 public WindowOpenedEventArgs(BaseWindow window)
 {
     OpenedWindowValue = window;
 }