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

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

Parent Directory Parent Directory | Revision Log Revision Log


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

1 william 4 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 william 10 System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
32 william 7 this.pic_main = new System.Windows.Forms.PictureBox();
33 william 10 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 william 7 ((System.ComponentModel.ISupportInitialize)(this.pic_main)).BeginInit();
41 william 10 this.flowLayoutPanel1.SuspendLayout();
42 william 7 this.SuspendLayout();
43     //
44     // pic_main
45     //
46     this.pic_main.Dock = System.Windows.Forms.DockStyle.Fill;
47 william 10 this.pic_main.Image = ((System.Drawing.Image)(resources.GetObject("pic_main.Image")));
48 william 7 this.pic_main.Location = new System.Drawing.Point(0, 0);
49     this.pic_main.Name = "pic_main";
50 william 11 this.pic_main.Size = new System.Drawing.Size(800, 223);
51 william 7 this.pic_main.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
52     this.pic_main.TabIndex = 4;
53     this.pic_main.TabStop = false;
54     //
55 william 10 // flowLayoutPanel1
56     //
57     this.flowLayoutPanel1.AutoSize = true;
58     this.flowLayoutPanel1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
59 william 11 this.flowLayoutPanel1.BackColor = System.Drawing.Color.Black;
60 william 10 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 william 11 this.flowLayoutPanel1.Location = new System.Drawing.Point(50, 50);
67 william 10 this.flowLayoutPanel1.Name = "flowLayoutPanel1";
68     this.flowLayoutPanel1.Size = new System.Drawing.Size(696, 116);
69     this.flowLayoutPanel1.TabIndex = 5;
70     //
71     // btnShutdown
72     //
73 william 11 this.btnShutdown.ForeColor = System.Drawing.Color.White;
74 william 10 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 william 11 this.btnShutdown.ToolTipText = "test";
82 william 10 this.btnShutdown.Click += new System.EventHandler(this.btnShutdown_Click);
83     //
84     // btnRestart
85     //
86 william 11 this.btnRestart.ForeColor = System.Drawing.Color.White;
87 william 10 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 william 11 this.btnRestart.ToolTipText = "";
95 william 10 this.btnRestart.Click += new System.EventHandler(this.btnRestart_Click);
96     //
97     // btnLogoff
98     //
99 william 11 this.btnLogoff.ForeColor = System.Drawing.Color.White;
100 william 10 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 william 11 this.btnLogoff.ToolTipText = "";
108 william 10 this.btnLogoff.Click += new System.EventHandler(this.btnLogoff_Click);
109     //
110     // btnLockScreen
111     //
112 william 11 this.btnLockScreen.ForeColor = System.Drawing.Color.White;
113 william 10 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 william 11 this.btnLockScreen.ToolTipText = "";
121 william 10 this.btnLockScreen.Click += new System.EventHandler(this.btnLockScreen_Click);
122     //
123     // btnSleep
124     //
125 william 11 this.btnSleep.ForeColor = System.Drawing.Color.White;
126 william 10 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 william 11 this.btnSleep.ToolTipText = "";
134 william 10 this.btnSleep.Click += new System.EventHandler(this.btnSleep_Click);
135     //
136     // btnClose
137     //
138 william 11 this.btnClose.ForeColor = System.Drawing.Color.White;
139 william 10 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 william 11 this.btnClose.ToolTipText = "";
147 william 10 this.btnClose.Click += new System.EventHandler(this.btnClose_Click);
148     //
149 william 7 // Form1
150     //
151     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
152 william 4 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
153 william 11 this.ClientSize = new System.Drawing.Size(800, 223);
154 william 10 this.Controls.Add(this.flowLayoutPanel1);
155 william 7 this.Controls.Add(this.pic_main);
156     this.Name = "Form1";
157     this.Opacity = 0.98D;
158 william 4 this.Text = "Form1";
159 william 7 this.TransparencyKey = System.Drawing.Color.Red;
160 william 8 this.Load += new System.EventHandler(this.Form1_Load);
161 william 7 ((System.ComponentModel.ISupportInitialize)(this.pic_main)).EndInit();
162 william 10 this.flowLayoutPanel1.ResumeLayout(false);
163 william 7 this.ResumeLayout(false);
164 william 10 this.PerformLayout();
165 william 7
166 william 4 }
167    
168     #endregion
169 william 7
170     private System.Windows.Forms.PictureBox pic_main;
171 william 10 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 william 7
179 william 4 }
180     }
181    

  ViewVC Help
Powered by ViewVC 1.1.22