mirror of
https://github.com/Mibew/tray.git
synced 2025-04-07 05:10:14 +03:00
- updated icons with the new ones; git-svn-id: https://webim.svn.sourceforge.net/svnroot/webim/trunk@89 c66351dc-e62f-0410-b875-e3a5c0b9693f
157 lines
7.9 KiB
C#
157 lines
7.9 KiB
C#
namespace webImTray {
|
|
partial class MainWindow {
|
|
private System.Windows.Forms.NotifyIcon notifyIcon;
|
|
private System.ComponentModel.IContainer components;
|
|
|
|
protected override void Dispose(bool disposing) {
|
|
if (disposing) {
|
|
if (components != null) {
|
|
components.Dispose();
|
|
}
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
#region Windows Form Designer generated code
|
|
/// <summary>
|
|
/// Required method for Designer support - do not modify
|
|
/// the contents of this method with the code editor.
|
|
/// </summary>
|
|
private void InitializeComponent() {
|
|
this.components = new System.ComponentModel.Container();
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainWindow));
|
|
this.notifyIcon = new System.Windows.Forms.NotifyIcon(this.components);
|
|
this.notifyMenu = new System.Windows.Forms.ContextMenuStrip(this.components);
|
|
this.optionsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripSeparator();
|
|
this.exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.webBrowser1 = new System.Windows.Forms.WebBrowser();
|
|
this.reloadPageTimer = new System.Windows.Forms.Timer(this.components);
|
|
this.menuStrip1 = new System.Windows.Forms.MenuStrip();
|
|
this.refreshToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.optionsMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.hideWindowMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.notifyMenu.SuspendLayout();
|
|
this.menuStrip1.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
// notifyIcon
|
|
//
|
|
this.notifyIcon.ContextMenuStrip = this.notifyMenu;
|
|
this.notifyIcon.Icon = ((System.Drawing.Icon)(resources.GetObject("notifyIcon.Icon")));
|
|
this.notifyIcon.Visible = true;
|
|
this.notifyIcon.MouseDown += new System.Windows.Forms.MouseEventHandler(this.notifyIconClick);
|
|
//
|
|
// notifyMenu
|
|
//
|
|
this.notifyMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
this.optionsToolStripMenuItem,
|
|
this.toolStripMenuItem1,
|
|
this.exitToolStripMenuItem});
|
|
this.notifyMenu.Name = "notifyMenu";
|
|
this.notifyMenu.Size = new System.Drawing.Size(79, 54);
|
|
//
|
|
// optionsToolStripMenuItem
|
|
//
|
|
this.optionsToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("optionsToolStripMenuItem.Image")));
|
|
this.optionsToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Silver;
|
|
this.optionsToolStripMenuItem.Name = "optionsToolStripMenuItem";
|
|
this.optionsToolStripMenuItem.Size = new System.Drawing.Size(78, 22);
|
|
this.optionsToolStripMenuItem.Click += new System.EventHandler(this.optionsMenu_Click);
|
|
//
|
|
// toolStripMenuItem1
|
|
//
|
|
this.toolStripMenuItem1.Name = "toolStripMenuItem1";
|
|
this.toolStripMenuItem1.Size = new System.Drawing.Size(75, 6);
|
|
//
|
|
// exitToolStripMenuItem
|
|
//
|
|
this.exitToolStripMenuItem.Name = "exitToolStripMenuItem";
|
|
this.exitToolStripMenuItem.Size = new System.Drawing.Size(78, 22);
|
|
this.exitToolStripMenuItem.Click += new System.EventHandler(this.menuExitClick);
|
|
//
|
|
// webBrowser1
|
|
//
|
|
this.webBrowser1.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.webBrowser1.Location = new System.Drawing.Point(0, 24);
|
|
this.webBrowser1.MinimumSize = new System.Drawing.Size(20, 20);
|
|
this.webBrowser1.Name = "webBrowser1";
|
|
this.webBrowser1.Size = new System.Drawing.Size(864, 461);
|
|
this.webBrowser1.TabIndex = 2;
|
|
this.webBrowser1.PreviewKeyDown += new System.Windows.Forms.PreviewKeyDownEventHandler(this.webBrowser1_PreviewKeyDown);
|
|
//
|
|
// reloadPageTimer
|
|
//
|
|
this.reloadPageTimer.Interval = 5000;
|
|
this.reloadPageTimer.Tick += new System.EventHandler(this.timer1_Tick);
|
|
//
|
|
// menuStrip1
|
|
//
|
|
this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
this.refreshToolStripMenuItem,
|
|
this.optionsMenuItem,
|
|
this.hideWindowMenuItem});
|
|
this.menuStrip1.Location = new System.Drawing.Point(0, 0);
|
|
this.menuStrip1.Name = "menuStrip1";
|
|
this.menuStrip1.Size = new System.Drawing.Size(864, 24);
|
|
this.menuStrip1.TabIndex = 3;
|
|
this.menuStrip1.Text = "menuStrip1";
|
|
//
|
|
// refreshToolStripMenuItem
|
|
//
|
|
this.refreshToolStripMenuItem.Name = "refreshToolStripMenuItem";
|
|
this.refreshToolStripMenuItem.Size = new System.Drawing.Size(57, 20);
|
|
this.refreshToolStripMenuItem.Text = "Refresh";
|
|
this.refreshToolStripMenuItem.Click += new System.EventHandler(this.refreshToolStripMenuItem_Click);
|
|
//
|
|
// optionsMenuItem
|
|
//
|
|
this.optionsMenuItem.Name = "optionsMenuItem";
|
|
this.optionsMenuItem.Size = new System.Drawing.Size(56, 20);
|
|
this.optionsMenuItem.Text = "Options";
|
|
this.optionsMenuItem.Click += new System.EventHandler(this.optionsToolStripMenuItem1_Click);
|
|
//
|
|
// hideWindowMenuItem
|
|
//
|
|
this.hideWindowMenuItem.Name = "hideWindowMenuItem";
|
|
this.hideWindowMenuItem.Size = new System.Drawing.Size(79, 20);
|
|
this.hideWindowMenuItem.Text = "Hide window";
|
|
this.hideWindowMenuItem.Click += new System.EventHandler(this.hideWindowToolStripMenuItem_Click);
|
|
//
|
|
// MainWindow
|
|
//
|
|
this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
|
|
this.ClientSize = new System.Drawing.Size(864, 485);
|
|
this.Controls.Add(this.webBrowser1);
|
|
this.Controls.Add(this.menuStrip1);
|
|
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
|
this.MainMenuStrip = this.menuStrip1;
|
|
this.MinimizeBox = false;
|
|
this.Name = "MainWindow";
|
|
this.ShowInTaskbar = false;
|
|
this.Shown += new System.EventHandler(this.MainWindow_Shown);
|
|
this.GotFocus += new System.EventHandler(this.gotFocus);
|
|
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Client_FormClosing);
|
|
this.notifyMenu.ResumeLayout(false);
|
|
this.menuStrip1.ResumeLayout(false);
|
|
this.menuStrip1.PerformLayout();
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
#endregion
|
|
|
|
private System.Windows.Forms.WebBrowser webBrowser1;
|
|
private System.Windows.Forms.Timer reloadPageTimer;
|
|
private System.Windows.Forms.ContextMenuStrip notifyMenu;
|
|
private System.Windows.Forms.ToolStripMenuItem optionsToolStripMenuItem;
|
|
private System.Windows.Forms.ToolStripSeparator toolStripMenuItem1;
|
|
private System.Windows.Forms.ToolStripMenuItem exitToolStripMenuItem;
|
|
private System.Windows.Forms.MenuStrip menuStrip1;
|
|
private System.Windows.Forms.ToolStripMenuItem refreshToolStripMenuItem;
|
|
private System.Windows.Forms.ToolStripMenuItem optionsMenuItem;
|
|
private System.Windows.Forms.ToolStripMenuItem hideWindowMenuItem;
|
|
|
|
}
|
|
}
|