| 1 | /* |
|---|
| 2 | * $Id$ |
|---|
| 3 | * Copyright 2008 The Eraser Project |
|---|
| 4 | * Original Author: Joel Low <lowjoel@users.sourceforge.net> |
|---|
| 5 | * Modified By: |
|---|
| 6 | * |
|---|
| 7 | * This file is part of Eraser. |
|---|
| 8 | * |
|---|
| 9 | * Eraser is free software: you can redistribute it and/or modify it under the |
|---|
| 10 | * terms of the GNU General Public License as published by the Free Software |
|---|
| 11 | * Foundation, either version 3 of the License, or (at your option) any later |
|---|
| 12 | * version. |
|---|
| 13 | * |
|---|
| 14 | * Eraser is distributed in the hope that it will be useful, but WITHOUT ANY |
|---|
| 15 | * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR |
|---|
| 16 | * A PARTICULAR PURPOSE. See the GNU General Public License for more details. |
|---|
| 17 | * |
|---|
| 18 | * A copy of the GNU General Public License can be found at |
|---|
| 19 | * <http://www.gnu.org/licenses/>. |
|---|
| 20 | */ |
|---|
| 21 | |
|---|
| 22 | namespace Eraser |
|---|
| 23 | { |
|---|
| 24 | partial class MainForm |
|---|
| 25 | { |
|---|
| 26 | /// <summary> |
|---|
| 27 | /// Required designer variable. |
|---|
| 28 | /// </summary> |
|---|
| 29 | private System.ComponentModel.IContainer components = null; |
|---|
| 30 | |
|---|
| 31 | /// <summary> |
|---|
| 32 | /// Clean up any resources being used. |
|---|
| 33 | /// </summary> |
|---|
| 34 | /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> |
|---|
| 35 | protected override void Dispose(bool disposing) |
|---|
| 36 | { |
|---|
| 37 | if (disposing && (components != null)) |
|---|
| 38 | { |
|---|
| 39 | components.Dispose(); |
|---|
| 40 | } |
|---|
| 41 | base.Dispose(disposing); |
|---|
| 42 | } |
|---|
| 43 | |
|---|
| 44 | #region Windows Form Designer generated code |
|---|
| 45 | |
|---|
| 46 | /// <summary> |
|---|
| 47 | /// Required method for Designer support - do not modify |
|---|
| 48 | /// the contents of this method with the code editor. |
|---|
| 49 | /// </summary> |
|---|
| 50 | private void InitializeComponent() |
|---|
| 51 | { |
|---|
| 52 | this.components = new System.ComponentModel.Container(); |
|---|
| 53 | System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm)); |
|---|
| 54 | this.contentPanel = new System.Windows.Forms.Panel(); |
|---|
| 55 | this.tbSchedule = new System.Windows.Forms.ToolStripMenuItem(); |
|---|
| 56 | this.notificationIcon = new System.Windows.Forms.NotifyIcon(this.components); |
|---|
| 57 | this.notificationMenu = new System.Windows.Forms.ContextMenuStrip(this.components); |
|---|
| 58 | this.openEraserToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); |
|---|
| 59 | this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripSeparator(); |
|---|
| 60 | this.hideWhenMinimisedToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); |
|---|
| 61 | this.exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); |
|---|
| 62 | this.notificationIconTimer = new System.Windows.Forms.Timer(this.components); |
|---|
| 63 | this.ToolBar = new Eraser.ToolBar(); |
|---|
| 64 | this.tbScheduleDropDown = new System.Windows.Forms.ToolStripMenuItem(); |
|---|
| 65 | this.tbScheduleMenu = new System.Windows.Forms.ContextMenuStrip(this.components); |
|---|
| 66 | this.newTaskToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); |
|---|
| 67 | this.toolStripMenuItem2 = new System.Windows.Forms.ToolStripSeparator(); |
|---|
| 68 | this.exportTaskListToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); |
|---|
| 69 | this.importTaskListToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); |
|---|
| 70 | this.tbSettings = new System.Windows.Forms.ToolStripMenuItem(); |
|---|
| 71 | this.tbHelp = new System.Windows.Forms.ToolStripMenuItem(); |
|---|
| 72 | this.tbHelpDropDown = new System.Windows.Forms.ToolStripMenuItem(); |
|---|
| 73 | this.tbHelpMenu = new System.Windows.Forms.ContextMenuStrip(this.components); |
|---|
| 74 | this.checkForUpdatesToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); |
|---|
| 75 | this.aboutEraserToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); |
|---|
| 76 | this.checkForUpdatesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); |
|---|
| 77 | this.notificationMenu.SuspendLayout(); |
|---|
| 78 | this.ToolBar.SuspendLayout(); |
|---|
| 79 | this.tbScheduleMenu.SuspendLayout(); |
|---|
| 80 | this.tbHelpMenu.SuspendLayout(); |
|---|
| 81 | this.SuspendLayout(); |
|---|
| 82 | // |
|---|
| 83 | // contentPanel |
|---|
| 84 | // |
|---|
| 85 | resources.ApplyResources(this.contentPanel, "contentPanel"); |
|---|
| 86 | this.contentPanel.BackColor = System.Drawing.Color.White; |
|---|
| 87 | this.contentPanel.Name = "contentPanel"; |
|---|
| 88 | // |
|---|
| 89 | // tbSchedule |
|---|
| 90 | // |
|---|
| 91 | this.tbSchedule.Image = global::Eraser.Properties.Resources.ToolbarSchedule; |
|---|
| 92 | this.tbSchedule.Name = "tbSchedule"; |
|---|
| 93 | this.tbSchedule.Padding = new System.Windows.Forms.Padding(0); |
|---|
| 94 | resources.ApplyResources(this.tbSchedule, "tbSchedule"); |
|---|
| 95 | this.tbSchedule.Click += new System.EventHandler(this.tbSchedule_Click); |
|---|
| 96 | // |
|---|
| 97 | // notificationIcon |
|---|
| 98 | // |
|---|
| 99 | this.notificationIcon.ContextMenuStrip = this.notificationMenu; |
|---|
| 100 | resources.ApplyResources(this.notificationIcon, "notificationIcon"); |
|---|
| 101 | this.notificationIcon.DoubleClick += new System.EventHandler(this.openToolStripMenuItem_Click); |
|---|
| 102 | // |
|---|
| 103 | // notificationMenu |
|---|
| 104 | // |
|---|
| 105 | this.notificationMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { |
|---|
| 106 | this.openEraserToolStripMenuItem, |
|---|
| 107 | this.toolStripMenuItem1, |
|---|
| 108 | this.hideWhenMinimisedToolStripMenuItem, |
|---|
| 109 | this.exitToolStripMenuItem}); |
|---|
| 110 | this.notificationMenu.Name = "notificationMenu"; |
|---|
| 111 | resources.ApplyResources(this.notificationMenu, "notificationMenu"); |
|---|
| 112 | // |
|---|
| 113 | // openEraserToolStripMenuItem |
|---|
| 114 | // |
|---|
| 115 | resources.ApplyResources(this.openEraserToolStripMenuItem, "openEraserToolStripMenuItem"); |
|---|
| 116 | this.openEraserToolStripMenuItem.Name = "openEraserToolStripMenuItem"; |
|---|
| 117 | this.openEraserToolStripMenuItem.Click += new System.EventHandler(this.openToolStripMenuItem_Click); |
|---|
| 118 | // |
|---|
| 119 | // toolStripMenuItem1 |
|---|
| 120 | // |
|---|
| 121 | this.toolStripMenuItem1.Name = "toolStripMenuItem1"; |
|---|
| 122 | resources.ApplyResources(this.toolStripMenuItem1, "toolStripMenuItem1"); |
|---|
| 123 | // |
|---|
| 124 | // hideWhenMinimisedToolStripMenuItem |
|---|
| 125 | // |
|---|
| 126 | this.hideWhenMinimisedToolStripMenuItem.CheckOnClick = true; |
|---|
| 127 | this.hideWhenMinimisedToolStripMenuItem.Name = "hideWhenMinimisedToolStripMenuItem"; |
|---|
| 128 | resources.ApplyResources(this.hideWhenMinimisedToolStripMenuItem, "hideWhenMinimisedToolStripMenuItem"); |
|---|
| 129 | this.hideWhenMinimisedToolStripMenuItem.Click += new System.EventHandler(this.hideWhenMinimiseToolStripMenuItem_Click); |
|---|
| 130 | // |
|---|
| 131 | // exitToolStripMenuItem |
|---|
| 132 | // |
|---|
| 133 | this.exitToolStripMenuItem.Name = "exitToolStripMenuItem"; |
|---|
| 134 | resources.ApplyResources(this.exitToolStripMenuItem, "exitToolStripMenuItem"); |
|---|
| 135 | this.exitToolStripMenuItem.Click += new System.EventHandler(this.exitToolStripMenuItem_Click); |
|---|
| 136 | // |
|---|
| 137 | // notificationIconTimer |
|---|
| 138 | // |
|---|
| 139 | this.notificationIconTimer.Tick += new System.EventHandler(this.notificationIconTimer_Tick); |
|---|
| 140 | // |
|---|
| 141 | // ToolBar |
|---|
| 142 | // |
|---|
| 143 | this.ToolBar.AllowItemReorder = true; |
|---|
| 144 | resources.ApplyResources(this.ToolBar, "ToolBar"); |
|---|
| 145 | this.ToolBar.ImageScalingSize = new System.Drawing.Size(24, 24); |
|---|
| 146 | this.ToolBar.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { |
|---|
| 147 | this.tbSchedule, |
|---|
| 148 | this.tbScheduleDropDown, |
|---|
| 149 | this.tbSettings, |
|---|
| 150 | this.tbHelp, |
|---|
| 151 | this.tbHelpDropDown}); |
|---|
| 152 | this.ToolBar.Name = "ToolBar"; |
|---|
| 153 | // |
|---|
| 154 | // tbScheduleDropDown |
|---|
| 155 | // |
|---|
| 156 | this.tbScheduleDropDown.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; |
|---|
| 157 | this.tbScheduleDropDown.DropDown = this.tbScheduleMenu; |
|---|
| 158 | this.tbScheduleDropDown.Image = global::Eraser.Properties.Resources.ToolbarArrow; |
|---|
| 159 | resources.ApplyResources(this.tbScheduleDropDown, "tbScheduleDropDown"); |
|---|
| 160 | this.tbScheduleDropDown.Margin = new System.Windows.Forms.Padding(0, 0, 10, 0); |
|---|
| 161 | this.tbScheduleDropDown.Name = "tbScheduleDropDown"; |
|---|
| 162 | this.tbScheduleDropDown.Padding = new System.Windows.Forms.Padding(0); |
|---|
| 163 | // |
|---|
| 164 | // tbScheduleMenu |
|---|
| 165 | // |
|---|
| 166 | this.tbScheduleMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { |
|---|
| 167 | this.newTaskToolStripMenuItem, |
|---|
| 168 | this.toolStripMenuItem2, |
|---|
| 169 | this.exportTaskListToolStripMenuItem, |
|---|
| 170 | this.importTaskListToolStripMenuItem}); |
|---|
| 171 | this.tbScheduleMenu.Name = "tbScheduleMenu"; |
|---|
| 172 | this.tbScheduleMenu.OwnerItem = this.tbScheduleDropDown; |
|---|
| 173 | resources.ApplyResources(this.tbScheduleMenu, "tbScheduleMenu"); |
|---|
| 174 | // |
|---|
| 175 | // newTaskToolStripMenuItem |
|---|
| 176 | // |
|---|
| 177 | this.newTaskToolStripMenuItem.Name = "newTaskToolStripMenuItem"; |
|---|
| 178 | resources.ApplyResources(this.newTaskToolStripMenuItem, "newTaskToolStripMenuItem"); |
|---|
| 179 | this.newTaskToolStripMenuItem.Click += new System.EventHandler(this.newTaskToolStripMenuItem_Click); |
|---|
| 180 | // |
|---|
| 181 | // toolStripMenuItem2 |
|---|
| 182 | // |
|---|
| 183 | this.toolStripMenuItem2.Name = "toolStripMenuItem2"; |
|---|
| 184 | resources.ApplyResources(this.toolStripMenuItem2, "toolStripMenuItem2"); |
|---|
| 185 | // |
|---|
| 186 | // exportTaskListToolStripMenuItem |
|---|
| 187 | // |
|---|
| 188 | this.exportTaskListToolStripMenuItem.Name = "exportTaskListToolStripMenuItem"; |
|---|
| 189 | resources.ApplyResources(this.exportTaskListToolStripMenuItem, "exportTaskListToolStripMenuItem"); |
|---|
| 190 | this.exportTaskListToolStripMenuItem.Click += new System.EventHandler(this.exportTaskListToolStripMenuItem_Click); |
|---|
| 191 | // |
|---|
| 192 | // importTaskListToolStripMenuItem |
|---|
| 193 | // |
|---|
| 194 | this.importTaskListToolStripMenuItem.Name = "importTaskListToolStripMenuItem"; |
|---|
| 195 | resources.ApplyResources(this.importTaskListToolStripMenuItem, "importTaskListToolStripMenuItem"); |
|---|
| 196 | this.importTaskListToolStripMenuItem.Click += new System.EventHandler(this.importTaskListToolStripMenuItem_Click); |
|---|
| 197 | // |
|---|
| 198 | // tbSettings |
|---|
| 199 | // |
|---|
| 200 | this.tbSettings.Image = global::Eraser.Properties.Resources.ToolbarSettings; |
|---|
| 201 | this.tbSettings.Margin = new System.Windows.Forms.Padding(0, 0, 10, 0); |
|---|
| 202 | this.tbSettings.Name = "tbSettings"; |
|---|
| 203 | this.tbSettings.Padding = new System.Windows.Forms.Padding(0); |
|---|
| 204 | resources.ApplyResources(this.tbSettings, "tbSettings"); |
|---|
| 205 | this.tbSettings.Click += new System.EventHandler(this.tbSettings_Click); |
|---|
| 206 | // |
|---|
| 207 | // tbHelp |
|---|
| 208 | // |
|---|
| 209 | this.tbHelp.Image = global::Eraser.Properties.Resources.ToolbarHelp; |
|---|
| 210 | this.tbHelp.Name = "tbHelp"; |
|---|
| 211 | this.tbHelp.Padding = new System.Windows.Forms.Padding(0); |
|---|
| 212 | resources.ApplyResources(this.tbHelp, "tbHelp"); |
|---|
| 213 | // |
|---|
| 214 | // tbHelpDropDown |
|---|
| 215 | // |
|---|
| 216 | this.tbHelpDropDown.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; |
|---|
| 217 | this.tbHelpDropDown.DropDown = this.tbHelpMenu; |
|---|
| 218 | this.tbHelpDropDown.Image = global::Eraser.Properties.Resources.ToolbarArrow; |
|---|
| 219 | resources.ApplyResources(this.tbHelpDropDown, "tbHelpDropDown"); |
|---|
| 220 | this.tbHelpDropDown.Name = "tbHelpDropDown"; |
|---|
| 221 | this.tbHelpDropDown.Padding = new System.Windows.Forms.Padding(0); |
|---|
| 222 | // |
|---|
| 223 | // tbHelpMenu |
|---|
| 224 | // |
|---|
| 225 | this.tbHelpMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { |
|---|
| 226 | this.checkForUpdatesToolStripMenuItem1, |
|---|
| 227 | this.aboutEraserToolStripMenuItem}); |
|---|
| 228 | this.tbHelpMenu.Name = "tbHelpMenu"; |
|---|
| 229 | resources.ApplyResources(this.tbHelpMenu, "tbHelpMenu"); |
|---|
| 230 | // |
|---|
| 231 | // checkForUpdatesToolStripMenuItem1 |
|---|
| 232 | // |
|---|
| 233 | this.checkForUpdatesToolStripMenuItem1.Name = "checkForUpdatesToolStripMenuItem1"; |
|---|
| 234 | resources.ApplyResources(this.checkForUpdatesToolStripMenuItem1, "checkForUpdatesToolStripMenuItem1"); |
|---|
| 235 | this.checkForUpdatesToolStripMenuItem1.Click += new System.EventHandler(this.checkForUpdatesToolStripMenuItem_Click); |
|---|
| 236 | // |
|---|
| 237 | // aboutEraserToolStripMenuItem |
|---|
| 238 | // |
|---|
| 239 | this.aboutEraserToolStripMenuItem.Name = "aboutEraserToolStripMenuItem"; |
|---|
| 240 | resources.ApplyResources(this.aboutEraserToolStripMenuItem, "aboutEraserToolStripMenuItem"); |
|---|
| 241 | this.aboutEraserToolStripMenuItem.Click += new System.EventHandler(this.aboutEraserToolStripMenuItem_Click); |
|---|
| 242 | // |
|---|
| 243 | // checkForUpdatesToolStripMenuItem |
|---|
| 244 | // |
|---|
| 245 | this.checkForUpdatesToolStripMenuItem.Name = "checkForUpdatesToolStripMenuItem"; |
|---|
| 246 | resources.ApplyResources(this.checkForUpdatesToolStripMenuItem, "checkForUpdatesToolStripMenuItem"); |
|---|
| 247 | this.checkForUpdatesToolStripMenuItem.Click += new System.EventHandler(this.checkForUpdatesToolStripMenuItem_Click); |
|---|
| 248 | // |
|---|
| 249 | // MainForm |
|---|
| 250 | // |
|---|
| 251 | resources.ApplyResources(this, "$this"); |
|---|
| 252 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi; |
|---|
| 253 | this.BackColor = System.Drawing.SystemColors.Control; |
|---|
| 254 | this.Controls.Add(this.contentPanel); |
|---|
| 255 | this.Controls.Add(this.ToolBar); |
|---|
| 256 | this.DoubleBuffered = true; |
|---|
| 257 | this.MainMenuStrip = this.ToolBar; |
|---|
| 258 | this.Name = "MainForm"; |
|---|
| 259 | this.Paint += new System.Windows.Forms.PaintEventHandler(this.MainForm_Paint); |
|---|
| 260 | this.VisibleChanged += new System.EventHandler(this.MainForm_VisibleChanged); |
|---|
| 261 | this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.MainForm_FormClosing); |
|---|
| 262 | this.Resize += new System.EventHandler(this.MainForm_Resize); |
|---|
| 263 | this.notificationMenu.ResumeLayout(false); |
|---|
| 264 | this.ToolBar.ResumeLayout(false); |
|---|
| 265 | this.ToolBar.PerformLayout(); |
|---|
| 266 | this.tbScheduleMenu.ResumeLayout(false); |
|---|
| 267 | this.tbHelpMenu.ResumeLayout(false); |
|---|
| 268 | this.ResumeLayout(false); |
|---|
| 269 | this.PerformLayout(); |
|---|
| 270 | |
|---|
| 271 | } |
|---|
| 272 | |
|---|
| 273 | #endregion |
|---|
| 274 | |
|---|
| 275 | private System.Windows.Forms.Panel contentPanel; |
|---|
| 276 | private System.Windows.Forms.NotifyIcon notificationIcon; |
|---|
| 277 | private System.Windows.Forms.Timer notificationIconTimer; |
|---|
| 278 | private System.Windows.Forms.ContextMenuStrip notificationMenu; |
|---|
| 279 | private System.Windows.Forms.ToolStripMenuItem openEraserToolStripMenuItem; |
|---|
| 280 | private System.Windows.Forms.ToolStripSeparator toolStripMenuItem1; |
|---|
| 281 | private System.Windows.Forms.ToolStripMenuItem exitToolStripMenuItem; |
|---|
| 282 | private System.Windows.Forms.ToolStripMenuItem hideWhenMinimisedToolStripMenuItem; |
|---|
| 283 | private ToolBar ToolBar; |
|---|
| 284 | private System.Windows.Forms.ToolStripMenuItem tbSchedule; |
|---|
| 285 | private System.Windows.Forms.ToolStripMenuItem tbSettings; |
|---|
| 286 | private System.Windows.Forms.ToolStripMenuItem checkForUpdatesToolStripMenuItem; |
|---|
| 287 | private System.Windows.Forms.ToolStripMenuItem tbHelp; |
|---|
| 288 | private System.Windows.Forms.ToolStripMenuItem tbScheduleDropDown; |
|---|
| 289 | private System.Windows.Forms.ToolStripMenuItem tbHelpDropDown; |
|---|
| 290 | private System.Windows.Forms.ContextMenuStrip tbScheduleMenu; |
|---|
| 291 | private System.Windows.Forms.ToolStripMenuItem newTaskToolStripMenuItem; |
|---|
| 292 | private System.Windows.Forms.ContextMenuStrip tbHelpMenu; |
|---|
| 293 | private System.Windows.Forms.ToolStripMenuItem checkForUpdatesToolStripMenuItem1; |
|---|
| 294 | private System.Windows.Forms.ToolStripMenuItem aboutEraserToolStripMenuItem; |
|---|
| 295 | private System.Windows.Forms.ToolStripSeparator toolStripMenuItem2; |
|---|
| 296 | private System.Windows.Forms.ToolStripMenuItem exportTaskListToolStripMenuItem; |
|---|
| 297 | private System.Windows.Forms.ToolStripMenuItem importTaskListToolStripMenuItem; |
|---|
| 298 | } |
|---|
| 299 | } |
|---|