misu – Diff between revs 3 and 5

Subversion Repositories:
Rev:
Show entire fileIgnore whitespace
Rev 3 Rev 5
Line 29... Line 29...
29 private void InitializeComponent() 29 private void InitializeComponent()
30 { 30 {
31 this.components = new System.ComponentModel.Container(); 31 this.components = new System.ComponentModel.Container();
32 System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MisuMainForm)); 32 System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MisuMainForm));
33 this.misuNotificationIcon = new System.Windows.Forms.NotifyIcon(this.components); 33 this.misuNotificationIcon = new System.Windows.Forms.NotifyIcon(this.components);
34 this.misu = new System.Windows.Forms.ContextMenuStrip(this.components); 34 this.misuContextMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components);
35 this.bindKeyToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); 35 this.bindKeyToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
36 this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); 36 this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
37 this.settingsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); 37 this.settingsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
38 this.launchOnBootToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); 38 this.launchOnBootToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
39 this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator(); 39 this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator();
40 this.mouseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); 40 this.mouseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
41 this.keyboardToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); 41 this.keyboardToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
42 this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); 42 this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
43 this.aboutToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); 43 this.aboutToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
44 this.quitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); 44 this.quitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
45 this.misu.SuspendLayout(); 45 this.misuContextMenuStrip.SuspendLayout();
46 this.SuspendLayout(); 46 this.SuspendLayout();
47 // 47 //
48 // misuNotificationIcon 48 // misuNotificationIcon
49 // 49 //
50 this.misuNotificationIcon.ContextMenuStrip = this.misu; 50 this.misuNotificationIcon.ContextMenuStrip = this.misuContextMenuStrip;
51 this.misuNotificationIcon.Icon = ((System.Drawing.Icon)(resources.GetObject("misuNotificationIcon.Icon"))); 51 this.misuNotificationIcon.Icon = ((System.Drawing.Icon)(resources.GetObject("misuNotificationIcon.Icon")));
52 this.misuNotificationIcon.Text = "misu"; 52 this.misuNotificationIcon.Text = "misu";
53 this.misuNotificationIcon.Visible = true; 53 this.misuNotificationIcon.Visible = true;
54 // 54 //
55 // misu 55 // misuContextMenuStrip
56 // 56 //
57 this.misu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { 57 this.misuContextMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
58 this.bindKeyToolStripMenuItem, 58 this.bindKeyToolStripMenuItem,
59 this.toolStripSeparator2, 59 this.toolStripSeparator2,
60 this.settingsToolStripMenuItem, 60 this.settingsToolStripMenuItem,
61 this.toolStripSeparator1, 61 this.toolStripSeparator1,
62 this.aboutToolStripMenuItem, 62 this.aboutToolStripMenuItem,
63 this.quitToolStripMenuItem}); 63 this.quitToolStripMenuItem});
64 this.misu.Name = "contextMenuStrip1"; 64 this.misuContextMenuStrip.Name = "contextMenuStrip1";
65 this.misu.Size = new System.Drawing.Size(166, 104); 65 this.misuContextMenuStrip.Size = new System.Drawing.Size(166, 104);
66 this.misu.Opening += new System.ComponentModel.CancelEventHandler(this.ContextMenuStrip_Opening); 66 this.misuContextMenuStrip.Opening += new System.ComponentModel.CancelEventHandler(this.ContextMenuStrip_Opening);
67 // 67 //
68 // bindKeyToolStripMenuItem 68 // bindKeyToolStripMenuItem
69 // 69 //
-   70 this.bindKeyToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("bindKeyToolStripMenuItem.Image")));
70 this.bindKeyToolStripMenuItem.Name = "bindKeyToolStripMenuItem"; 71 this.bindKeyToolStripMenuItem.Name = "bindKeyToolStripMenuItem";
71 this.bindKeyToolStripMenuItem.Size = new System.Drawing.Size(165, 22); 72 this.bindKeyToolStripMenuItem.Size = new System.Drawing.Size(165, 22);
72 this.bindKeyToolStripMenuItem.Text = "Create Shortcut..."; 73 this.bindKeyToolStripMenuItem.Text = "Create Shortcut...";
73 this.bindKeyToolStripMenuItem.Click += new System.EventHandler(this.OnContextMenuBindKeyClick); 74 this.bindKeyToolStripMenuItem.Click += new System.EventHandler(this.OnContextMenuBindKeyClick);
74 // 75 //
Line 82... Line 83...
82 this.settingsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { 83 this.settingsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
83 this.launchOnBootToolStripMenuItem, 84 this.launchOnBootToolStripMenuItem,
84 this.toolStripSeparator3, 85 this.toolStripSeparator3,
85 this.mouseToolStripMenuItem, 86 this.mouseToolStripMenuItem,
86 this.keyboardToolStripMenuItem}); 87 this.keyboardToolStripMenuItem});
-   88 this.settingsToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("settingsToolStripMenuItem.Image")));
87 this.settingsToolStripMenuItem.Name = "settingsToolStripMenuItem"; 89 this.settingsToolStripMenuItem.Name = "settingsToolStripMenuItem";
88 this.settingsToolStripMenuItem.Size = new System.Drawing.Size(165, 22); 90 this.settingsToolStripMenuItem.Size = new System.Drawing.Size(165, 22);
89 this.settingsToolStripMenuItem.Text = "Settings"; 91 this.settingsToolStripMenuItem.Text = "Settings";
90 // 92 //
91 // launchOnBootToolStripMenuItem 93 // launchOnBootToolStripMenuItem
92 // 94 //
93 this.launchOnBootToolStripMenuItem.CheckOnClick = true; 95 this.launchOnBootToolStripMenuItem.CheckOnClick = true;
-   96 this.launchOnBootToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("launchOnBootToolStripMenuItem.Image")));
94 this.launchOnBootToolStripMenuItem.Name = "launchOnBootToolStripMenuItem"; 97 this.launchOnBootToolStripMenuItem.Name = "launchOnBootToolStripMenuItem";
95 this.launchOnBootToolStripMenuItem.Size = new System.Drawing.Size(158, 22); 98 this.launchOnBootToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
96 this.launchOnBootToolStripMenuItem.Text = "Launch on Boot"; 99 this.launchOnBootToolStripMenuItem.Text = "Launch on Boot";
97 this.launchOnBootToolStripMenuItem.CheckedChanged += new System.EventHandler(this.OnContextMenuLaunchOnBootChanged); 100 this.launchOnBootToolStripMenuItem.CheckedChanged += new System.EventHandler(this.OnContextMenuLaunchOnBootChanged);
98 // 101 //
99 // toolStripSeparator3 102 // toolStripSeparator3
100 // 103 //
101 this.toolStripSeparator3.Name = "toolStripSeparator3"; 104 this.toolStripSeparator3.Name = "toolStripSeparator3";
102 this.toolStripSeparator3.Size = new System.Drawing.Size(155, 6); 105 this.toolStripSeparator3.Size = new System.Drawing.Size(177, 6);
103 // 106 //
104 // mouseToolStripMenuItem 107 // mouseToolStripMenuItem
105 // 108 //
106 this.mouseToolStripMenuItem.CheckOnClick = true; 109 this.mouseToolStripMenuItem.CheckOnClick = true;
-   110 this.mouseToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("mouseToolStripMenuItem.Image")));
107 this.mouseToolStripMenuItem.Name = "mouseToolStripMenuItem"; 111 this.mouseToolStripMenuItem.Name = "mouseToolStripMenuItem";
108 this.mouseToolStripMenuItem.Size = new System.Drawing.Size(158, 22); 112 this.mouseToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
109 this.mouseToolStripMenuItem.Text = "Mouse"; 113 this.mouseToolStripMenuItem.Text = "Mouse";
110 this.mouseToolStripMenuItem.CheckedChanged += new System.EventHandler(this.MouseToolStripMenuItem_CheckedChanged); 114 this.mouseToolStripMenuItem.CheckedChanged += new System.EventHandler(this.MouseToolStripMenuItem_CheckedChanged);
111 // 115 //
112 // keyboardToolStripMenuItem 116 // keyboardToolStripMenuItem
113 // 117 //
114 this.keyboardToolStripMenuItem.Checked = true; 118 this.keyboardToolStripMenuItem.Checked = true;
115 this.keyboardToolStripMenuItem.CheckOnClick = true; 119 this.keyboardToolStripMenuItem.CheckOnClick = true;
116 this.keyboardToolStripMenuItem.CheckState = System.Windows.Forms.CheckState.Checked; 120 this.keyboardToolStripMenuItem.CheckState = System.Windows.Forms.CheckState.Checked;
-   121 this.keyboardToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("keyboardToolStripMenuItem.Image")));
117 this.keyboardToolStripMenuItem.Name = "keyboardToolStripMenuItem"; 122 this.keyboardToolStripMenuItem.Name = "keyboardToolStripMenuItem";
118 this.keyboardToolStripMenuItem.Size = new System.Drawing.Size(158, 22); 123 this.keyboardToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
119 this.keyboardToolStripMenuItem.Text = "Keyboard"; 124 this.keyboardToolStripMenuItem.Text = "Keyboard";
120 this.keyboardToolStripMenuItem.CheckedChanged += new System.EventHandler(this.KeyboardToolStripMenuItem_CheckedChanged); 125 this.keyboardToolStripMenuItem.CheckedChanged += new System.EventHandler(this.KeyboardToolStripMenuItem_CheckedChanged);
121 // 126 //
122 // toolStripSeparator1 127 // toolStripSeparator1
123 // 128 //
124 this.toolStripSeparator1.Name = "toolStripSeparator1"; 129 this.toolStripSeparator1.Name = "toolStripSeparator1";
125 this.toolStripSeparator1.Size = new System.Drawing.Size(162, 6); 130 this.toolStripSeparator1.Size = new System.Drawing.Size(162, 6);
126 // 131 //
127 // aboutToolStripMenuItem 132 // aboutToolStripMenuItem
128 // 133 //
-   134 this.aboutToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("aboutToolStripMenuItem.Image")));
129 this.aboutToolStripMenuItem.Name = "aboutToolStripMenuItem"; 135 this.aboutToolStripMenuItem.Name = "aboutToolStripMenuItem";
130 this.aboutToolStripMenuItem.Size = new System.Drawing.Size(165, 22); 136 this.aboutToolStripMenuItem.Size = new System.Drawing.Size(165, 22);
131 this.aboutToolStripMenuItem.Text = "About..."; 137 this.aboutToolStripMenuItem.Text = "About...";
132 this.aboutToolStripMenuItem.Click += new System.EventHandler(this.OnContextMenuAboutClick); 138 this.aboutToolStripMenuItem.Click += new System.EventHandler(this.OnContextMenuAboutClick);
133 // 139 //
134 // quitToolStripMenuItem 140 // quitToolStripMenuItem
135 // 141 //
-   142 this.quitToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("quitToolStripMenuItem.Image")));
136 this.quitToolStripMenuItem.Name = "quitToolStripMenuItem"; 143 this.quitToolStripMenuItem.Name = "quitToolStripMenuItem";
137 this.quitToolStripMenuItem.Size = new System.Drawing.Size(165, 22); 144 this.quitToolStripMenuItem.Size = new System.Drawing.Size(165, 22);
138 this.quitToolStripMenuItem.Text = "Quit"; 145 this.quitToolStripMenuItem.Text = "Quit";
139 this.quitToolStripMenuItem.Click += new System.EventHandler(this.OnContextMenuQuitClick); 146 this.quitToolStripMenuItem.Click += new System.EventHandler(this.OnContextMenuQuitClick);
140 // 147 //
141 // misuMainForm 148 // MisuMainForm
142 // 149 //
143 this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); 150 this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
144 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 151 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
145 this.ClientSize = new System.Drawing.Size(800, 450); 152 this.ClientSize = new System.Drawing.Size(800, 450);
146 this.Name = "MisuMainForm"; 153 this.Name = "MisuMainForm";
147 this.ShowInTaskbar = false; 154 this.ShowInTaskbar = false;
148 this.Text = "misu"; 155 this.Text = "misu";
149 this.misu.ResumeLayout(false); 156 this.misuContextMenuStrip.ResumeLayout(false);
150 this.ResumeLayout(false); 157 this.ResumeLayout(false);
Line 151... Line 158...
151   158  
Line 152... Line 159...
152 } 159 }
Line 153... Line 160...
153   160  
154 #endregion 161 #endregion
155   162  
156 private System.Windows.Forms.NotifyIcon misuNotificationIcon; 163 private System.Windows.Forms.NotifyIcon misuNotificationIcon;
157 private System.Windows.Forms.ContextMenuStrip misu; 164 private System.Windows.Forms.ContextMenuStrip misuContextMenuStrip;
158 private System.Windows.Forms.ToolStripSeparator toolStripSeparator1; 165 private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
159 private System.Windows.Forms.ToolStripMenuItem aboutToolStripMenuItem; 166 private System.Windows.Forms.ToolStripMenuItem aboutToolStripMenuItem;