mirror of
https://github.com/chylex/TweetDuck.git
synced 2025-04-28 09:15:46 +02:00
90 lines
4.4 KiB
C#
90 lines
4.4 KiB
C#
namespace TweetDck.Core {
|
|
partial class TrayIcon {
|
|
/// <summary>
|
|
/// Required designer variable.
|
|
/// </summary>
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
/// <summary>
|
|
/// Clean up any resources being used.
|
|
/// </summary>
|
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
protected override void Dispose(bool disposing) {
|
|
if (disposing && (components != null)) {
|
|
components.Dispose();
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
#region Component 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();
|
|
this.notifyIcon = new System.Windows.Forms.NotifyIcon(this.components);
|
|
this.contextMenu = new System.Windows.Forms.ContextMenuStrip(this.components);
|
|
this.restoreToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.muteNotificationsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.closeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.contextMenu.SuspendLayout();
|
|
//
|
|
// notifyIcon
|
|
//
|
|
this.notifyIcon.ContextMenuStrip = this.contextMenu;
|
|
this.notifyIcon.Icon = global::TweetDck.Properties.Resources.icon_tray;
|
|
this.notifyIcon.MouseClick += new System.Windows.Forms.MouseEventHandler(this.trayIcon_MouseClick);
|
|
//
|
|
// contextMenu
|
|
//
|
|
this.contextMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
this.restoreToolStripMenuItem,
|
|
this.muteNotificationsToolStripMenuItem,
|
|
this.closeToolStripMenuItem});
|
|
this.contextMenu.Name = "contextMenuTray";
|
|
this.contextMenu.ShowCheckMargin = true;
|
|
this.contextMenu.ShowImageMargin = false;
|
|
this.contextMenu.ShowItemToolTips = false;
|
|
this.contextMenu.Size = new System.Drawing.Size(174, 92);
|
|
this.contextMenu.Opening += new System.ComponentModel.CancelEventHandler(this.contextMenuTray_Opening);
|
|
this.contextMenu.Opened += new System.EventHandler(this.contextMenuTray_Opened);
|
|
//
|
|
// restoreToolStripMenuItem
|
|
//
|
|
this.restoreToolStripMenuItem.Name = "restoreToolStripMenuItem";
|
|
this.restoreToolStripMenuItem.Size = new System.Drawing.Size(173, 22);
|
|
this.restoreToolStripMenuItem.Text = "Restore";
|
|
this.restoreToolStripMenuItem.Click += new System.EventHandler(this.restoreToolStripMenuItem_Click);
|
|
//
|
|
// muteNotificationsToolStripMenuItem
|
|
//
|
|
this.muteNotificationsToolStripMenuItem.CheckOnClick = true;
|
|
this.muteNotificationsToolStripMenuItem.Name = "muteNotificationsToolStripMenuItem";
|
|
this.muteNotificationsToolStripMenuItem.Size = new System.Drawing.Size(173, 22);
|
|
this.muteNotificationsToolStripMenuItem.Text = "Mute Notifications";
|
|
this.muteNotificationsToolStripMenuItem.CheckedChanged += new System.EventHandler(this.muteNotificationsToolStripMenuItem_CheckedChanged);
|
|
//
|
|
// closeToolStripMenuItem
|
|
//
|
|
this.closeToolStripMenuItem.Name = "closeToolStripMenuItem";
|
|
this.closeToolStripMenuItem.Size = new System.Drawing.Size(173, 22);
|
|
this.closeToolStripMenuItem.Text = "Close";
|
|
this.closeToolStripMenuItem.Click += new System.EventHandler(this.closeToolStripMenuItem_Click);
|
|
//
|
|
// TrayIcon
|
|
//
|
|
this.contextMenu.ResumeLayout(false);
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.NotifyIcon notifyIcon;
|
|
private System.Windows.Forms.ContextMenuStrip contextMenu;
|
|
private System.Windows.Forms.ToolStripMenuItem restoreToolStripMenuItem;
|
|
private System.Windows.Forms.ToolStripMenuItem closeToolStripMenuItem;
|
|
private System.Windows.Forms.ToolStripMenuItem muteNotificationsToolStripMenuItem;
|
|
}
|
|
}
|