ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/NexusPowerControl/trunk/NexusPowerControl/MainUI.Designer.cs
Revision: 39
Committed: Tue Oct 25 10:31:31 2011 UTC (11 years, 7 months ago) by william
File size: 9631 byte(s)
Log Message:
re-arrange theme buttons on MainUI

File Contents

# Content
1 namespace NexusPowerControl
2 {
3 partial class MainUI
4 {
5 /// <summary>
6 /// Required designer variable.
7 /// </summary>
8 private System.ComponentModel.IContainer components = null;
9
10 /// <summary>
11 /// Clean up any resources being used.
12 /// </summary>
13 /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
14 protected override void Dispose(bool disposing)
15 {
16 if (disposing && (components != null))
17 {
18 components.Dispose();
19 }
20 base.Dispose(disposing);
21 }
22
23 #region Windows Form Designer generated code
24
25 /// <summary>
26 /// Required method for Designer support - do not modify
27 /// the contents of this method with the code editor.
28 /// </summary>
29 private void InitializeComponent()
30 {
31 System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainUI));
32 this.pic_main = new System.Windows.Forms.PictureBox();
33 this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel();
34 this.btnShutdown = new NexusPowerControl.ThemeButton();
35 this.btnRestart = new NexusPowerControl.ThemeButton();
36 this.btnLogoff = new NexusPowerControl.ThemeButton();
37 this.btnLockScreen = new NexusPowerControl.ThemeButton();
38 this.btnSleep = new NexusPowerControl.ThemeButton();
39 this.btnClose = new NexusPowerControl.ThemeButton();
40 ((System.ComponentModel.ISupportInitialize)(this.pic_main)).BeginInit();
41 this.flowLayoutPanel1.SuspendLayout();
42 this.SuspendLayout();
43 //
44 // pic_main
45 //
46 this.pic_main.Dock = System.Windows.Forms.DockStyle.Fill;
47 this.pic_main.Image = ((System.Drawing.Image)(resources.GetObject("pic_main.Image")));
48 this.pic_main.Location = new System.Drawing.Point(0, 0);
49 this.pic_main.Margin = new System.Windows.Forms.Padding(0);
50 this.pic_main.Name = "pic_main";
51 this.pic_main.Size = new System.Drawing.Size(800, 223);
52 this.pic_main.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
53 this.pic_main.TabIndex = 4;
54 this.pic_main.TabStop = false;
55 //
56 // flowLayoutPanel1
57 //
58 this.flowLayoutPanel1.AutoSize = true;
59 this.flowLayoutPanel1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
60 this.flowLayoutPanel1.BackColor = System.Drawing.Color.Black;
61 this.flowLayoutPanel1.Controls.Add(this.btnClose);
62 this.flowLayoutPanel1.Controls.Add(this.btnLockScreen);
63 this.flowLayoutPanel1.Controls.Add(this.btnLogoff);
64 this.flowLayoutPanel1.Controls.Add(this.btnSleep);
65 this.flowLayoutPanel1.Controls.Add(this.btnRestart);
66 this.flowLayoutPanel1.Controls.Add(this.btnShutdown);
67 this.flowLayoutPanel1.Location = new System.Drawing.Point(50, 50);
68 this.flowLayoutPanel1.Name = "flowLayoutPanel1";
69 this.flowLayoutPanel1.Size = new System.Drawing.Size(696, 116);
70 this.flowLayoutPanel1.TabIndex = 5;
71 //
72 // btnShutdown
73 //
74 this.btnShutdown.ForeColor = System.Drawing.Color.White;
75 this.btnShutdown.Image = global::NexusPowerControl.Properties.Resources.missing;
76 this.btnShutdown.Location = new System.Drawing.Point(590, 10);
77 this.btnShutdown.Margin = new System.Windows.Forms.Padding(10);
78 this.btnShutdown.Name = "btnShutdown";
79 this.btnShutdown.Size = new System.Drawing.Size(96, 96);
80 this.btnShutdown.TabIndex = 0;
81 this.btnShutdown.Text = "Shutdown";
82 this.btnShutdown.ToolTipText = "test";
83 this.btnShutdown.Click += new System.EventHandler(this.btnShutdown_Click);
84 //
85 // btnRestart
86 //
87 this.btnRestart.ForeColor = System.Drawing.Color.White;
88 this.btnRestart.Image = global::NexusPowerControl.Properties.Resources.missing;
89 this.btnRestart.Location = new System.Drawing.Point(474, 10);
90 this.btnRestart.Margin = new System.Windows.Forms.Padding(10);
91 this.btnRestart.Name = "btnRestart";
92 this.btnRestart.Size = new System.Drawing.Size(96, 96);
93 this.btnRestart.TabIndex = 1;
94 this.btnRestart.Text = "Restart";
95 this.btnRestart.ToolTipText = "";
96 this.btnRestart.Click += new System.EventHandler(this.btnRestart_Click);
97 //
98 // btnLogoff
99 //
100 this.btnLogoff.ForeColor = System.Drawing.Color.White;
101 this.btnLogoff.Image = global::NexusPowerControl.Properties.Resources.missing;
102 this.btnLogoff.Location = new System.Drawing.Point(242, 10);
103 this.btnLogoff.Margin = new System.Windows.Forms.Padding(10);
104 this.btnLogoff.Name = "btnLogoff";
105 this.btnLogoff.Size = new System.Drawing.Size(96, 96);
106 this.btnLogoff.TabIndex = 2;
107 this.btnLogoff.Text = "Log off";
108 this.btnLogoff.ToolTipText = "";
109 this.btnLogoff.Click += new System.EventHandler(this.btnLogoff_Click);
110 //
111 // btnLockScreen
112 //
113 this.btnLockScreen.ForeColor = System.Drawing.Color.White;
114 this.btnLockScreen.Image = global::NexusPowerControl.Properties.Resources.missing;
115 this.btnLockScreen.Location = new System.Drawing.Point(126, 10);
116 this.btnLockScreen.Margin = new System.Windows.Forms.Padding(10);
117 this.btnLockScreen.Name = "btnLockScreen";
118 this.btnLockScreen.Size = new System.Drawing.Size(96, 96);
119 this.btnLockScreen.TabIndex = 3;
120 this.btnLockScreen.Text = "Lock screen";
121 this.btnLockScreen.ToolTipText = "";
122 this.btnLockScreen.Click += new System.EventHandler(this.btnLockScreen_Click);
123 //
124 // btnSleep
125 //
126 this.btnSleep.ForeColor = System.Drawing.Color.White;
127 this.btnSleep.Image = global::NexusPowerControl.Properties.Resources.missing;
128 this.btnSleep.Location = new System.Drawing.Point(358, 10);
129 this.btnSleep.Margin = new System.Windows.Forms.Padding(10);
130 this.btnSleep.Name = "btnSleep";
131 this.btnSleep.Size = new System.Drawing.Size(96, 96);
132 this.btnSleep.TabIndex = 4;
133 this.btnSleep.Text = "Sleep";
134 this.btnSleep.ToolTipText = "";
135 this.btnSleep.Click += new System.EventHandler(this.btnSleep_Click);
136 //
137 // btnClose
138 //
139 this.btnClose.ForeColor = System.Drawing.Color.White;
140 this.btnClose.Image = global::NexusPowerControl.Properties.Resources.missing;
141 this.btnClose.Location = new System.Drawing.Point(10, 10);
142 this.btnClose.Margin = new System.Windows.Forms.Padding(10);
143 this.btnClose.Name = "btnClose";
144 this.btnClose.Size = new System.Drawing.Size(96, 96);
145 this.btnClose.TabIndex = 5;
146 this.btnClose.Text = "Close";
147 this.btnClose.ToolTipText = "";
148 this.btnClose.Click += new System.EventHandler(this.btnClose_Click);
149 //
150 // MainUI
151 //
152 this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
153 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
154 this.ClientSize = new System.Drawing.Size(800, 223);
155 this.ControlBox = false;
156 this.Controls.Add(this.flowLayoutPanel1);
157 this.Controls.Add(this.pic_main);
158 this.DoubleBuffered = true;
159 this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
160 this.MaximizeBox = false;
161 this.Name = "MainUI";
162 this.Opacity = 0.98D;
163 this.ShowIcon = false;
164 this.ShowInTaskbar = false;
165 this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide;
166 this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
167 this.Text = "Form1";
168 this.TopMost = true;
169 this.TransparencyKey = System.Drawing.Color.Red;
170 this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.MainUI_FormClosed);
171 this.Load += new System.EventHandler(this.Form1_Load);
172 this.Shown += new System.EventHandler(this.MainUI_Shown);
173 ((System.ComponentModel.ISupportInitialize)(this.pic_main)).EndInit();
174 this.flowLayoutPanel1.ResumeLayout(false);
175 this.ResumeLayout(false);
176 this.PerformLayout();
177
178 }
179
180 #endregion
181
182 private System.Windows.Forms.PictureBox pic_main;
183 private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel1;
184 private ThemeButton btnShutdown;
185 private ThemeButton btnRestart;
186 private ThemeButton btnLogoff;
187 private ThemeButton btnLockScreen;
188 private ThemeButton btnSleep;
189 private ThemeButton btnClose;
190
191 }
192 }
193