X-Aim – Diff between revs 1 and 3

Subversion Repositories:
Rev:
Show entire fileIgnore whitespace
Rev 1 Rev 3
Line -... Line 1...
-   1 using X_Aim.Controls;
-   2  
1 namespace X_Aim 3 namespace X_Aim
2 { 4 {
3 partial class Form1 5 partial class Form1
4 { 6 {
5 /// <summary> 7 /// <summary>
6 /// Required designer variable. 8 /// Required designer variable.
Line 30... Line 32...
30 { 32 {
31 this.components = new System.ComponentModel.Container(); 33 this.components = new System.ComponentModel.Container();
32 System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); 34 System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
33 this.notifyIcon1 = new System.Windows.Forms.NotifyIcon(this.components); 35 this.notifyIcon1 = new System.Windows.Forms.NotifyIcon(this.components);
34 this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components); 36 this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components);
-   37 this.enableToolStripMenuItem = new X_Aim.Controls.BindableToolStripMenuItem();
-   38 this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
35 this.quitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); 39 this.settingsToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
-   40 this.startWithWindowsToolStripMenuItem = new X_Aim.Controls.BindableToolStripMenuItem();
-   41 this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
36 this.aboutToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); 42 this.aboutToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
-   43 this.quitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
37 this.contextMenuStrip1.SuspendLayout(); 44 this.contextMenuStrip1.SuspendLayout();
38 this.SuspendLayout(); 45 this.SuspendLayout();
39 // 46 //
40 // notifyIcon1 47 // notifyIcon1
41 // 48 //
Line 45... Line 52...
45 this.notifyIcon1.Visible = true; 52 this.notifyIcon1.Visible = true;
46 // 53 //
47 // contextMenuStrip1 54 // contextMenuStrip1
48 // 55 //
49 this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { 56 this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
-   57 this.enableToolStripMenuItem,
-   58 this.toolStripSeparator2,
-   59 this.settingsToolStripMenuItem1,
-   60 this.toolStripSeparator1,
50 this.aboutToolStripMenuItem, 61 this.aboutToolStripMenuItem,
51 this.quitToolStripMenuItem}); 62 this.quitToolStripMenuItem});
52 this.contextMenuStrip1.Name = "contextMenuStrip1"; 63 this.contextMenuStrip1.Name = "contextMenuStrip1";
53 this.contextMenuStrip1.Size = new System.Drawing.Size(144, 48); 64 this.contextMenuStrip1.Size = new System.Drawing.Size(144, 104);
54 // 65 //
55 // quitToolStripMenuItem 66 // enableToolStripMenuItem
56 // 67 //
57 this.quitToolStripMenuItem.Image = global::X_Aim.Properties.Resources.quit; 68 this.enableToolStripMenuItem.Checked = global::X_Aim.Properties.Settings.Default.Enable;
-   69 this.enableToolStripMenuItem.CheckOnClick = true;
-   70 this.enableToolStripMenuItem.CheckState = System.Windows.Forms.CheckState.Checked;
-   71 this.enableToolStripMenuItem.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::X_Aim.Properties.Settings.Default, "Enable", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
58 this.quitToolStripMenuItem.Name = "quitToolStripMenuItem"; 72 this.enableToolStripMenuItem.Name = "enableToolStripMenuItem";
59 this.quitToolStripMenuItem.Size = new System.Drawing.Size(143, 22); 73 this.enableToolStripMenuItem.Size = new System.Drawing.Size(143, 22);
60 this.quitToolStripMenuItem.Text = "Quit"; 74 this.enableToolStripMenuItem.Text = "Enable";
61 this.quitToolStripMenuItem.Click += new System.EventHandler(this.quitToolStripMenuItem_Click); 75 this.enableToolStripMenuItem.CheckStateChanged += new System.EventHandler(this.Enable_OnCheckStateChanged);
-   76 //
-   77 // toolStripSeparator2
-   78 //
-   79 this.toolStripSeparator2.Name = "toolStripSeparator2";
-   80 this.toolStripSeparator2.Size = new System.Drawing.Size(140, 6);
-   81 //
-   82 // settingsToolStripMenuItem1
-   83 //
-   84 this.settingsToolStripMenuItem1.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
-   85 this.startWithWindowsToolStripMenuItem});
-   86 this.settingsToolStripMenuItem1.Name = "settingsToolStripMenuItem1";
-   87 this.settingsToolStripMenuItem1.Size = new System.Drawing.Size(143, 22);
-   88 this.settingsToolStripMenuItem1.Text = "Settings";
-   89 //
-   90 // startWithWindowsToolStripMenuItem
-   91 //
-   92 this.startWithWindowsToolStripMenuItem.Checked = global::X_Aim.Properties.Settings.Default.StartWithWindows;
-   93 this.startWithWindowsToolStripMenuItem.CheckOnClick = true;
-   94 this.startWithWindowsToolStripMenuItem.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::X_Aim.Properties.Settings.Default, "StartWithWindows", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
-   95 this.startWithWindowsToolStripMenuItem.Name = "startWithWindowsToolStripMenuItem";
-   96 this.startWithWindowsToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
-   97 this.startWithWindowsToolStripMenuItem.Text = "Start with Windows";
-   98 this.startWithWindowsToolStripMenuItem.CheckStateChanged += new System.EventHandler(this.StartWithWindows_OnCheckStateChanged);
-   99 //
-   100 // toolStripSeparator1
-   101 //
-   102 this.toolStripSeparator1.Name = "toolStripSeparator1";
-   103 this.toolStripSeparator1.Size = new System.Drawing.Size(140, 6);
62 // 104 //
63 // aboutToolStripMenuItem 105 // aboutToolStripMenuItem
64 // 106 //
65 this.aboutToolStripMenuItem.Image = global::X_Aim.Properties.Resources.help; 107 this.aboutToolStripMenuItem.Image = global::X_Aim.Properties.Resources.help;
66 this.aboutToolStripMenuItem.Name = "aboutToolStripMenuItem"; 108 this.aboutToolStripMenuItem.Name = "aboutToolStripMenuItem";
67 this.aboutToolStripMenuItem.Size = new System.Drawing.Size(143, 22); 109 this.aboutToolStripMenuItem.Size = new System.Drawing.Size(143, 22);
68 this.aboutToolStripMenuItem.Text = "Help / About"; 110 this.aboutToolStripMenuItem.Text = "Help / About";
69 this.aboutToolStripMenuItem.Click += new System.EventHandler(this.aboutToolStripMenuItem_Click); 111 this.aboutToolStripMenuItem.Click += new System.EventHandler(this.aboutToolStripMenuItem_Click);
70 // 112 //
-   113 // quitToolStripMenuItem
-   114 //
-   115 this.quitToolStripMenuItem.Image = global::X_Aim.Properties.Resources.quit;
-   116 this.quitToolStripMenuItem.Name = "quitToolStripMenuItem";
-   117 this.quitToolStripMenuItem.Size = new System.Drawing.Size(143, 22);
-   118 this.quitToolStripMenuItem.Text = "Quit";
-   119 this.quitToolStripMenuItem.Click += new System.EventHandler(this.quitToolStripMenuItem_Click);
-   120 //
71 // Form1 121 // Form1
72 // 122 //
73 this.AllowDrop = true; 123 this.AllowDrop = true;
74 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; 124 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
75 this.BackColor = System.Drawing.Color.White; 125 this.BackColor = System.Drawing.Color.White;
Line 86... Line 136...
86 this.ShowIcon = false; 136 this.ShowIcon = false;
87 this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide; 137 this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide;
88 this.Text = "Form1"; 138 this.Text = "Form1";
89 this.TopMost = true; 139 this.TopMost = true;
90 this.TransparencyKey = System.Drawing.Color.White; 140 this.TransparencyKey = System.Drawing.Color.White;
-   141 this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.OnFormClosing);
91 this.Load += new System.EventHandler(this.OnLoad); 142 this.Load += new System.EventHandler(this.OnLoad);
92 this.DragDrop += new System.Windows.Forms.DragEventHandler(this.OnDragDrop); 143 this.DragDrop += new System.Windows.Forms.DragEventHandler(this.OnDragDrop);
93 this.DragEnter += new System.Windows.Forms.DragEventHandler(this.OnDragEnter); 144 this.DragEnter += new System.Windows.Forms.DragEventHandler(this.OnDragEnter);
94 this.MouseDown += new System.Windows.Forms.MouseEventHandler(this.OnMouseDown); 145 this.MouseDown += new System.Windows.Forms.MouseEventHandler(this.OnMouseDown);
95 this.MouseMove += new System.Windows.Forms.MouseEventHandler(this.OnMouseMove); 146 this.MouseMove += new System.Windows.Forms.MouseEventHandler(this.OnMouseMove);
Line 103... Line 154...
103   154  
104 private System.Windows.Forms.NotifyIcon notifyIcon1; 155 private System.Windows.Forms.NotifyIcon notifyIcon1;
105 private System.Windows.Forms.ContextMenuStrip contextMenuStrip1; 156 private System.Windows.Forms.ContextMenuStrip contextMenuStrip1;
106 private System.Windows.Forms.ToolStripMenuItem aboutToolStripMenuItem; 157 private System.Windows.Forms.ToolStripMenuItem aboutToolStripMenuItem;
-   158 private System.Windows.Forms.ToolStripMenuItem quitToolStripMenuItem;
-   159 private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
-   160 private BindableToolStripMenuItem enableToolStripMenuItem;
-   161 private System.Windows.Forms.ToolStripSeparator toolStripSeparator2;
-   162 private System.Windows.Forms.ToolStripMenuItem settingsToolStripMenuItem1;
107 private System.Windows.Forms.ToolStripMenuItem quitToolStripMenuItem; 163 private BindableToolStripMenuItem startWithWindowsToolStripMenuItem;
108 } 164 }