/[NexusPowerControl]/trunk/NexusPowerControl/MainUI.Designer.cs
ViewVC logotype

Contents of /trunk/NexusPowerControl/MainUI.Designer.cs

Parent Directory Parent Directory | Revision Log Revision Log


Revision 11 - (show annotations) (download)
Sat Oct 22 22:14:15 2011 UTC (8 years ago) by william
Original Path: trunk/NexusPowerControl/Form1.Designer.cs
File size: 8908 byte(s)
implement theme button clicking

1 namespace NexusPowerControl
2 {
3 partial class Form1
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(Form1));
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.Name = "pic_main";
50 this.pic_main.Size = new System.Drawing.Size(800, 223);
51 this.pic_main.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
52 this.pic_main.TabIndex = 4;
53 this.pic_main.TabStop = false;
54 //
55 // flowLayoutPanel1
56 //
57 this.flowLayoutPanel1.AutoSize = true;
58 this.flowLayoutPanel1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
59 this.flowLayoutPanel1.BackColor = System.Drawing.Color.Black;
60 this.flowLayoutPanel1.Controls.Add(this.btnShutdown);
61 this.flowLayoutPanel1.Controls.Add(this.btnRestart);
62 this.flowLayoutPanel1.Controls.Add(this.btnLogoff);
63 this.flowLayoutPanel1.Controls.Add(this.btnLockScreen);
64 this.flowLayoutPanel1.Controls.Add(this.btnSleep);
65 this.flowLayoutPanel1.Controls.Add(this.btnClose);
66 this.flowLayoutPanel1.Location = new System.Drawing.Point(50, 50);
67 this.flowLayoutPanel1.Name = "flowLayoutPanel1";
68 this.flowLayoutPanel1.Size = new System.Drawing.Size(696, 116);
69 this.flowLayoutPanel1.TabIndex = 5;
70 //
71 // btnShutdown
72 //
73 this.btnShutdown.ForeColor = System.Drawing.Color.White;
74 this.btnShutdown.Image = global::NexusPowerControl.Properties.Resources.missing;
75 this.btnShutdown.Location = new System.Drawing.Point(10, 10);
76 this.btnShutdown.Margin = new System.Windows.Forms.Padding(10);
77 this.btnShutdown.Name = "btnShutdown";
78 this.btnShutdown.Size = new System.Drawing.Size(96, 96);
79 this.btnShutdown.TabIndex = 0;
80 this.btnShutdown.Text = "Shutdown";
81 this.btnShutdown.ToolTipText = "test";
82 this.btnShutdown.Click += new System.EventHandler(this.btnShutdown_Click);
83 //
84 // btnRestart
85 //
86 this.btnRestart.ForeColor = System.Drawing.Color.White;
87 this.btnRestart.Image = global::NexusPowerControl.Properties.Resources.missing;
88 this.btnRestart.Location = new System.Drawing.Point(126, 10);
89 this.btnRestart.Margin = new System.Windows.Forms.Padding(10);
90 this.btnRestart.Name = "btnRestart";
91 this.btnRestart.Size = new System.Drawing.Size(96, 96);
92 this.btnRestart.TabIndex = 1;
93 this.btnRestart.Text = "Restart";
94 this.btnRestart.ToolTipText = "";
95 this.btnRestart.Click += new System.EventHandler(this.btnRestart_Click);
96 //
97 // btnLogoff
98 //
99 this.btnLogoff.ForeColor = System.Drawing.Color.White;
100 this.btnLogoff.Image = global::NexusPowerControl.Properties.Resources.missing;
101 this.btnLogoff.Location = new System.Drawing.Point(242, 10);
102 this.btnLogoff.Margin = new System.Windows.Forms.Padding(10);
103 this.btnLogoff.Name = "btnLogoff";
104 this.btnLogoff.Size = new System.Drawing.Size(96, 96);
105 this.btnLogoff.TabIndex = 2;
106 this.btnLogoff.Text = "Log off";
107 this.btnLogoff.ToolTipText = "";
108 this.btnLogoff.Click += new System.EventHandler(this.btnLogoff_Click);
109 //
110 // btnLockScreen
111 //
112 this.btnLockScreen.ForeColor = System.Drawing.Color.White;
113 this.btnLockScreen.Image = global::NexusPowerControl.Properties.Resources.missing;
114 this.btnLockScreen.Location = new System.Drawing.Point(358, 10);
115 this.btnLockScreen.Margin = new System.Windows.Forms.Padding(10);
116 this.btnLockScreen.Name = "btnLockScreen";
117 this.btnLockScreen.Size = new System.Drawing.Size(96, 96);
118 this.btnLockScreen.TabIndex = 3;
119 this.btnLockScreen.Text = "Lock screen";
120 this.btnLockScreen.ToolTipText = "";
121 this.btnLockScreen.Click += new System.EventHandler(this.btnLockScreen_Click);
122 //
123 // btnSleep
124 //
125 this.btnSleep.ForeColor = System.Drawing.Color.White;
126 this.btnSleep.Image = global::NexusPowerControl.Properties.Resources.missing;
127 this.btnSleep.Location = new System.Drawing.Point(474, 10);
128 this.btnSleep.Margin = new System.Windows.Forms.Padding(10);
129 this.btnSleep.Name = "btnSleep";
130 this.btnSleep.Size = new System.Drawing.Size(96, 96);
131 this.btnSleep.TabIndex = 4;
132 this.btnSleep.Text = "Sleep";
133 this.btnSleep.ToolTipText = "";
134 this.btnSleep.Click += new System.EventHandler(this.btnSleep_Click);
135 //
136 // btnClose
137 //
138 this.btnClose.ForeColor = System.Drawing.Color.White;
139 this.btnClose.Image = global::NexusPowerControl.Properties.Resources.missing;
140 this.btnClose.Location = new System.Drawing.Point(590, 10);
141 this.btnClose.Margin = new System.Windows.Forms.Padding(10);
142 this.btnClose.Name = "btnClose";
143 this.btnClose.Size = new System.Drawing.Size(96, 96);
144 this.btnClose.TabIndex = 5;
145 this.btnClose.Text = "Close";
146 this.btnClose.ToolTipText = "";
147 this.btnClose.Click += new System.EventHandler(this.btnClose_Click);
148 //
149 // Form1
150 //
151 this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
152 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
153 this.ClientSize = new System.Drawing.Size(800, 223);
154 this.Controls.Add(this.flowLayoutPanel1);
155 this.Controls.Add(this.pic_main);
156 this.Name = "Form1";
157 this.Opacity = 0.98D;
158 this.Text = "Form1";
159 this.TransparencyKey = System.Drawing.Color.Red;
160 this.Load += new System.EventHandler(this.Form1_Load);
161 ((System.ComponentModel.ISupportInitialize)(this.pic_main)).EndInit();
162 this.flowLayoutPanel1.ResumeLayout(false);
163 this.ResumeLayout(false);
164 this.PerformLayout();
165
166 }
167
168 #endregion
169
170 private System.Windows.Forms.PictureBox pic_main;
171 private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel1;
172 private ThemeButton btnShutdown;
173 private ThemeButton btnRestart;
174 private ThemeButton btnLogoff;
175 private ThemeButton btnLockScreen;
176 private ThemeButton btnSleep;
177 private ThemeButton btnClose;
178
179 }
180 }
181

  ViewVC Help
Powered by ViewVC 1.1.22