mirror of
https://github.com/Mibew/mibew.git
synced 2025-03-04 10:58:31 +03:00
git-svn-id: https://webim.svn.sourceforge.net/svnroot/webim/trunk@506 c66351dc-e62f-0410-b875-e3a5c0b9693f
167 lines
8.4 KiB
C#
167 lines
8.4 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.visitorsMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.historyMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.refreshToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.optionsMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.hideToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.notifyMenu.SuspendLayout();
|
|
this.menuStrip1.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
// notifyIcon
|
|
//
|
|
this.notifyIcon.ContextMenuStrip = this.notifyMenu;
|
|
resources.ApplyResources(this.notifyIcon, "notifyIcon");
|
|
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";
|
|
resources.ApplyResources(this.notifyMenu, "notifyMenu");
|
|
//
|
|
// optionsToolStripMenuItem
|
|
//
|
|
resources.ApplyResources(this.optionsToolStripMenuItem, "optionsToolStripMenuItem");
|
|
this.optionsToolStripMenuItem.Name = "optionsToolStripMenuItem";
|
|
this.optionsToolStripMenuItem.Click += new System.EventHandler(this.optionsMenu_Click);
|
|
//
|
|
// toolStripMenuItem1
|
|
//
|
|
this.toolStripMenuItem1.Name = "toolStripMenuItem1";
|
|
resources.ApplyResources(this.toolStripMenuItem1, "toolStripMenuItem1");
|
|
//
|
|
// exitToolStripMenuItem
|
|
//
|
|
this.exitToolStripMenuItem.Name = "exitToolStripMenuItem";
|
|
resources.ApplyResources(this.exitToolStripMenuItem, "exitToolStripMenuItem");
|
|
this.exitToolStripMenuItem.Click += new System.EventHandler(this.menuExitClick);
|
|
//
|
|
// webBrowser1
|
|
//
|
|
resources.ApplyResources(this.webBrowser1, "webBrowser1");
|
|
this.webBrowser1.MinimumSize = new System.Drawing.Size(20, 20);
|
|
this.webBrowser1.Name = "webBrowser1";
|
|
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.visitorsMenuItem,
|
|
this.historyMenuItem,
|
|
this.refreshToolStripMenuItem,
|
|
this.optionsMenuItem,
|
|
this.hideToolStripMenuItem});
|
|
resources.ApplyResources(this.menuStrip1, "menuStrip1");
|
|
this.menuStrip1.Name = "menuStrip1";
|
|
this.menuStrip1.ShowItemToolTips = true;
|
|
//
|
|
// visitorsMenuItem
|
|
//
|
|
this.visitorsMenuItem.Image = global::webImTray.App.visitors;
|
|
resources.ApplyResources(this.visitorsMenuItem, "visitorsMenuItem");
|
|
this.visitorsMenuItem.Name = "visitorsMenuItem";
|
|
this.visitorsMenuItem.Click += new System.EventHandler(this.toolNavigate_Click);
|
|
//
|
|
// historyMenuItem
|
|
//
|
|
this.historyMenuItem.Image = global::webImTray.App.history;
|
|
resources.ApplyResources(this.historyMenuItem, "historyMenuItem");
|
|
this.historyMenuItem.Name = "historyMenuItem";
|
|
this.historyMenuItem.Click += new System.EventHandler(this.toolHistory_Click);
|
|
//
|
|
// refreshToolStripMenuItem
|
|
//
|
|
this.refreshToolStripMenuItem.Image = global::webImTray.App.refresh;
|
|
resources.ApplyResources(this.refreshToolStripMenuItem, "refreshToolStripMenuItem");
|
|
this.refreshToolStripMenuItem.Name = "refreshToolStripMenuItem";
|
|
this.refreshToolStripMenuItem.Click += new System.EventHandler(this.refreshToolStripMenuItem_Click);
|
|
//
|
|
// optionsMenuItem
|
|
//
|
|
this.optionsMenuItem.Image = global::webImTray.App.options;
|
|
resources.ApplyResources(this.optionsMenuItem, "optionsMenuItem");
|
|
this.optionsMenuItem.Name = "optionsMenuItem";
|
|
this.optionsMenuItem.Click += new System.EventHandler(this.optionsToolStripMenuItem1_Click);
|
|
//
|
|
// hideToolStripMenuItem
|
|
//
|
|
this.hideToolStripMenuItem.Image = global::webImTray.App.hide;
|
|
resources.ApplyResources(this.hideToolStripMenuItem, "hideToolStripMenuItem");
|
|
this.hideToolStripMenuItem.Name = "hideToolStripMenuItem";
|
|
this.hideToolStripMenuItem.Click += new System.EventHandler(this.hideApp);
|
|
//
|
|
// MainWindow
|
|
//
|
|
resources.ApplyResources(this, "$this");
|
|
this.Controls.Add(this.webBrowser1);
|
|
this.Controls.Add(this.menuStrip1);
|
|
this.MainMenuStrip = this.menuStrip1;
|
|
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.Resize += new System.EventHandler(this.FormResize);
|
|
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 hideToolStripMenuItem;
|
|
private System.Windows.Forms.ToolStripMenuItem visitorsMenuItem;
|
|
private System.Windows.Forms.ToolStripMenuItem historyMenuItem;
|
|
|
|
}
|
|
}
|