ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/NexusPowerControl/trunk/NexusPowerControl/Form1.Designer.cs
Revision: 10
Committed: Sat Oct 22 21:35:13 2011 UTC (11 years, 7 months ago) by william
File size: 8221 byte(s)
Log Message:
add buttons to main form and style them

File Contents

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