From 6729d488a5a1ee977d303cb0c751511a08dc0b01 Mon Sep 17 00:00:00 2001 From: Jeff Ames Date: Thu, 1 May 2008 19:00:12 +0000 Subject: Minor cosmetic cleanup. --- .../LaunchSLClient/LaunchSLClient/Form1.Designer.cs | 20 ++++---------------- OpenSim/Tools/LaunchSLClient/LaunchSLClient/Form1.cs | 4 ++-- 2 files changed, 6 insertions(+), 18 deletions(-) (limited to 'OpenSim/Tools/LaunchSLClient') diff --git a/OpenSim/Tools/LaunchSLClient/LaunchSLClient/Form1.Designer.cs b/OpenSim/Tools/LaunchSLClient/LaunchSLClient/Form1.Designer.cs index b9e905a..38657b0 100644 --- a/OpenSim/Tools/LaunchSLClient/LaunchSLClient/Form1.Designer.cs +++ b/OpenSim/Tools/LaunchSLClient/LaunchSLClient/Form1.Designer.cs @@ -58,25 +58,15 @@ namespace LaunchSLClient this.comboBox1 = new System.Windows.Forms.ComboBox(); this.textBox1 = new System.Windows.Forms.TextBox(); this.SuspendLayout(); - // - // comboBox1 - // + this.comboBox1.FormattingEnabled = true; - this.comboBox1.Items.AddRange(new object[] { - "Local Sandbox", - "Local Grid Server", - "DeepGrid - www.deepgrid.com", - "OSGrid - www.osgrid.org", - "Linden Labs - www.secondlife.com"}); this.comboBox1.Location = new System.Drawing.Point(37, 83); this.comboBox1.Name = "comboBox1"; this.comboBox1.Size = new System.Drawing.Size(348, 21); this.comboBox1.TabIndex = 0; this.comboBox1.Text = "Choose from list"; this.comboBox1.SelectedIndexChanged += new System.EventHandler(this.comboBox1_SelectedIndexChanged); - // - // textBox1 - // + this.textBox1.BorderStyle = System.Windows.Forms.BorderStyle.None; this.textBox1.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.textBox1.Location = new System.Drawing.Point(37, 32); @@ -84,10 +74,8 @@ namespace LaunchSLClient this.textBox1.ReadOnly = true; this.textBox1.Size = new System.Drawing.Size(292, 19); this.textBox1.TabIndex = 1; - this.textBox1.Text = "Choose from one of the following:"; - // - // Form1 - // + this.textBox1.Text = "Grid to connect to:"; + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(501, 339); diff --git a/OpenSim/Tools/LaunchSLClient/LaunchSLClient/Form1.cs b/OpenSim/Tools/LaunchSLClient/LaunchSLClient/Form1.cs index a827c76..d53f919 100644 --- a/OpenSim/Tools/LaunchSLClient/LaunchSLClient/Form1.cs +++ b/OpenSim/Tools/LaunchSLClient/LaunchSLClient/Form1.cs @@ -62,7 +62,7 @@ namespace LaunchSLClient initializeGrids(); ArrayList menuItems = new ArrayList(); - menuItems.Add("Please select one:"); + menuItems.Add(string.Empty); addLocalSims(ref menuItems); @@ -200,7 +200,7 @@ namespace LaunchSLClient private void comboBox1_SelectedIndexChanged(object sender, EventArgs e) { - if (comboBox1.Text == "Please select one:") + if (comboBox1.Text == string.Empty) { return; } -- cgit v1.1