using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; namespace WindowsApplication1 { public partial class test : Form { public test() { InitializeComponent(); } private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(test)); this.listBox1 = new System.Windows.Forms.ListBox(); this.levelselect = new System.Windows.Forms.Label(); this.inputtime = new System.Windows.Forms.TextBox(); this.yourtime = new System.Windows.Forms.Label(); this.calculate = new System.Windows.Forms.Button(); this.outputscore = new System.Windows.Forms.TextBox(); this.yourscore = new System.Windows.Forms.Label(); this.SuspendLayout(); // // listBox1 [level select] // this.listBox1.BackColor = System.Drawing.SystemColors.ScrollBar; this.listBox1.BorderStyle = System.Windows.Forms.BorderStyle.None; this.listBox1.ForeColor = System.Drawing.Color.Black; this.listBox1.FormattingEnabled = true; this.listBox1.ItemHeight = 14; this.listBox1.Items.AddRange(new object[] { " Learning to Roll", " Moving Up", " Gem Collection", " Frictional Concerns", " Triple Gravity", " Bridge Crossing", " Bunny Slope", " Hazardous Climb", " First Flight", " Marble Melee Primer", " Pitfalls", " Gravity Helix", " Platform Party", " Early Frost", " Winding Road", " Skate Park", " Ramp Matrix", " Half-Pipe", " Jump Jump Jump!", " Upward Spiral", " Mountaintop Retreat", " Urban Jungle", " Gauntlet", " Around the World", " Skyscraper", " Timely Ascent", " Duality", " Sledding", " The Road Less Traveled", " Aim High", " Points of the Compass", " Obstacle Course", " Fork in the Road", " Great Divide", " Black Diamond", " Skate to the Top", " Spelunking", " Whirl", " Hop Skip and a Jump", " Tree House", " Divergence", " Slick Slide", " Ordeal", " Daedalus", " Survival of the Fittest", " Ramps Reloaded", " Cube Root", " Scaffold", " Acrobat", " Endurance", " Battlements", " Three-Fold Maze", " Half Pipe Elite", " Will o\' Wisp", " Under Construction", " Extreme Skiing", " Three-Fold Race", " King of the Mountain", " Natural Selection", " Schadenfreude"}); this.listBox1.Location = new System.Drawing.Point(47, 81); this.listBox1.Name = "listBox1"; this.listBox1.Size = new System.Drawing.Size(115, 154); this.listBox1.TabIndex = 0; // // levelselect // this.levelselect.AutoSize = true; this.levelselect.BackColor = System.Drawing.Color.Transparent; this.levelselect.ForeColor = System.Drawing.Color.WhiteSmoke; this.levelselect.Location = new System.Drawing.Point(68, 64); this.levelselect.Name = "levelselect"; this.levelselect.Size = new System.Drawing.Size(71, 14); this.levelselect.TabIndex = 1; this.levelselect.Text = "Select a level"; // // inputtime // this.inputtime.AcceptsTab = true; this.inputtime.Location = new System.Drawing.Point(232, 163); this.inputtime.MaxLength = 20; this.inputtime.Name = "inputtime"; this.inputtime.Size = new System.Drawing.Size(147, 20); this.inputtime.TabIndex = 2; // // yourtime // this.yourtime.AutoSize = true; this.yourtime.BackColor = System.Drawing.Color.Transparent; this.yourtime.ForeColor = System.Drawing.Color.White; this.yourtime.Location = new System.Drawing.Point(264, 146); this.yourtime.Name = "yourtime"; this.yourtime.Size = new System.Drawing.Size(59, 14); this.yourtime.TabIndex = 3; this.yourtime.Text = "Your time: "; // // calculate // this.calculate.Location = new System.Drawing.Point(467, 159); this.calculate.Name = "calculate"; this.calculate.Size = new System.Drawing.Size(75, 23); this.calculate.TabIndex = 4; this.calculate.Text = "Calculate!"; this.calculate.UseVisualStyleBackColor = true; // // outputscore // this.outputscore.Location = new System.Drawing.Point(639, 159); this.outputscore.Name = "outputscore"; this.outputscore.Size = new System.Drawing.Size(100, 20); this.outputscore.TabIndex = 5; // // yourscore // this.yourscore.AutoSize = true; this.yourscore.BackColor = System.Drawing.Color.Transparent; this.yourscore.ForeColor = System.Drawing.Color.White; this.yourscore.Location = new System.Drawing.Point(636, 144); this.yourscore.Name = "yourscore"; this.yourscore.Size = new System.Drawing.Size(65, 14); this.yourscore.TabIndex = 6; this.yourscore.Text = "Your score:"; // // test // this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; this.BackColor = System.Drawing.Color.White; this.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("$this.BackgroundImage"))); this.ClientSize = new System.Drawing.Size(794, 338); this.Controls.Add(this.yourscore); this.Controls.Add(this.outputscore); this.Controls.Add(this.calculate); this.Controls.Add(this.yourtime); this.Controls.Add(this.inputtime); this.Controls.Add(this.levelselect); this.Controls.Add(this.listBox1); this.Cursor = System.Windows.Forms.Cursors.Arrow; this.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.ForeColor = System.Drawing.Color.Black; this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.ImeMode = System.Windows.Forms.ImeMode.On; this.MaximizeBox = false; this.MaximumSize = new System.Drawing.Size(1024, 825); this.MinimizeBox = false; this.Name = "test"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = " "; this.TransparencyKey = System.Drawing.Color.Transparent; this.Load += new System.EventHandler(this.Form1_Load); this.ResumeLayout(false); this.PerformLayout(); } private void Form1_Load(object sender, EventArgs e) { } private void button1_MouseClick(object sender, MouseEventArgs e) { } private void notifyIcon1_MouseDoubleClick(object sender, MouseEventArgs e) { } private void listBox1_SelectedIndexChanged(object sender, EventArgs e) { } private ListBox listBox1; private Label levelselect; private TextBox inputtime; private Label yourtime; private Button calculate; private TextBox outputscore; private Label yourscore; } }