diff --git a/Resources/text/item_en.txt b/Resources/text/item_en.txt index da3062f..b7f9f81 100644 --- a/Resources/text/item_en.txt +++ b/Resources/text/item_en.txt @@ -1,6 +1,9 @@ // Nothing 7FFE (None) +// Pattern +009D Pattern + // Outside Flowers, Trees, Bushes, Fruit 009F Red Tulips 00A0 White Tulips diff --git a/Subforms/Garden.Designer.cs b/Subforms/Garden.Designer.cs index 117441a..ba33129 100644 --- a/Subforms/Garden.Designer.cs +++ b/Subforms/Garden.Designer.cs @@ -99,76 +99,76 @@ private void InitializeComponent() this.PB_island01 = new System.Windows.Forms.PictureBox(); this.PB_island00 = new System.Windows.Forms.PictureBox(); this.tabPage3 = new System.Windows.Forms.TabPage(); - this.L_P0Name = new System.Windows.Forms.Label(); - this.CB_P0Gender = new System.Windows.Forms.ComboBox(); - this.L_P0Gender = new System.Windows.Forms.Label(); - this.L_P0Badge23 = new System.Windows.Forms.Label(); - this.CB_P0Badge23 = new System.Windows.Forms.ComboBox(); - this.L_P0Badge22 = new System.Windows.Forms.Label(); - this.CB_P0Badge22 = new System.Windows.Forms.ComboBox(); - this.L_P0Badge21 = new System.Windows.Forms.Label(); - this.CB_P0Badge21 = new System.Windows.Forms.ComboBox(); - this.L_P0Badge20 = new System.Windows.Forms.Label(); - this.CB_P0Badge20 = new System.Windows.Forms.ComboBox(); - this.L_P0HairStyle = new System.Windows.Forms.Label(); - this.L_P0HairColor = new System.Windows.Forms.Label(); - this.L_P0FaceShape = new System.Windows.Forms.Label(); - this.L_P0EyeColor = new System.Windows.Forms.Label(); - this.CB_P0SkinColor = new System.Windows.Forms.ComboBox(); - this.CB_P0EyeColor = new System.Windows.Forms.ComboBox(); - this.CB_P0FaceShape = new System.Windows.Forms.ComboBox(); - this.CB_P0HairColor = new System.Windows.Forms.ComboBox(); - this.L_P0SkinColor = new System.Windows.Forms.Label(); - this.CB_P0HairStyle = new System.Windows.Forms.ComboBox(); - this.TB_P0Name = new System.Windows.Forms.TextBox(); - this.L_P0Badge19 = new System.Windows.Forms.Label(); - this.L_P0Badge18 = new System.Windows.Forms.Label(); - this.L_P0Badge17 = new System.Windows.Forms.Label(); - this.L_P0Badge16 = new System.Windows.Forms.Label(); - this.L_P0Badge15 = new System.Windows.Forms.Label(); - this.L_P0Badge14 = new System.Windows.Forms.Label(); - this.L_P0Badge13 = new System.Windows.Forms.Label(); - this.L_P0Badge12 = new System.Windows.Forms.Label(); - this.L_P0Badge11 = new System.Windows.Forms.Label(); - this.L_P0Badge10 = new System.Windows.Forms.Label(); - this.L_P0Badge09 = new System.Windows.Forms.Label(); - this.L_P0Badge08 = new System.Windows.Forms.Label(); - this.L_P0Badge07 = new System.Windows.Forms.Label(); - this.L_P0Badge06 = new System.Windows.Forms.Label(); - this.L_P0Badge05 = new System.Windows.Forms.Label(); - this.L_P0Badge04 = new System.Windows.Forms.Label(); - this.L_P0Badge03 = new System.Windows.Forms.Label(); - this.L_P0Badge02 = new System.Windows.Forms.Label(); - this.L_P0Badge01 = new System.Windows.Forms.Label(); - this.L_P0Badge00 = new System.Windows.Forms.Label(); - this.CB_P0Badge19 = new System.Windows.Forms.ComboBox(); - this.CB_P0Badge18 = new System.Windows.Forms.ComboBox(); - this.CB_P0Badge17 = new System.Windows.Forms.ComboBox(); - this.CB_P0Badge16 = new System.Windows.Forms.ComboBox(); - this.CB_P0Badge15 = new System.Windows.Forms.ComboBox(); - this.CB_P0Badge14 = new System.Windows.Forms.ComboBox(); - this.CB_P0Badge13 = new System.Windows.Forms.ComboBox(); - this.CB_P0Badge12 = new System.Windows.Forms.ComboBox(); - this.CB_P0Badge11 = new System.Windows.Forms.ComboBox(); - this.CB_P0Badge10 = new System.Windows.Forms.ComboBox(); - this.CB_P0Badge09 = new System.Windows.Forms.ComboBox(); - this.CB_P0Badge08 = new System.Windows.Forms.ComboBox(); - this.CB_P0Badge07 = new System.Windows.Forms.ComboBox(); - this.CB_P0Badge06 = new System.Windows.Forms.ComboBox(); - this.CB_P0Badge05 = new System.Windows.Forms.ComboBox(); - this.CB_P0Badge04 = new System.Windows.Forms.ComboBox(); - this.CB_P0Badge03 = new System.Windows.Forms.ComboBox(); - this.CB_P0Badge02 = new System.Windows.Forms.ComboBox(); - this.CB_P0Badge01 = new System.Windows.Forms.ComboBox(); - this.CB_P0Badge00 = new System.Windows.Forms.ComboBox(); + this.L_Name = new System.Windows.Forms.Label(); + this.CB_Gender = new System.Windows.Forms.ComboBox(); + this.L_Gender = new System.Windows.Forms.Label(); + this.L_Badge23 = new System.Windows.Forms.Label(); + this.CB_Badge23 = new System.Windows.Forms.ComboBox(); + this.L_Badge22 = new System.Windows.Forms.Label(); + this.CB_Badge22 = new System.Windows.Forms.ComboBox(); + this.L_Badge21 = new System.Windows.Forms.Label(); + this.CB_Badge21 = new System.Windows.Forms.ComboBox(); + this.L_Badge20 = new System.Windows.Forms.Label(); + this.CB_Badge20 = new System.Windows.Forms.ComboBox(); + this.L_HairStyle = new System.Windows.Forms.Label(); + this.L_HairColor = new System.Windows.Forms.Label(); + this.L_FaceShape = new System.Windows.Forms.Label(); + this.L_EyeColor = new System.Windows.Forms.Label(); + this.CB_SkinColor = new System.Windows.Forms.ComboBox(); + this.CB_EyeColor = new System.Windows.Forms.ComboBox(); + this.CB_FaceShape = new System.Windows.Forms.ComboBox(); + this.CB_HairColor = new System.Windows.Forms.ComboBox(); + this.L_SkinColor = new System.Windows.Forms.Label(); + this.CB_HairStyle = new System.Windows.Forms.ComboBox(); + this.TB_Name = new System.Windows.Forms.TextBox(); + this.L_Badge19 = new System.Windows.Forms.Label(); + this.L_Badge18 = new System.Windows.Forms.Label(); + this.L_Badge17 = new System.Windows.Forms.Label(); + this.L_Badge16 = new System.Windows.Forms.Label(); + this.L_Badge15 = new System.Windows.Forms.Label(); + this.L_Badge14 = new System.Windows.Forms.Label(); + this.L_Badge13 = new System.Windows.Forms.Label(); + this.L_Badge12 = new System.Windows.Forms.Label(); + this.L_Badge11 = new System.Windows.Forms.Label(); + this.L_Badge10 = new System.Windows.Forms.Label(); + this.L_Badge09 = new System.Windows.Forms.Label(); + this.L_Badge08 = new System.Windows.Forms.Label(); + this.L_Badge07 = new System.Windows.Forms.Label(); + this.L_Badge06 = new System.Windows.Forms.Label(); + this.L_Badge05 = new System.Windows.Forms.Label(); + this.L_Badge04 = new System.Windows.Forms.Label(); + this.L_Badge03 = new System.Windows.Forms.Label(); + this.L_Badge02 = new System.Windows.Forms.Label(); + this.L_Badge01 = new System.Windows.Forms.Label(); + this.L_Badge00 = new System.Windows.Forms.Label(); + this.CB_Badge19 = new System.Windows.Forms.ComboBox(); + this.CB_Badge18 = new System.Windows.Forms.ComboBox(); + this.CB_Badge17 = new System.Windows.Forms.ComboBox(); + this.CB_Badge16 = new System.Windows.Forms.ComboBox(); + this.CB_Badge15 = new System.Windows.Forms.ComboBox(); + this.CB_Badge14 = new System.Windows.Forms.ComboBox(); + this.CB_Badge13 = new System.Windows.Forms.ComboBox(); + this.CB_Badge12 = new System.Windows.Forms.ComboBox(); + this.CB_Badge11 = new System.Windows.Forms.ComboBox(); + this.CB_Badge10 = new System.Windows.Forms.ComboBox(); + this.CB_Badge09 = new System.Windows.Forms.ComboBox(); + this.CB_Badge08 = new System.Windows.Forms.ComboBox(); + this.CB_Badge07 = new System.Windows.Forms.ComboBox(); + this.CB_Badge06 = new System.Windows.Forms.ComboBox(); + this.CB_Badge05 = new System.Windows.Forms.ComboBox(); + this.CB_Badge04 = new System.Windows.Forms.ComboBox(); + this.CB_Badge03 = new System.Windows.Forms.ComboBox(); + this.CB_Badge02 = new System.Windows.Forms.ComboBox(); + this.CB_Badge01 = new System.Windows.Forms.ComboBox(); + this.CB_Badge00 = new System.Windows.Forms.ComboBox(); this.PB_LPlayer0 = new System.Windows.Forms.PictureBox(); - this.L_P0Island = new System.Windows.Forms.Label(); - this.L_P0Pocket = new System.Windows.Forms.Label(); - this.PB_P0Island = new System.Windows.Forms.PictureBox(); - this.PB_P0Pocket = new System.Windows.Forms.PictureBox(); - this.PB_P0Dresser2 = new System.Windows.Forms.PictureBox(); - this.PB_P0Dresser1 = new System.Windows.Forms.PictureBox(); - this.L_P0Dresser = new System.Windows.Forms.Label(); + this.L_Island = new System.Windows.Forms.Label(); + this.L_Pocket = new System.Windows.Forms.Label(); + this.PB_Island = new System.Windows.Forms.PictureBox(); + this.PB_Pocket = new System.Windows.Forms.PictureBox(); + this.PB_Dresser2 = new System.Windows.Forms.PictureBox(); + this.PB_Dresser1 = new System.Windows.Forms.PictureBox(); + this.L_Dresser = new System.Windows.Forms.Label(); this.tabPage4 = new System.Windows.Forms.TabPage(); this.TB_VillagerCatch10 = new System.Windows.Forms.TextBox(); this.TB_VillagerCatch9 = new System.Windows.Forms.TextBox(); @@ -294,10 +294,10 @@ private void InitializeComponent() ((System.ComponentModel.ISupportInitialize)(this.PB_island00)).BeginInit(); this.tabPage3.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.PB_LPlayer0)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.PB_P0Island)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.PB_P0Pocket)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.PB_P0Dresser2)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.PB_P0Dresser1)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.PB_Island)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.PB_Pocket)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.PB_Dresser2)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.PB_Dresser1)).BeginInit(); this.tabPage4.SuspendLayout(); this.tabPage5.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.NUD_OverallDays)).BeginInit(); @@ -1076,76 +1076,76 @@ private void InitializeComponent() // // tabPage3 // - this.tabPage3.Controls.Add(this.L_P0Name); - this.tabPage3.Controls.Add(this.CB_P0Gender); - this.tabPage3.Controls.Add(this.L_P0Gender); - this.tabPage3.Controls.Add(this.L_P0Badge23); - this.tabPage3.Controls.Add(this.CB_P0Badge23); - this.tabPage3.Controls.Add(this.L_P0Badge22); - this.tabPage3.Controls.Add(this.CB_P0Badge22); - this.tabPage3.Controls.Add(this.L_P0Badge21); - this.tabPage3.Controls.Add(this.CB_P0Badge21); - this.tabPage3.Controls.Add(this.L_P0Badge20); - this.tabPage3.Controls.Add(this.CB_P0Badge20); - this.tabPage3.Controls.Add(this.L_P0HairStyle); - this.tabPage3.Controls.Add(this.L_P0HairColor); - this.tabPage3.Controls.Add(this.L_P0FaceShape); - this.tabPage3.Controls.Add(this.L_P0EyeColor); - this.tabPage3.Controls.Add(this.CB_P0SkinColor); - this.tabPage3.Controls.Add(this.CB_P0EyeColor); - this.tabPage3.Controls.Add(this.CB_P0FaceShape); - this.tabPage3.Controls.Add(this.CB_P0HairColor); - this.tabPage3.Controls.Add(this.L_P0SkinColor); - this.tabPage3.Controls.Add(this.CB_P0HairStyle); - this.tabPage3.Controls.Add(this.TB_P0Name); - this.tabPage3.Controls.Add(this.L_P0Badge19); - this.tabPage3.Controls.Add(this.L_P0Badge18); - this.tabPage3.Controls.Add(this.L_P0Badge17); - this.tabPage3.Controls.Add(this.L_P0Badge16); - this.tabPage3.Controls.Add(this.L_P0Badge15); - this.tabPage3.Controls.Add(this.L_P0Badge14); - this.tabPage3.Controls.Add(this.L_P0Badge13); - this.tabPage3.Controls.Add(this.L_P0Badge12); - this.tabPage3.Controls.Add(this.L_P0Badge11); - this.tabPage3.Controls.Add(this.L_P0Badge10); - this.tabPage3.Controls.Add(this.L_P0Badge09); - this.tabPage3.Controls.Add(this.L_P0Badge08); - this.tabPage3.Controls.Add(this.L_P0Badge07); - this.tabPage3.Controls.Add(this.L_P0Badge06); - this.tabPage3.Controls.Add(this.L_P0Badge05); - this.tabPage3.Controls.Add(this.L_P0Badge04); - this.tabPage3.Controls.Add(this.L_P0Badge03); - this.tabPage3.Controls.Add(this.L_P0Badge02); - this.tabPage3.Controls.Add(this.L_P0Badge01); - this.tabPage3.Controls.Add(this.L_P0Badge00); - this.tabPage3.Controls.Add(this.CB_P0Badge19); - this.tabPage3.Controls.Add(this.CB_P0Badge18); - this.tabPage3.Controls.Add(this.CB_P0Badge17); - this.tabPage3.Controls.Add(this.CB_P0Badge16); - this.tabPage3.Controls.Add(this.CB_P0Badge15); - this.tabPage3.Controls.Add(this.CB_P0Badge14); - this.tabPage3.Controls.Add(this.CB_P0Badge13); - this.tabPage3.Controls.Add(this.CB_P0Badge12); - this.tabPage3.Controls.Add(this.CB_P0Badge11); - this.tabPage3.Controls.Add(this.CB_P0Badge10); - this.tabPage3.Controls.Add(this.CB_P0Badge09); - this.tabPage3.Controls.Add(this.CB_P0Badge08); - this.tabPage3.Controls.Add(this.CB_P0Badge07); - this.tabPage3.Controls.Add(this.CB_P0Badge06); - this.tabPage3.Controls.Add(this.CB_P0Badge05); - this.tabPage3.Controls.Add(this.CB_P0Badge04); - this.tabPage3.Controls.Add(this.CB_P0Badge03); - this.tabPage3.Controls.Add(this.CB_P0Badge02); - this.tabPage3.Controls.Add(this.CB_P0Badge01); - this.tabPage3.Controls.Add(this.CB_P0Badge00); + this.tabPage3.Controls.Add(this.L_Name); + this.tabPage3.Controls.Add(this.CB_Gender); + this.tabPage3.Controls.Add(this.L_Gender); + this.tabPage3.Controls.Add(this.L_Badge23); + this.tabPage3.Controls.Add(this.CB_Badge23); + this.tabPage3.Controls.Add(this.L_Badge22); + this.tabPage3.Controls.Add(this.CB_Badge22); + this.tabPage3.Controls.Add(this.L_Badge21); + this.tabPage3.Controls.Add(this.CB_Badge21); + this.tabPage3.Controls.Add(this.L_Badge20); + this.tabPage3.Controls.Add(this.CB_Badge20); + this.tabPage3.Controls.Add(this.L_HairStyle); + this.tabPage3.Controls.Add(this.L_HairColor); + this.tabPage3.Controls.Add(this.L_FaceShape); + this.tabPage3.Controls.Add(this.L_EyeColor); + this.tabPage3.Controls.Add(this.CB_SkinColor); + this.tabPage3.Controls.Add(this.CB_EyeColor); + this.tabPage3.Controls.Add(this.CB_FaceShape); + this.tabPage3.Controls.Add(this.CB_HairColor); + this.tabPage3.Controls.Add(this.L_SkinColor); + this.tabPage3.Controls.Add(this.CB_HairStyle); + this.tabPage3.Controls.Add(this.TB_Name); + this.tabPage3.Controls.Add(this.L_Badge19); + this.tabPage3.Controls.Add(this.L_Badge18); + this.tabPage3.Controls.Add(this.L_Badge17); + this.tabPage3.Controls.Add(this.L_Badge16); + this.tabPage3.Controls.Add(this.L_Badge15); + this.tabPage3.Controls.Add(this.L_Badge14); + this.tabPage3.Controls.Add(this.L_Badge13); + this.tabPage3.Controls.Add(this.L_Badge12); + this.tabPage3.Controls.Add(this.L_Badge11); + this.tabPage3.Controls.Add(this.L_Badge10); + this.tabPage3.Controls.Add(this.L_Badge09); + this.tabPage3.Controls.Add(this.L_Badge08); + this.tabPage3.Controls.Add(this.L_Badge07); + this.tabPage3.Controls.Add(this.L_Badge06); + this.tabPage3.Controls.Add(this.L_Badge05); + this.tabPage3.Controls.Add(this.L_Badge04); + this.tabPage3.Controls.Add(this.L_Badge03); + this.tabPage3.Controls.Add(this.L_Badge02); + this.tabPage3.Controls.Add(this.L_Badge01); + this.tabPage3.Controls.Add(this.L_Badge00); + this.tabPage3.Controls.Add(this.CB_Badge19); + this.tabPage3.Controls.Add(this.CB_Badge18); + this.tabPage3.Controls.Add(this.CB_Badge17); + this.tabPage3.Controls.Add(this.CB_Badge16); + this.tabPage3.Controls.Add(this.CB_Badge15); + this.tabPage3.Controls.Add(this.CB_Badge14); + this.tabPage3.Controls.Add(this.CB_Badge13); + this.tabPage3.Controls.Add(this.CB_Badge12); + this.tabPage3.Controls.Add(this.CB_Badge11); + this.tabPage3.Controls.Add(this.CB_Badge10); + this.tabPage3.Controls.Add(this.CB_Badge09); + this.tabPage3.Controls.Add(this.CB_Badge08); + this.tabPage3.Controls.Add(this.CB_Badge07); + this.tabPage3.Controls.Add(this.CB_Badge06); + this.tabPage3.Controls.Add(this.CB_Badge05); + this.tabPage3.Controls.Add(this.CB_Badge04); + this.tabPage3.Controls.Add(this.CB_Badge03); + this.tabPage3.Controls.Add(this.CB_Badge02); + this.tabPage3.Controls.Add(this.CB_Badge01); + this.tabPage3.Controls.Add(this.CB_Badge00); this.tabPage3.Controls.Add(this.PB_LPlayer0); - this.tabPage3.Controls.Add(this.L_P0Island); - this.tabPage3.Controls.Add(this.L_P0Pocket); - this.tabPage3.Controls.Add(this.PB_P0Island); - this.tabPage3.Controls.Add(this.PB_P0Pocket); - this.tabPage3.Controls.Add(this.PB_P0Dresser2); - this.tabPage3.Controls.Add(this.PB_P0Dresser1); - this.tabPage3.Controls.Add(this.L_P0Dresser); + this.tabPage3.Controls.Add(this.L_Island); + this.tabPage3.Controls.Add(this.L_Pocket); + this.tabPage3.Controls.Add(this.PB_Island); + this.tabPage3.Controls.Add(this.PB_Pocket); + this.tabPage3.Controls.Add(this.PB_Dresser2); + this.tabPage3.Controls.Add(this.PB_Dresser1); + this.tabPage3.Controls.Add(this.L_Dresser); this.tabPage3.Location = new System.Drawing.Point(4, 22); this.tabPage3.Name = "tabPage3"; this.tabPage3.Padding = new System.Windows.Forms.Padding(3); @@ -1154,163 +1154,163 @@ private void InitializeComponent() this.tabPage3.Text = "Player"; this.tabPage3.UseVisualStyleBackColor = true; // - // L_P0Name + // L_Name // - this.L_P0Name.Location = new System.Drawing.Point(157, 28); - this.L_P0Name.Name = "L_P0Name"; - this.L_P0Name.Size = new System.Drawing.Size(55, 13); - this.L_P0Name.TabIndex = 70; - this.L_P0Name.Text = "Player Name:"; - this.L_P0Name.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + this.L_Name.Location = new System.Drawing.Point(157, 28); + this.L_Name.Name = "L_Name"; + this.L_Name.Size = new System.Drawing.Size(55, 13); + this.L_Name.TabIndex = 70; + this.L_Name.Text = "Player Name:"; + this.L_Name.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // - // CB_P0Gender + // CB_Gender // - this.CB_P0Gender.FormattingEnabled = true; - this.CB_P0Gender.Items.AddRange(new object[] { + this.CB_Gender.FormattingEnabled = true; + this.CB_Gender.Items.AddRange(new object[] { "Male", "Female"}); - this.CB_P0Gender.Location = new System.Drawing.Point(218, 187); - this.CB_P0Gender.Name = "CB_P0Gender"; - this.CB_P0Gender.Size = new System.Drawing.Size(93, 21); - this.CB_P0Gender.TabIndex = 69; + this.CB_Gender.Location = new System.Drawing.Point(218, 187); + this.CB_Gender.Name = "CB_Gender"; + this.CB_Gender.Size = new System.Drawing.Size(93, 21); + this.CB_Gender.TabIndex = 69; // - // L_P0Gender + // L_Gender // - this.L_P0Gender.Location = new System.Drawing.Point(154, 190); - this.L_P0Gender.Name = "L_P0Gender"; - this.L_P0Gender.Size = new System.Drawing.Size(58, 13); - this.L_P0Gender.TabIndex = 68; - this.L_P0Gender.Text = "Gender:"; - this.L_P0Gender.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + this.L_Gender.Location = new System.Drawing.Point(154, 190); + this.L_Gender.Name = "L_Gender"; + this.L_Gender.Size = new System.Drawing.Size(58, 13); + this.L_Gender.TabIndex = 68; + this.L_Gender.Text = "Gender:"; + this.L_Gender.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // - // L_P0Badge23 + // L_Badge23 // - this.L_P0Badge23.Location = new System.Drawing.Point(426, 520); - this.L_P0Badge23.Name = "L_P0Badge23"; - this.L_P0Badge23.Size = new System.Drawing.Size(93, 23); - this.L_P0Badge23.TabIndex = 67; - this.L_P0Badge23.Text = "Villager:"; - this.L_P0Badge23.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + this.L_Badge23.Location = new System.Drawing.Point(426, 520); + this.L_Badge23.Name = "L_Badge23"; + this.L_Badge23.Size = new System.Drawing.Size(93, 23); + this.L_Badge23.TabIndex = 67; + this.L_Badge23.Text = "Villager:"; + this.L_Badge23.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // - // CB_P0Badge23 + // CB_Badge23 // - this.CB_P0Badge23.FormattingEnabled = true; - this.CB_P0Badge23.Items.AddRange(new object[] { + this.CB_Badge23.FormattingEnabled = true; + this.CB_Badge23.Items.AddRange(new object[] { "None", "Bronze", "Silver", "Gold"}); - this.CB_P0Badge23.Location = new System.Drawing.Point(525, 522); - this.CB_P0Badge23.Name = "CB_P0Badge23"; - this.CB_P0Badge23.Size = new System.Drawing.Size(121, 21); - this.CB_P0Badge23.TabIndex = 66; + this.CB_Badge23.Location = new System.Drawing.Point(525, 522); + this.CB_Badge23.Name = "CB_Badge23"; + this.CB_Badge23.Size = new System.Drawing.Size(121, 21); + this.CB_Badge23.TabIndex = 66; // - // L_P0Badge22 + // L_Badge22 // - this.L_P0Badge22.Location = new System.Drawing.Point(426, 498); - this.L_P0Badge22.Name = "L_P0Badge22"; - this.L_P0Badge22.Size = new System.Drawing.Size(93, 23); - this.L_P0Badge22.TabIndex = 65; - this.L_P0Badge22.Text = "Dream:"; - this.L_P0Badge22.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + this.L_Badge22.Location = new System.Drawing.Point(426, 498); + this.L_Badge22.Name = "L_Badge22"; + this.L_Badge22.Size = new System.Drawing.Size(93, 23); + this.L_Badge22.TabIndex = 65; + this.L_Badge22.Text = "Dream:"; + this.L_Badge22.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // - // CB_P0Badge22 + // CB_Badge22 // - this.CB_P0Badge22.FormattingEnabled = true; - this.CB_P0Badge22.Items.AddRange(new object[] { + this.CB_Badge22.FormattingEnabled = true; + this.CB_Badge22.Items.AddRange(new object[] { "None", "Bronze", "Silver", "Gold"}); - this.CB_P0Badge22.Location = new System.Drawing.Point(525, 500); - this.CB_P0Badge22.Name = "CB_P0Badge22"; - this.CB_P0Badge22.Size = new System.Drawing.Size(121, 21); - this.CB_P0Badge22.TabIndex = 64; + this.CB_Badge22.Location = new System.Drawing.Point(525, 500); + this.CB_Badge22.Name = "CB_Badge22"; + this.CB_Badge22.Size = new System.Drawing.Size(121, 21); + this.CB_Badge22.TabIndex = 64; // - // L_P0Badge21 + // L_Badge21 // - this.L_P0Badge21.Location = new System.Drawing.Point(426, 476); - this.L_P0Badge21.Name = "L_P0Badge21"; - this.L_P0Badge21.Size = new System.Drawing.Size(93, 23); - this.L_P0Badge21.TabIndex = 63; - this.L_P0Badge21.Text = "Ambassador:"; - this.L_P0Badge21.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + this.L_Badge21.Location = new System.Drawing.Point(426, 476); + this.L_Badge21.Name = "L_Badge21"; + this.L_Badge21.Size = new System.Drawing.Size(93, 23); + this.L_Badge21.TabIndex = 63; + this.L_Badge21.Text = "Ambassador:"; + this.L_Badge21.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // - // CB_P0Badge21 + // CB_Badge21 // - this.CB_P0Badge21.FormattingEnabled = true; - this.CB_P0Badge21.Items.AddRange(new object[] { + this.CB_Badge21.FormattingEnabled = true; + this.CB_Badge21.Items.AddRange(new object[] { "None", "Bronze", "Silver", "Gold"}); - this.CB_P0Badge21.Location = new System.Drawing.Point(525, 478); - this.CB_P0Badge21.Name = "CB_P0Badge21"; - this.CB_P0Badge21.Size = new System.Drawing.Size(121, 21); - this.CB_P0Badge21.TabIndex = 62; + this.CB_Badge21.Location = new System.Drawing.Point(525, 478); + this.CB_Badge21.Name = "CB_Badge21"; + this.CB_Badge21.Size = new System.Drawing.Size(121, 21); + this.CB_Badge21.TabIndex = 62; // - // L_P0Badge20 + // L_Badge20 // - this.L_P0Badge20.Location = new System.Drawing.Point(426, 454); - this.L_P0Badge20.Name = "L_P0Badge20"; - this.L_P0Badge20.Size = new System.Drawing.Size(93, 23); - this.L_P0Badge20.TabIndex = 61; - this.L_P0Badge20.Text = "Traveler:"; - this.L_P0Badge20.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + this.L_Badge20.Location = new System.Drawing.Point(426, 454); + this.L_Badge20.Name = "L_Badge20"; + this.L_Badge20.Size = new System.Drawing.Size(93, 23); + this.L_Badge20.TabIndex = 61; + this.L_Badge20.Text = "Traveler:"; + this.L_Badge20.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // - // CB_P0Badge20 + // CB_Badge20 // - this.CB_P0Badge20.FormattingEnabled = true; - this.CB_P0Badge20.Items.AddRange(new object[] { + this.CB_Badge20.FormattingEnabled = true; + this.CB_Badge20.Items.AddRange(new object[] { "None", "Bronze", "Silver", "Gold"}); - this.CB_P0Badge20.Location = new System.Drawing.Point(525, 456); - this.CB_P0Badge20.Name = "CB_P0Badge20"; - this.CB_P0Badge20.Size = new System.Drawing.Size(121, 21); - this.CB_P0Badge20.TabIndex = 60; + this.CB_Badge20.Location = new System.Drawing.Point(525, 456); + this.CB_Badge20.Name = "CB_Badge20"; + this.CB_Badge20.Size = new System.Drawing.Size(121, 21); + this.CB_Badge20.TabIndex = 60; // - // L_P0HairStyle + // L_HairStyle // - this.L_P0HairStyle.Location = new System.Drawing.Point(157, 55); - this.L_P0HairStyle.Name = "L_P0HairStyle"; - this.L_P0HairStyle.Size = new System.Drawing.Size(55, 13); - this.L_P0HairStyle.TabIndex = 59; - this.L_P0HairStyle.Text = "Hair Style:"; - this.L_P0HairStyle.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + this.L_HairStyle.Location = new System.Drawing.Point(157, 55); + this.L_HairStyle.Name = "L_HairStyle"; + this.L_HairStyle.Size = new System.Drawing.Size(55, 13); + this.L_HairStyle.TabIndex = 59; + this.L_HairStyle.Text = "Hair Style:"; + this.L_HairStyle.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // - // L_P0HairColor + // L_HairColor // - this.L_P0HairColor.Location = new System.Drawing.Point(156, 82); - this.L_P0HairColor.Name = "L_P0HairColor"; - this.L_P0HairColor.Size = new System.Drawing.Size(56, 13); - this.L_P0HairColor.TabIndex = 58; - this.L_P0HairColor.Text = "Hair Color:"; - this.L_P0HairColor.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + this.L_HairColor.Location = new System.Drawing.Point(156, 82); + this.L_HairColor.Name = "L_HairColor"; + this.L_HairColor.Size = new System.Drawing.Size(56, 13); + this.L_HairColor.TabIndex = 58; + this.L_HairColor.Text = "Hair Color:"; + this.L_HairColor.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // - // L_P0FaceShape + // L_FaceShape // - this.L_P0FaceShape.Location = new System.Drawing.Point(144, 109); - this.L_P0FaceShape.Name = "L_P0FaceShape"; - this.L_P0FaceShape.Size = new System.Drawing.Size(68, 13); - this.L_P0FaceShape.TabIndex = 57; - this.L_P0FaceShape.Text = "Face Shape:"; - this.L_P0FaceShape.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + this.L_FaceShape.Location = new System.Drawing.Point(144, 109); + this.L_FaceShape.Name = "L_FaceShape"; + this.L_FaceShape.Size = new System.Drawing.Size(68, 13); + this.L_FaceShape.TabIndex = 57; + this.L_FaceShape.Text = "Face Shape:"; + this.L_FaceShape.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // - // L_P0EyeColor + // L_EyeColor // - this.L_P0EyeColor.Location = new System.Drawing.Point(157, 136); - this.L_P0EyeColor.Name = "L_P0EyeColor"; - this.L_P0EyeColor.Size = new System.Drawing.Size(55, 13); - this.L_P0EyeColor.TabIndex = 56; - this.L_P0EyeColor.Text = "Eye Color:"; - this.L_P0EyeColor.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + this.L_EyeColor.Location = new System.Drawing.Point(157, 136); + this.L_EyeColor.Name = "L_EyeColor"; + this.L_EyeColor.Size = new System.Drawing.Size(55, 13); + this.L_EyeColor.TabIndex = 56; + this.L_EyeColor.Text = "Eye Color:"; + this.L_EyeColor.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // - // CB_P0SkinColor + // CB_SkinColor // - this.CB_P0SkinColor.FormattingEnabled = true; - this.CB_P0SkinColor.Items.AddRange(new object[] { + this.CB_SkinColor.FormattingEnabled = true; + this.CB_SkinColor.Items.AddRange(new object[] { "0", "1", "2", @@ -1327,15 +1327,15 @@ private void InitializeComponent() "13", "14", "15"}); - this.CB_P0SkinColor.Location = new System.Drawing.Point(218, 160); - this.CB_P0SkinColor.Name = "CB_P0SkinColor"; - this.CB_P0SkinColor.Size = new System.Drawing.Size(93, 21); - this.CB_P0SkinColor.TabIndex = 55; + this.CB_SkinColor.Location = new System.Drawing.Point(218, 160); + this.CB_SkinColor.Name = "CB_SkinColor"; + this.CB_SkinColor.Size = new System.Drawing.Size(93, 21); + this.CB_SkinColor.TabIndex = 55; // - // CB_P0EyeColor + // CB_EyeColor // - this.CB_P0EyeColor.FormattingEnabled = true; - this.CB_P0EyeColor.Items.AddRange(new object[] { + this.CB_EyeColor.FormattingEnabled = true; + this.CB_EyeColor.Items.AddRange(new object[] { "Black", "Brown", "Green", @@ -1344,15 +1344,15 @@ private void InitializeComponent() "Blue", "6", "7"}); - this.CB_P0EyeColor.Location = new System.Drawing.Point(218, 133); - this.CB_P0EyeColor.Name = "CB_P0EyeColor"; - this.CB_P0EyeColor.Size = new System.Drawing.Size(93, 21); - this.CB_P0EyeColor.TabIndex = 54; + this.CB_EyeColor.Location = new System.Drawing.Point(218, 133); + this.CB_EyeColor.Name = "CB_EyeColor"; + this.CB_EyeColor.Size = new System.Drawing.Size(93, 21); + this.CB_EyeColor.TabIndex = 54; // - // CB_P0FaceShape + // CB_FaceShape // - this.CB_P0FaceShape.FormattingEnabled = true; - this.CB_P0FaceShape.Items.AddRange(new object[] { + this.CB_FaceShape.FormattingEnabled = true; + this.CB_FaceShape.Items.AddRange(new object[] { "0", "1", "2", @@ -1365,15 +1365,15 @@ private void InitializeComponent() "9", "10", "11"}); - this.CB_P0FaceShape.Location = new System.Drawing.Point(218, 106); - this.CB_P0FaceShape.Name = "CB_P0FaceShape"; - this.CB_P0FaceShape.Size = new System.Drawing.Size(93, 21); - this.CB_P0FaceShape.TabIndex = 53; + this.CB_FaceShape.Location = new System.Drawing.Point(218, 106); + this.CB_FaceShape.Name = "CB_FaceShape"; + this.CB_FaceShape.Size = new System.Drawing.Size(93, 21); + this.CB_FaceShape.TabIndex = 53; // - // CB_P0HairColor + // CB_HairColor // - this.CB_P0HairColor.FormattingEnabled = true; - this.CB_P0HairColor.Items.AddRange(new object[] { + this.CB_HairColor.FormattingEnabled = true; + this.CB_HairColor.Items.AddRange(new object[] { "Brown", "Light Brown", "Orange", @@ -1390,24 +1390,24 @@ private void InitializeComponent() "Green", "Purple", "Light Green"}); - this.CB_P0HairColor.Location = new System.Drawing.Point(218, 79); - this.CB_P0HairColor.Name = "CB_P0HairColor"; - this.CB_P0HairColor.Size = new System.Drawing.Size(93, 21); - this.CB_P0HairColor.TabIndex = 52; + this.CB_HairColor.Location = new System.Drawing.Point(218, 79); + this.CB_HairColor.Name = "CB_HairColor"; + this.CB_HairColor.Size = new System.Drawing.Size(93, 21); + this.CB_HairColor.TabIndex = 52; // - // L_P0SkinColor + // L_SkinColor // - this.L_P0SkinColor.Location = new System.Drawing.Point(154, 163); - this.L_P0SkinColor.Name = "L_P0SkinColor"; - this.L_P0SkinColor.Size = new System.Drawing.Size(58, 13); - this.L_P0SkinColor.TabIndex = 50; - this.L_P0SkinColor.Text = "Skin Color:"; - this.L_P0SkinColor.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + this.L_SkinColor.Location = new System.Drawing.Point(154, 163); + this.L_SkinColor.Name = "L_SkinColor"; + this.L_SkinColor.Size = new System.Drawing.Size(58, 13); + this.L_SkinColor.TabIndex = 50; + this.L_SkinColor.Text = "Skin Color:"; + this.L_SkinColor.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // - // CB_P0HairStyle + // CB_HairStyle // - this.CB_P0HairStyle.FormattingEnabled = true; - this.CB_P0HairStyle.Items.AddRange(new object[] { + this.CB_HairStyle.FormattingEnabled = true; + this.CB_HairStyle.Items.AddRange(new object[] { "M-00", "M-01", "M-02", @@ -1424,475 +1424,480 @@ private void InitializeComponent() "M-0D", "M-0E", "M-0F", - "F-00", - "F-01", - "F-02", - "F-03", - "F-04", - "F-05", - "F-06", - "F-07", - "F-08", - "F-09", - "F-0A", - "F-0B", - "F-0C", - "F-0D", - "F-0E", - "F-0F"}); - this.CB_P0HairStyle.Location = new System.Drawing.Point(218, 52); - this.CB_P0HairStyle.Name = "CB_P0HairStyle"; - this.CB_P0HairStyle.Size = new System.Drawing.Size(93, 21); - this.CB_P0HairStyle.TabIndex = 49; + "F-10", + "F-11", + "F-12", + "F-13", + "F-14", + "F-15", + "F-16", + "F-17", + "F-18", + "F-19", + "F-1A", + "F-1B", + "F-1C", + "F-1D", + "F-1E", + "F-1F", + "?-20", + "?-21", + "?-22", + "?-23"}); + this.CB_HairStyle.Location = new System.Drawing.Point(218, 52); + this.CB_HairStyle.Name = "CB_HairStyle"; + this.CB_HairStyle.Size = new System.Drawing.Size(93, 21); + this.CB_HairStyle.TabIndex = 49; // - // TB_P0Name + // TB_Name // - this.TB_P0Name.Location = new System.Drawing.Point(218, 26); - this.TB_P0Name.MaxLength = 9; - this.TB_P0Name.Name = "TB_P0Name"; - this.TB_P0Name.Size = new System.Drawing.Size(93, 20); - this.TB_P0Name.TabIndex = 48; - this.TB_P0Name.Text = "WWWWWWWW"; + this.TB_Name.Location = new System.Drawing.Point(218, 26); + this.TB_Name.MaxLength = 9; + this.TB_Name.Name = "TB_Name"; + this.TB_Name.Size = new System.Drawing.Size(93, 20); + this.TB_Name.TabIndex = 48; + this.TB_Name.Text = "WWWWWWWW"; + this.TB_Name.TextChanged += new System.EventHandler(this.changePlayerName); // - // L_P0Badge19 + // L_Badge19 // - this.L_P0Badge19.Location = new System.Drawing.Point(426, 432); - this.L_P0Badge19.Name = "L_P0Badge19"; - this.L_P0Badge19.Size = new System.Drawing.Size(93, 23); - this.L_P0Badge19.TabIndex = 47; - this.L_P0Badge19.Text = "StreetPass:"; - this.L_P0Badge19.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + this.L_Badge19.Location = new System.Drawing.Point(426, 432); + this.L_Badge19.Name = "L_Badge19"; + this.L_Badge19.Size = new System.Drawing.Size(93, 23); + this.L_Badge19.TabIndex = 47; + this.L_Badge19.Text = "StreetPass:"; + this.L_Badge19.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // - // L_P0Badge18 + // L_Badge18 // - this.L_P0Badge18.Location = new System.Drawing.Point(426, 410); - this.L_P0Badge18.Name = "L_P0Badge18"; - this.L_P0Badge18.Size = new System.Drawing.Size(93, 23); - this.L_P0Badge18.TabIndex = 46; - this.L_P0Badge18.Text = "Postman:"; - this.L_P0Badge18.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + this.L_Badge18.Location = new System.Drawing.Point(426, 410); + this.L_Badge18.Name = "L_Badge18"; + this.L_Badge18.Size = new System.Drawing.Size(93, 23); + this.L_Badge18.TabIndex = 46; + this.L_Badge18.Text = "Postman:"; + this.L_Badge18.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // - // L_P0Badge17 + // L_Badge17 // - this.L_P0Badge17.Location = new System.Drawing.Point(426, 388); - this.L_P0Badge17.Name = "L_P0Badge17"; - this.L_P0Badge17.Size = new System.Drawing.Size(93, 23); - this.L_P0Badge17.TabIndex = 45; - this.L_P0Badge17.Text = "Town Helper:"; - this.L_P0Badge17.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + this.L_Badge17.Location = new System.Drawing.Point(426, 388); + this.L_Badge17.Name = "L_Badge17"; + this.L_Badge17.Size = new System.Drawing.Size(93, 23); + this.L_Badge17.TabIndex = 45; + this.L_Badge17.Text = "Town Helper:"; + this.L_Badge17.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // - // L_P0Badge16 + // L_Badge16 // - this.L_P0Badge16.Location = new System.Drawing.Point(426, 366); - this.L_P0Badge16.Name = "L_P0Badge16"; - this.L_P0Badge16.Size = new System.Drawing.Size(93, 23); - this.L_P0Badge16.TabIndex = 44; - this.L_P0Badge16.Text = "K.K. Slider:"; - this.L_P0Badge16.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + this.L_Badge16.Location = new System.Drawing.Point(426, 366); + this.L_Badge16.Name = "L_Badge16"; + this.L_Badge16.Size = new System.Drawing.Size(93, 23); + this.L_Badge16.TabIndex = 44; + this.L_Badge16.Text = "K.K. Slider:"; + this.L_Badge16.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // - // L_P0Badge15 + // L_Badge15 // - this.L_P0Badge15.Location = new System.Drawing.Point(426, 344); - this.L_P0Badge15.Name = "L_P0Badge15"; - this.L_P0Badge15.Size = new System.Drawing.Size(93, 23); - this.L_P0Badge15.TabIndex = 43; - this.L_P0Badge15.Text = "Happy Homer:"; - this.L_P0Badge15.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + this.L_Badge15.Location = new System.Drawing.Point(426, 344); + this.L_Badge15.Name = "L_Badge15"; + this.L_Badge15.Size = new System.Drawing.Size(93, 23); + this.L_Badge15.TabIndex = 43; + this.L_Badge15.Text = "Happy Homer:"; + this.L_Badge15.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // - // L_P0Badge14 + // L_Badge14 // - this.L_P0Badge14.Location = new System.Drawing.Point(426, 322); - this.L_P0Badge14.Name = "L_P0Badge14"; - this.L_P0Badge14.Size = new System.Drawing.Size(93, 23); - this.L_P0Badge14.TabIndex = 42; - this.L_P0Badge14.Text = "Catalog:"; - this.L_P0Badge14.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + this.L_Badge14.Location = new System.Drawing.Point(426, 322); + this.L_Badge14.Name = "L_Badge14"; + this.L_Badge14.Size = new System.Drawing.Size(93, 23); + this.L_Badge14.TabIndex = 42; + this.L_Badge14.Text = "Catalog:"; + this.L_Badge14.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // - // L_P0Badge13 + // L_Badge13 // - this.L_P0Badge13.Location = new System.Drawing.Point(426, 300); - this.L_P0Badge13.Name = "L_P0Badge13"; - this.L_P0Badge13.Size = new System.Drawing.Size(93, 23); - this.L_P0Badge13.TabIndex = 41; - this.L_P0Badge13.Text = "Refurbishing:"; - this.L_P0Badge13.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + this.L_Badge13.Location = new System.Drawing.Point(426, 300); + this.L_Badge13.Name = "L_Badge13"; + this.L_Badge13.Size = new System.Drawing.Size(93, 23); + this.L_Badge13.TabIndex = 41; + this.L_Badge13.Text = "Refurbishing:"; + this.L_Badge13.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // - // L_P0Badge12 + // L_Badge12 // - this.L_P0Badge12.Location = new System.Drawing.Point(426, 278); - this.L_P0Badge12.Name = "L_P0Badge12"; - this.L_P0Badge12.Size = new System.Drawing.Size(93, 23); - this.L_P0Badge12.TabIndex = 40; - this.L_P0Badge12.Text = "Shopper:"; - this.L_P0Badge12.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + this.L_Badge12.Location = new System.Drawing.Point(426, 278); + this.L_Badge12.Name = "L_Badge12"; + this.L_Badge12.Size = new System.Drawing.Size(93, 23); + this.L_Badge12.TabIndex = 40; + this.L_Badge12.Text = "Shopper:"; + this.L_Badge12.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // - // L_P0Badge11 + // L_Badge11 // - this.L_P0Badge11.Location = new System.Drawing.Point(426, 256); - this.L_P0Badge11.Name = "L_P0Badge11"; - this.L_P0Badge11.Size = new System.Drawing.Size(93, 23); - this.L_P0Badge11.TabIndex = 39; - this.L_P0Badge11.Text = "Turnip:"; - this.L_P0Badge11.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + this.L_Badge11.Location = new System.Drawing.Point(426, 256); + this.L_Badge11.Name = "L_Badge11"; + this.L_Badge11.Size = new System.Drawing.Size(93, 23); + this.L_Badge11.TabIndex = 39; + this.L_Badge11.Text = "Turnip:"; + this.L_Badge11.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // - // L_P0Badge10 + // L_Badge10 // - this.L_P0Badge10.Location = new System.Drawing.Point(426, 234); - this.L_P0Badge10.Name = "L_P0Badge10"; - this.L_P0Badge10.Size = new System.Drawing.Size(93, 23); - this.L_P0Badge10.TabIndex = 38; - this.L_P0Badge10.Text = "Bell Saver:"; - this.L_P0Badge10.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + this.L_Badge10.Location = new System.Drawing.Point(426, 234); + this.L_Badge10.Name = "L_Badge10"; + this.L_Badge10.Size = new System.Drawing.Size(93, 23); + this.L_Badge10.TabIndex = 38; + this.L_Badge10.Text = "Bell Saver:"; + this.L_Badge10.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // - // L_P0Badge09 + // L_Badge09 // - this.L_P0Badge09.Location = new System.Drawing.Point(426, 212); - this.L_P0Badge09.Name = "L_P0Badge09"; - this.L_P0Badge09.Size = new System.Drawing.Size(93, 23); - this.L_P0Badge09.TabIndex = 37; - this.L_P0Badge09.Text = "Weed:"; - this.L_P0Badge09.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + this.L_Badge09.Location = new System.Drawing.Point(426, 212); + this.L_Badge09.Name = "L_Badge09"; + this.L_Badge09.Size = new System.Drawing.Size(93, 23); + this.L_Badge09.TabIndex = 37; + this.L_Badge09.Text = "Weed:"; + this.L_Badge09.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // - // L_P0Badge08 + // L_Badge08 // - this.L_P0Badge08.Location = new System.Drawing.Point(426, 190); - this.L_P0Badge08.Name = "L_P0Badge08"; - this.L_P0Badge08.Size = new System.Drawing.Size(93, 23); - this.L_P0Badge08.TabIndex = 36; - this.L_P0Badge08.Text = "Gardening:"; - this.L_P0Badge08.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + this.L_Badge08.Location = new System.Drawing.Point(426, 190); + this.L_Badge08.Name = "L_Badge08"; + this.L_Badge08.Size = new System.Drawing.Size(93, 23); + this.L_Badge08.TabIndex = 36; + this.L_Badge08.Text = "Gardening:"; + this.L_Badge08.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // - // L_P0Badge07 + // L_Badge07 // - this.L_P0Badge07.Location = new System.Drawing.Point(426, 168); - this.L_P0Badge07.Name = "L_P0Badge07"; - this.L_P0Badge07.Size = new System.Drawing.Size(93, 23); - this.L_P0Badge07.TabIndex = 35; - this.L_P0Badge07.Text = "Medalist:"; - this.L_P0Badge07.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + this.L_Badge07.Location = new System.Drawing.Point(426, 168); + this.L_Badge07.Name = "L_Badge07"; + this.L_Badge07.Size = new System.Drawing.Size(93, 23); + this.L_Badge07.TabIndex = 35; + this.L_Badge07.Text = "Medalist:"; + this.L_Badge07.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // - // L_P0Badge06 + // L_Badge06 // - this.L_P0Badge06.Location = new System.Drawing.Point(426, 146); - this.L_P0Badge06.Name = "L_P0Badge06"; - this.L_P0Badge06.Size = new System.Drawing.Size(93, 23); - this.L_P0Badge06.TabIndex = 34; - this.L_P0Badge06.Text = "Baloon:"; - this.L_P0Badge06.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + this.L_Badge06.Location = new System.Drawing.Point(426, 146); + this.L_Badge06.Name = "L_Badge06"; + this.L_Badge06.Size = new System.Drawing.Size(93, 23); + this.L_Badge06.TabIndex = 34; + this.L_Badge06.Text = "Baloon:"; + this.L_Badge06.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // - // L_P0Badge05 + // L_Badge05 // - this.L_P0Badge05.Location = new System.Drawing.Point(426, 124); - this.L_P0Badge05.Name = "L_P0Badge05"; - this.L_P0Badge05.Size = new System.Drawing.Size(93, 23); - this.L_P0Badge05.TabIndex = 33; - this.L_P0Badge05.Text = "Seafood:"; - this.L_P0Badge05.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + this.L_Badge05.Location = new System.Drawing.Point(426, 124); + this.L_Badge05.Name = "L_Badge05"; + this.L_Badge05.Size = new System.Drawing.Size(93, 23); + this.L_Badge05.TabIndex = 33; + this.L_Badge05.Text = "Seafood:"; + this.L_Badge05.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // - // L_P0Badge04 + // L_Badge04 // - this.L_P0Badge04.Location = new System.Drawing.Point(426, 102); - this.L_P0Badge04.Name = "L_P0Badge04"; - this.L_P0Badge04.Size = new System.Drawing.Size(93, 23); - this.L_P0Badge04.TabIndex = 32; - this.L_P0Badge04.Text = "Ichtyology:"; - this.L_P0Badge04.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + this.L_Badge04.Location = new System.Drawing.Point(426, 102); + this.L_Badge04.Name = "L_Badge04"; + this.L_Badge04.Size = new System.Drawing.Size(93, 23); + this.L_Badge04.TabIndex = 32; + this.L_Badge04.Text = "Ichtyology:"; + this.L_Badge04.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // - // L_P0Badge03 + // L_Badge03 // - this.L_P0Badge03.Location = new System.Drawing.Point(426, 80); - this.L_P0Badge03.Name = "L_P0Badge03"; - this.L_P0Badge03.Size = new System.Drawing.Size(93, 23); - this.L_P0Badge03.TabIndex = 31; - this.L_P0Badge03.Text = "Entomology:"; - this.L_P0Badge03.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + this.L_Badge03.Location = new System.Drawing.Point(426, 80); + this.L_Badge03.Name = "L_Badge03"; + this.L_Badge03.Size = new System.Drawing.Size(93, 23); + this.L_Badge03.TabIndex = 31; + this.L_Badge03.Text = "Entomology:"; + this.L_Badge03.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // - // L_P0Badge02 + // L_Badge02 // - this.L_P0Badge02.Location = new System.Drawing.Point(426, 58); - this.L_P0Badge02.Name = "L_P0Badge02"; - this.L_P0Badge02.Size = new System.Drawing.Size(93, 23); - this.L_P0Badge02.TabIndex = 30; - this.L_P0Badge02.Text = "Dive:"; - this.L_P0Badge02.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + this.L_Badge02.Location = new System.Drawing.Point(426, 58); + this.L_Badge02.Name = "L_Badge02"; + this.L_Badge02.Size = new System.Drawing.Size(93, 23); + this.L_Badge02.TabIndex = 30; + this.L_Badge02.Text = "Dive:"; + this.L_Badge02.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // - // L_P0Badge01 + // L_Badge01 // - this.L_P0Badge01.Location = new System.Drawing.Point(426, 36); - this.L_P0Badge01.Name = "L_P0Badge01"; - this.L_P0Badge01.Size = new System.Drawing.Size(93, 23); - this.L_P0Badge01.TabIndex = 29; - this.L_P0Badge01.Text = "Angler:"; - this.L_P0Badge01.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + this.L_Badge01.Location = new System.Drawing.Point(426, 36); + this.L_Badge01.Name = "L_Badge01"; + this.L_Badge01.Size = new System.Drawing.Size(93, 23); + this.L_Badge01.TabIndex = 29; + this.L_Badge01.Text = "Angler:"; + this.L_Badge01.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // - // L_P0Badge00 + // L_Badge00 // - this.L_P0Badge00.Location = new System.Drawing.Point(426, 14); - this.L_P0Badge00.Name = "L_P0Badge00"; - this.L_P0Badge00.Size = new System.Drawing.Size(93, 23); - this.L_P0Badge00.TabIndex = 28; - this.L_P0Badge00.Text = "Bug Catcher:"; - this.L_P0Badge00.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + this.L_Badge00.Location = new System.Drawing.Point(426, 14); + this.L_Badge00.Name = "L_Badge00"; + this.L_Badge00.Size = new System.Drawing.Size(93, 23); + this.L_Badge00.TabIndex = 28; + this.L_Badge00.Text = "Bug Catcher:"; + this.L_Badge00.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // - // CB_P0Badge19 + // CB_Badge19 // - this.CB_P0Badge19.FormattingEnabled = true; - this.CB_P0Badge19.Items.AddRange(new object[] { + this.CB_Badge19.FormattingEnabled = true; + this.CB_Badge19.Items.AddRange(new object[] { "None", "Bronze", "Silver", "Gold"}); - this.CB_P0Badge19.Location = new System.Drawing.Point(525, 434); - this.CB_P0Badge19.Name = "CB_P0Badge19"; - this.CB_P0Badge19.Size = new System.Drawing.Size(121, 21); - this.CB_P0Badge19.TabIndex = 27; + this.CB_Badge19.Location = new System.Drawing.Point(525, 434); + this.CB_Badge19.Name = "CB_Badge19"; + this.CB_Badge19.Size = new System.Drawing.Size(121, 21); + this.CB_Badge19.TabIndex = 27; // - // CB_P0Badge18 + // CB_Badge18 // - this.CB_P0Badge18.FormattingEnabled = true; - this.CB_P0Badge18.Items.AddRange(new object[] { + this.CB_Badge18.FormattingEnabled = true; + this.CB_Badge18.Items.AddRange(new object[] { "None", "Bronze", "Silver", "Gold"}); - this.CB_P0Badge18.Location = new System.Drawing.Point(525, 412); - this.CB_P0Badge18.Name = "CB_P0Badge18"; - this.CB_P0Badge18.Size = new System.Drawing.Size(121, 21); - this.CB_P0Badge18.TabIndex = 26; + this.CB_Badge18.Location = new System.Drawing.Point(525, 412); + this.CB_Badge18.Name = "CB_Badge18"; + this.CB_Badge18.Size = new System.Drawing.Size(121, 21); + this.CB_Badge18.TabIndex = 26; // - // CB_P0Badge17 + // CB_Badge17 // - this.CB_P0Badge17.FormattingEnabled = true; - this.CB_P0Badge17.Items.AddRange(new object[] { + this.CB_Badge17.FormattingEnabled = true; + this.CB_Badge17.Items.AddRange(new object[] { "None", "Bronze", "Silver", "Gold"}); - this.CB_P0Badge17.Location = new System.Drawing.Point(525, 390); - this.CB_P0Badge17.Name = "CB_P0Badge17"; - this.CB_P0Badge17.Size = new System.Drawing.Size(121, 21); - this.CB_P0Badge17.TabIndex = 25; + this.CB_Badge17.Location = new System.Drawing.Point(525, 390); + this.CB_Badge17.Name = "CB_Badge17"; + this.CB_Badge17.Size = new System.Drawing.Size(121, 21); + this.CB_Badge17.TabIndex = 25; // - // CB_P0Badge16 + // CB_Badge16 // - this.CB_P0Badge16.FormattingEnabled = true; - this.CB_P0Badge16.Items.AddRange(new object[] { + this.CB_Badge16.FormattingEnabled = true; + this.CB_Badge16.Items.AddRange(new object[] { "None", "Bronze", "Silver", "Gold"}); - this.CB_P0Badge16.Location = new System.Drawing.Point(525, 368); - this.CB_P0Badge16.Name = "CB_P0Badge16"; - this.CB_P0Badge16.Size = new System.Drawing.Size(121, 21); - this.CB_P0Badge16.TabIndex = 24; + this.CB_Badge16.Location = new System.Drawing.Point(525, 368); + this.CB_Badge16.Name = "CB_Badge16"; + this.CB_Badge16.Size = new System.Drawing.Size(121, 21); + this.CB_Badge16.TabIndex = 24; // - // CB_P0Badge15 + // CB_Badge15 // - this.CB_P0Badge15.FormattingEnabled = true; - this.CB_P0Badge15.Items.AddRange(new object[] { + this.CB_Badge15.FormattingEnabled = true; + this.CB_Badge15.Items.AddRange(new object[] { "None", "Bronze", "Silver", "Gold"}); - this.CB_P0Badge15.Location = new System.Drawing.Point(525, 346); - this.CB_P0Badge15.Name = "CB_P0Badge15"; - this.CB_P0Badge15.Size = new System.Drawing.Size(121, 21); - this.CB_P0Badge15.TabIndex = 23; + this.CB_Badge15.Location = new System.Drawing.Point(525, 346); + this.CB_Badge15.Name = "CB_Badge15"; + this.CB_Badge15.Size = new System.Drawing.Size(121, 21); + this.CB_Badge15.TabIndex = 23; // - // CB_P0Badge14 + // CB_Badge14 // - this.CB_P0Badge14.FormattingEnabled = true; - this.CB_P0Badge14.Items.AddRange(new object[] { + this.CB_Badge14.FormattingEnabled = true; + this.CB_Badge14.Items.AddRange(new object[] { "None", "Bronze", "Silver", "Gold"}); - this.CB_P0Badge14.Location = new System.Drawing.Point(525, 324); - this.CB_P0Badge14.Name = "CB_P0Badge14"; - this.CB_P0Badge14.Size = new System.Drawing.Size(121, 21); - this.CB_P0Badge14.TabIndex = 22; + this.CB_Badge14.Location = new System.Drawing.Point(525, 324); + this.CB_Badge14.Name = "CB_Badge14"; + this.CB_Badge14.Size = new System.Drawing.Size(121, 21); + this.CB_Badge14.TabIndex = 22; // - // CB_P0Badge13 + // CB_Badge13 // - this.CB_P0Badge13.FormattingEnabled = true; - this.CB_P0Badge13.Items.AddRange(new object[] { + this.CB_Badge13.FormattingEnabled = true; + this.CB_Badge13.Items.AddRange(new object[] { "None", "Bronze", "Silver", "Gold"}); - this.CB_P0Badge13.Location = new System.Drawing.Point(525, 302); - this.CB_P0Badge13.Name = "CB_P0Badge13"; - this.CB_P0Badge13.Size = new System.Drawing.Size(121, 21); - this.CB_P0Badge13.TabIndex = 21; + this.CB_Badge13.Location = new System.Drawing.Point(525, 302); + this.CB_Badge13.Name = "CB_Badge13"; + this.CB_Badge13.Size = new System.Drawing.Size(121, 21); + this.CB_Badge13.TabIndex = 21; // - // CB_P0Badge12 + // CB_Badge12 // - this.CB_P0Badge12.FormattingEnabled = true; - this.CB_P0Badge12.Items.AddRange(new object[] { + this.CB_Badge12.FormattingEnabled = true; + this.CB_Badge12.Items.AddRange(new object[] { "None", "Bronze", "Silver", "Gold"}); - this.CB_P0Badge12.Location = new System.Drawing.Point(525, 280); - this.CB_P0Badge12.Name = "CB_P0Badge12"; - this.CB_P0Badge12.Size = new System.Drawing.Size(121, 21); - this.CB_P0Badge12.TabIndex = 20; + this.CB_Badge12.Location = new System.Drawing.Point(525, 280); + this.CB_Badge12.Name = "CB_Badge12"; + this.CB_Badge12.Size = new System.Drawing.Size(121, 21); + this.CB_Badge12.TabIndex = 20; // - // CB_P0Badge11 + // CB_Badge11 // - this.CB_P0Badge11.FormattingEnabled = true; - this.CB_P0Badge11.Items.AddRange(new object[] { + this.CB_Badge11.FormattingEnabled = true; + this.CB_Badge11.Items.AddRange(new object[] { "None", "Bronze", "Silver", "Gold"}); - this.CB_P0Badge11.Location = new System.Drawing.Point(525, 258); - this.CB_P0Badge11.Name = "CB_P0Badge11"; - this.CB_P0Badge11.Size = new System.Drawing.Size(121, 21); - this.CB_P0Badge11.TabIndex = 19; + this.CB_Badge11.Location = new System.Drawing.Point(525, 258); + this.CB_Badge11.Name = "CB_Badge11"; + this.CB_Badge11.Size = new System.Drawing.Size(121, 21); + this.CB_Badge11.TabIndex = 19; // - // CB_P0Badge10 + // CB_Badge10 // - this.CB_P0Badge10.FormattingEnabled = true; - this.CB_P0Badge10.Items.AddRange(new object[] { + this.CB_Badge10.FormattingEnabled = true; + this.CB_Badge10.Items.AddRange(new object[] { "None", "Bronze", "Silver", "Gold"}); - this.CB_P0Badge10.Location = new System.Drawing.Point(525, 236); - this.CB_P0Badge10.Name = "CB_P0Badge10"; - this.CB_P0Badge10.Size = new System.Drawing.Size(121, 21); - this.CB_P0Badge10.TabIndex = 18; + this.CB_Badge10.Location = new System.Drawing.Point(525, 236); + this.CB_Badge10.Name = "CB_Badge10"; + this.CB_Badge10.Size = new System.Drawing.Size(121, 21); + this.CB_Badge10.TabIndex = 18; // - // CB_P0Badge09 + // CB_Badge09 // - this.CB_P0Badge09.FormattingEnabled = true; - this.CB_P0Badge09.Items.AddRange(new object[] { + this.CB_Badge09.FormattingEnabled = true; + this.CB_Badge09.Items.AddRange(new object[] { "None", "Bronze", "Silver", "Gold"}); - this.CB_P0Badge09.Location = new System.Drawing.Point(525, 214); - this.CB_P0Badge09.Name = "CB_P0Badge09"; - this.CB_P0Badge09.Size = new System.Drawing.Size(121, 21); - this.CB_P0Badge09.TabIndex = 17; + this.CB_Badge09.Location = new System.Drawing.Point(525, 214); + this.CB_Badge09.Name = "CB_Badge09"; + this.CB_Badge09.Size = new System.Drawing.Size(121, 21); + this.CB_Badge09.TabIndex = 17; // - // CB_P0Badge08 + // CB_Badge08 // - this.CB_P0Badge08.FormattingEnabled = true; - this.CB_P0Badge08.Items.AddRange(new object[] { + this.CB_Badge08.FormattingEnabled = true; + this.CB_Badge08.Items.AddRange(new object[] { "None", "Bronze", "Silver", "Gold"}); - this.CB_P0Badge08.Location = new System.Drawing.Point(525, 192); - this.CB_P0Badge08.Name = "CB_P0Badge08"; - this.CB_P0Badge08.Size = new System.Drawing.Size(121, 21); - this.CB_P0Badge08.TabIndex = 16; + this.CB_Badge08.Location = new System.Drawing.Point(525, 192); + this.CB_Badge08.Name = "CB_Badge08"; + this.CB_Badge08.Size = new System.Drawing.Size(121, 21); + this.CB_Badge08.TabIndex = 16; // - // CB_P0Badge07 + // CB_Badge07 // - this.CB_P0Badge07.FormattingEnabled = true; - this.CB_P0Badge07.Items.AddRange(new object[] { + this.CB_Badge07.FormattingEnabled = true; + this.CB_Badge07.Items.AddRange(new object[] { "None", "Bronze", "Silver", "Gold"}); - this.CB_P0Badge07.Location = new System.Drawing.Point(525, 170); - this.CB_P0Badge07.Name = "CB_P0Badge07"; - this.CB_P0Badge07.Size = new System.Drawing.Size(121, 21); - this.CB_P0Badge07.TabIndex = 15; + this.CB_Badge07.Location = new System.Drawing.Point(525, 170); + this.CB_Badge07.Name = "CB_Badge07"; + this.CB_Badge07.Size = new System.Drawing.Size(121, 21); + this.CB_Badge07.TabIndex = 15; // - // CB_P0Badge06 + // CB_Badge06 // - this.CB_P0Badge06.FormattingEnabled = true; - this.CB_P0Badge06.Items.AddRange(new object[] { + this.CB_Badge06.FormattingEnabled = true; + this.CB_Badge06.Items.AddRange(new object[] { "None", "Bronze", "Silver", "Gold"}); - this.CB_P0Badge06.Location = new System.Drawing.Point(525, 148); - this.CB_P0Badge06.Name = "CB_P0Badge06"; - this.CB_P0Badge06.Size = new System.Drawing.Size(121, 21); - this.CB_P0Badge06.TabIndex = 14; + this.CB_Badge06.Location = new System.Drawing.Point(525, 148); + this.CB_Badge06.Name = "CB_Badge06"; + this.CB_Badge06.Size = new System.Drawing.Size(121, 21); + this.CB_Badge06.TabIndex = 14; // - // CB_P0Badge05 + // CB_Badge05 // - this.CB_P0Badge05.FormattingEnabled = true; - this.CB_P0Badge05.Items.AddRange(new object[] { + this.CB_Badge05.FormattingEnabled = true; + this.CB_Badge05.Items.AddRange(new object[] { "None", "Bronze", "Silver", "Gold"}); - this.CB_P0Badge05.Location = new System.Drawing.Point(525, 126); - this.CB_P0Badge05.Name = "CB_P0Badge05"; - this.CB_P0Badge05.Size = new System.Drawing.Size(121, 21); - this.CB_P0Badge05.TabIndex = 13; + this.CB_Badge05.Location = new System.Drawing.Point(525, 126); + this.CB_Badge05.Name = "CB_Badge05"; + this.CB_Badge05.Size = new System.Drawing.Size(121, 21); + this.CB_Badge05.TabIndex = 13; // - // CB_P0Badge04 + // CB_Badge04 // - this.CB_P0Badge04.FormattingEnabled = true; - this.CB_P0Badge04.Items.AddRange(new object[] { + this.CB_Badge04.FormattingEnabled = true; + this.CB_Badge04.Items.AddRange(new object[] { "None", "Bronze", "Silver", "Gold"}); - this.CB_P0Badge04.Location = new System.Drawing.Point(525, 104); - this.CB_P0Badge04.Name = "CB_P0Badge04"; - this.CB_P0Badge04.Size = new System.Drawing.Size(121, 21); - this.CB_P0Badge04.TabIndex = 12; + this.CB_Badge04.Location = new System.Drawing.Point(525, 104); + this.CB_Badge04.Name = "CB_Badge04"; + this.CB_Badge04.Size = new System.Drawing.Size(121, 21); + this.CB_Badge04.TabIndex = 12; // - // CB_P0Badge03 + // CB_Badge03 // - this.CB_P0Badge03.FormattingEnabled = true; - this.CB_P0Badge03.Items.AddRange(new object[] { + this.CB_Badge03.FormattingEnabled = true; + this.CB_Badge03.Items.AddRange(new object[] { "None", "Bronze", "Silver", "Gold"}); - this.CB_P0Badge03.Location = new System.Drawing.Point(525, 82); - this.CB_P0Badge03.Name = "CB_P0Badge03"; - this.CB_P0Badge03.Size = new System.Drawing.Size(121, 21); - this.CB_P0Badge03.TabIndex = 11; + this.CB_Badge03.Location = new System.Drawing.Point(525, 82); + this.CB_Badge03.Name = "CB_Badge03"; + this.CB_Badge03.Size = new System.Drawing.Size(121, 21); + this.CB_Badge03.TabIndex = 11; // - // CB_P0Badge02 + // CB_Badge02 // - this.CB_P0Badge02.FormattingEnabled = true; - this.CB_P0Badge02.Items.AddRange(new object[] { + this.CB_Badge02.FormattingEnabled = true; + this.CB_Badge02.Items.AddRange(new object[] { "None", "Bronze", "Silver", "Gold"}); - this.CB_P0Badge02.Location = new System.Drawing.Point(525, 60); - this.CB_P0Badge02.Name = "CB_P0Badge02"; - this.CB_P0Badge02.Size = new System.Drawing.Size(121, 21); - this.CB_P0Badge02.TabIndex = 10; + this.CB_Badge02.Location = new System.Drawing.Point(525, 60); + this.CB_Badge02.Name = "CB_Badge02"; + this.CB_Badge02.Size = new System.Drawing.Size(121, 21); + this.CB_Badge02.TabIndex = 10; // - // CB_P0Badge01 + // CB_Badge01 // - this.CB_P0Badge01.FormattingEnabled = true; - this.CB_P0Badge01.Items.AddRange(new object[] { + this.CB_Badge01.FormattingEnabled = true; + this.CB_Badge01.Items.AddRange(new object[] { "None", "Bronze", "Silver", "Gold"}); - this.CB_P0Badge01.Location = new System.Drawing.Point(525, 38); - this.CB_P0Badge01.Name = "CB_P0Badge01"; - this.CB_P0Badge01.Size = new System.Drawing.Size(121, 21); - this.CB_P0Badge01.TabIndex = 9; + this.CB_Badge01.Location = new System.Drawing.Point(525, 38); + this.CB_Badge01.Name = "CB_Badge01"; + this.CB_Badge01.Size = new System.Drawing.Size(121, 21); + this.CB_Badge01.TabIndex = 9; // - // CB_P0Badge00 + // CB_Badge00 // - this.CB_P0Badge00.FormattingEnabled = true; - this.CB_P0Badge00.Items.AddRange(new object[] { + this.CB_Badge00.FormattingEnabled = true; + this.CB_Badge00.Items.AddRange(new object[] { "None", "Bronze", "Silver", "Gold"}); - this.CB_P0Badge00.Location = new System.Drawing.Point(525, 16); - this.CB_P0Badge00.Name = "CB_P0Badge00"; - this.CB_P0Badge00.Size = new System.Drawing.Size(121, 21); - this.CB_P0Badge00.TabIndex = 8; + this.CB_Badge00.Location = new System.Drawing.Point(525, 16); + this.CB_Badge00.Name = "CB_Badge00"; + this.CB_Badge00.Size = new System.Drawing.Size(121, 21); + this.CB_Badge00.TabIndex = 8; // // PB_LPlayer0 // @@ -1906,72 +1911,72 @@ private void InitializeComponent() this.PB_LPlayer0.TabIndex = 7; this.PB_LPlayer0.TabStop = false; // - // L_P0Island + // L_Island // - this.L_P0Island.Location = new System.Drawing.Point(182, 401); - this.L_P0Island.Name = "L_P0Island"; - this.L_P0Island.Size = new System.Drawing.Size(82, 13); - this.L_P0Island.TabIndex = 6; - this.L_P0Island.Text = "v Island v"; - this.L_P0Island.TextAlign = System.Drawing.ContentAlignment.BottomCenter; + this.L_Island.Location = new System.Drawing.Point(182, 401); + this.L_Island.Name = "L_Island"; + this.L_Island.Size = new System.Drawing.Size(82, 13); + this.L_Island.TabIndex = 6; + this.L_Island.Text = "v Island v"; + this.L_Island.TextAlign = System.Drawing.ContentAlignment.BottomCenter; // - // L_P0Pocket + // L_Pocket // - this.L_P0Pocket.Location = new System.Drawing.Point(177, 257); - this.L_P0Pocket.Name = "L_P0Pocket"; - this.L_P0Pocket.Size = new System.Drawing.Size(87, 23); - this.L_P0Pocket.TabIndex = 4; - this.L_P0Pocket.Text = "^ Pocket ^"; - this.L_P0Pocket.TextAlign = System.Drawing.ContentAlignment.TopCenter; + this.L_Pocket.Location = new System.Drawing.Point(177, 257); + this.L_Pocket.Name = "L_Pocket"; + this.L_Pocket.Size = new System.Drawing.Size(87, 23); + this.L_Pocket.TabIndex = 4; + this.L_Pocket.Text = "^ Pocket ^"; + this.L_Pocket.TextAlign = System.Drawing.ContentAlignment.TopCenter; // - // PB_P0Island + // PB_Island // - this.PB_P0Island.BackColor = System.Drawing.Color.WhiteSmoke; - this.PB_P0Island.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.PB_P0Island.Location = new System.Drawing.Point(182, 417); - this.PB_P0Island.Name = "PB_P0Island"; - this.PB_P0Island.Size = new System.Drawing.Size(83, 131); - this.PB_P0Island.TabIndex = 3; - this.PB_P0Island.TabStop = false; + this.PB_Island.BackColor = System.Drawing.Color.WhiteSmoke; + this.PB_Island.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.PB_Island.Location = new System.Drawing.Point(182, 417); + this.PB_Island.Name = "PB_Island"; + this.PB_Island.Size = new System.Drawing.Size(83, 131); + this.PB_Island.TabIndex = 3; + this.PB_Island.TabStop = false; // - // PB_P0Pocket + // PB_Pocket // - this.PB_P0Pocket.BackColor = System.Drawing.Color.WhiteSmoke; - this.PB_P0Pocket.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.PB_P0Pocket.Location = new System.Drawing.Point(6, 232); - this.PB_P0Pocket.Name = "PB_P0Pocket"; - this.PB_P0Pocket.Size = new System.Drawing.Size(259, 19); - this.PB_P0Pocket.TabIndex = 2; - this.PB_P0Pocket.TabStop = false; + this.PB_Pocket.BackColor = System.Drawing.Color.WhiteSmoke; + this.PB_Pocket.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.PB_Pocket.Location = new System.Drawing.Point(6, 232); + this.PB_Pocket.Name = "PB_Pocket"; + this.PB_Pocket.Size = new System.Drawing.Size(259, 19); + this.PB_Pocket.TabIndex = 2; + this.PB_Pocket.TabStop = false; // - // PB_P0Dresser2 + // PB_Dresser2 // - this.PB_P0Dresser2.BackColor = System.Drawing.Color.WhiteSmoke; - this.PB_P0Dresser2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.PB_P0Dresser2.Location = new System.Drawing.Point(94, 257); - this.PB_P0Dresser2.Name = "PB_P0Dresser2"; - this.PB_P0Dresser2.Size = new System.Drawing.Size(83, 291); - this.PB_P0Dresser2.TabIndex = 1; - this.PB_P0Dresser2.TabStop = false; + this.PB_Dresser2.BackColor = System.Drawing.Color.WhiteSmoke; + this.PB_Dresser2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.PB_Dresser2.Location = new System.Drawing.Point(94, 257); + this.PB_Dresser2.Name = "PB_Dresser2"; + this.PB_Dresser2.Size = new System.Drawing.Size(83, 291); + this.PB_Dresser2.TabIndex = 1; + this.PB_Dresser2.TabStop = false; // - // PB_P0Dresser1 + // PB_Dresser1 // - this.PB_P0Dresser1.BackColor = System.Drawing.Color.WhiteSmoke; - this.PB_P0Dresser1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.PB_P0Dresser1.Location = new System.Drawing.Point(6, 257); - this.PB_P0Dresser1.Name = "PB_P0Dresser1"; - this.PB_P0Dresser1.Size = new System.Drawing.Size(83, 291); - this.PB_P0Dresser1.TabIndex = 0; - this.PB_P0Dresser1.TabStop = false; + this.PB_Dresser1.BackColor = System.Drawing.Color.WhiteSmoke; + this.PB_Dresser1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.PB_Dresser1.Location = new System.Drawing.Point(6, 257); + this.PB_Dresser1.Name = "PB_Dresser1"; + this.PB_Dresser1.Size = new System.Drawing.Size(83, 291); + this.PB_Dresser1.TabIndex = 0; + this.PB_Dresser1.TabStop = false; // - // L_P0Dresser + // L_Dresser // - this.L_P0Dresser.Location = new System.Drawing.Point(179, 257); - this.L_P0Dresser.Name = "L_P0Dresser"; - this.L_P0Dresser.Size = new System.Drawing.Size(85, 160); - this.L_P0Dresser.TabIndex = 5; - this.L_P0Dresser.Text = "<-- Dresser"; - this.L_P0Dresser.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + this.L_Dresser.Location = new System.Drawing.Point(179, 257); + this.L_Dresser.Name = "L_Dresser"; + this.L_Dresser.Size = new System.Drawing.Size(85, 160); + this.L_Dresser.TabIndex = 5; + this.L_Dresser.Text = "<-- Dresser"; + this.L_Dresser.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // tabPage4 // @@ -2548,6 +2553,7 @@ private void InitializeComponent() this.TB_TownName.Name = "TB_TownName"; this.TB_TownName.Size = new System.Drawing.Size(121, 20); this.TB_TownName.TabIndex = 17; + this.TB_TownName.TextChanged += new System.EventHandler(this.changeTownName); // // dataGridView1 // @@ -2754,10 +2760,10 @@ private void InitializeComponent() this.tabPage3.ResumeLayout(false); this.tabPage3.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.PB_LPlayer0)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.PB_P0Island)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.PB_P0Pocket)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.PB_P0Dresser2)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.PB_P0Dresser1)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.PB_Island)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.PB_Pocket)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.PB_Dresser2)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.PB_Dresser1)).EndInit(); this.tabPage4.ResumeLayout(false); this.tabPage4.PerformLayout(); this.tabPage5.ResumeLayout(false); @@ -2852,76 +2858,76 @@ private void InitializeComponent() private System.Windows.Forms.PictureBox PB_island12; private System.Windows.Forms.PictureBox PB_island11; private System.Windows.Forms.TabPage tabPage3; - private System.Windows.Forms.Label L_P0Island; - private System.Windows.Forms.Label L_P0Pocket; - private System.Windows.Forms.PictureBox PB_P0Island; - private System.Windows.Forms.PictureBox PB_P0Pocket; - private System.Windows.Forms.PictureBox PB_P0Dresser2; - private System.Windows.Forms.PictureBox PB_P0Dresser1; - private System.Windows.Forms.Label L_P0Dresser; + private System.Windows.Forms.Label L_Island; + private System.Windows.Forms.Label L_Pocket; + private System.Windows.Forms.PictureBox PB_Island; + private System.Windows.Forms.PictureBox PB_Pocket; + private System.Windows.Forms.PictureBox PB_Dresser2; + private System.Windows.Forms.PictureBox PB_Dresser1; + private System.Windows.Forms.Label L_Dresser; private System.Windows.Forms.PictureBox PB_LPlayer0; - private System.Windows.Forms.ComboBox CB_P0Badge19; - private System.Windows.Forms.ComboBox CB_P0Badge18; - private System.Windows.Forms.ComboBox CB_P0Badge17; - private System.Windows.Forms.ComboBox CB_P0Badge16; - private System.Windows.Forms.ComboBox CB_P0Badge15; - private System.Windows.Forms.ComboBox CB_P0Badge14; - private System.Windows.Forms.ComboBox CB_P0Badge13; - private System.Windows.Forms.ComboBox CB_P0Badge12; - private System.Windows.Forms.ComboBox CB_P0Badge11; - private System.Windows.Forms.ComboBox CB_P0Badge10; - private System.Windows.Forms.ComboBox CB_P0Badge09; - private System.Windows.Forms.ComboBox CB_P0Badge08; - private System.Windows.Forms.ComboBox CB_P0Badge07; - private System.Windows.Forms.ComboBox CB_P0Badge06; - private System.Windows.Forms.ComboBox CB_P0Badge05; - private System.Windows.Forms.ComboBox CB_P0Badge04; - private System.Windows.Forms.ComboBox CB_P0Badge03; - private System.Windows.Forms.ComboBox CB_P0Badge02; - private System.Windows.Forms.ComboBox CB_P0Badge01; - private System.Windows.Forms.ComboBox CB_P0Badge00; - private System.Windows.Forms.Label L_P0Badge19; - private System.Windows.Forms.Label L_P0Badge18; - private System.Windows.Forms.Label L_P0Badge17; - private System.Windows.Forms.Label L_P0Badge16; - private System.Windows.Forms.Label L_P0Badge15; - private System.Windows.Forms.Label L_P0Badge14; - private System.Windows.Forms.Label L_P0Badge13; - private System.Windows.Forms.Label L_P0Badge12; - private System.Windows.Forms.Label L_P0Badge11; - private System.Windows.Forms.Label L_P0Badge10; - private System.Windows.Forms.Label L_P0Badge09; - private System.Windows.Forms.Label L_P0Badge08; - private System.Windows.Forms.Label L_P0Badge07; - private System.Windows.Forms.Label L_P0Badge06; - private System.Windows.Forms.Label L_P0Badge05; - private System.Windows.Forms.Label L_P0Badge04; - private System.Windows.Forms.Label L_P0Badge03; - private System.Windows.Forms.Label L_P0Badge02; - private System.Windows.Forms.Label L_P0Badge01; - private System.Windows.Forms.Label L_P0Badge00; - private System.Windows.Forms.TextBox TB_P0Name; - private System.Windows.Forms.ComboBox CB_P0EyeColor; - private System.Windows.Forms.ComboBox CB_P0FaceShape; - private System.Windows.Forms.ComboBox CB_P0HairColor; - private System.Windows.Forms.Label L_P0SkinColor; - private System.Windows.Forms.ComboBox CB_P0HairStyle; - private System.Windows.Forms.Label L_P0HairStyle; - private System.Windows.Forms.Label L_P0HairColor; - private System.Windows.Forms.Label L_P0FaceShape; - private System.Windows.Forms.Label L_P0EyeColor; - private System.Windows.Forms.ComboBox CB_P0SkinColor; - private System.Windows.Forms.Label L_P0Badge23; - private System.Windows.Forms.ComboBox CB_P0Badge23; - private System.Windows.Forms.Label L_P0Badge22; - private System.Windows.Forms.ComboBox CB_P0Badge22; - private System.Windows.Forms.Label L_P0Badge21; - private System.Windows.Forms.ComboBox CB_P0Badge21; - private System.Windows.Forms.Label L_P0Badge20; - private System.Windows.Forms.ComboBox CB_P0Badge20; - private System.Windows.Forms.ComboBox CB_P0Gender; - private System.Windows.Forms.Label L_P0Gender; - private System.Windows.Forms.Label L_P0Name; + private System.Windows.Forms.ComboBox CB_Badge19; + private System.Windows.Forms.ComboBox CB_Badge18; + private System.Windows.Forms.ComboBox CB_Badge17; + private System.Windows.Forms.ComboBox CB_Badge16; + private System.Windows.Forms.ComboBox CB_Badge15; + private System.Windows.Forms.ComboBox CB_Badge14; + private System.Windows.Forms.ComboBox CB_Badge13; + private System.Windows.Forms.ComboBox CB_Badge12; + private System.Windows.Forms.ComboBox CB_Badge11; + private System.Windows.Forms.ComboBox CB_Badge10; + private System.Windows.Forms.ComboBox CB_Badge09; + private System.Windows.Forms.ComboBox CB_Badge08; + private System.Windows.Forms.ComboBox CB_Badge07; + private System.Windows.Forms.ComboBox CB_Badge06; + private System.Windows.Forms.ComboBox CB_Badge05; + private System.Windows.Forms.ComboBox CB_Badge04; + private System.Windows.Forms.ComboBox CB_Badge03; + private System.Windows.Forms.ComboBox CB_Badge02; + private System.Windows.Forms.ComboBox CB_Badge01; + private System.Windows.Forms.ComboBox CB_Badge00; + private System.Windows.Forms.Label L_Badge19; + private System.Windows.Forms.Label L_Badge18; + private System.Windows.Forms.Label L_Badge17; + private System.Windows.Forms.Label L_Badge16; + private System.Windows.Forms.Label L_Badge15; + private System.Windows.Forms.Label L_Badge14; + private System.Windows.Forms.Label L_Badge13; + private System.Windows.Forms.Label L_Badge12; + private System.Windows.Forms.Label L_Badge11; + private System.Windows.Forms.Label L_Badge10; + private System.Windows.Forms.Label L_Badge09; + private System.Windows.Forms.Label L_Badge08; + private System.Windows.Forms.Label L_Badge07; + private System.Windows.Forms.Label L_Badge06; + private System.Windows.Forms.Label L_Badge05; + private System.Windows.Forms.Label L_Badge04; + private System.Windows.Forms.Label L_Badge03; + private System.Windows.Forms.Label L_Badge02; + private System.Windows.Forms.Label L_Badge01; + private System.Windows.Forms.Label L_Badge00; + private System.Windows.Forms.TextBox TB_Name; + private System.Windows.Forms.ComboBox CB_EyeColor; + private System.Windows.Forms.ComboBox CB_FaceShape; + private System.Windows.Forms.ComboBox CB_HairColor; + private System.Windows.Forms.Label L_SkinColor; + private System.Windows.Forms.ComboBox CB_HairStyle; + private System.Windows.Forms.Label L_HairStyle; + private System.Windows.Forms.Label L_HairColor; + private System.Windows.Forms.Label L_FaceShape; + private System.Windows.Forms.Label L_EyeColor; + private System.Windows.Forms.ComboBox CB_SkinColor; + private System.Windows.Forms.Label L_Badge23; + private System.Windows.Forms.ComboBox CB_Badge23; + private System.Windows.Forms.Label L_Badge22; + private System.Windows.Forms.ComboBox CB_Badge22; + private System.Windows.Forms.Label L_Badge21; + private System.Windows.Forms.ComboBox CB_Badge21; + private System.Windows.Forms.Label L_Badge20; + private System.Windows.Forms.ComboBox CB_Badge20; + private System.Windows.Forms.ComboBox CB_Gender; + private System.Windows.Forms.Label L_Gender; + private System.Windows.Forms.Label L_Name; private System.Windows.Forms.ComboBox CB_Item; private System.Windows.Forms.TextBox TB_Flag1; private System.Windows.Forms.TextBox TB_Flag2; diff --git a/Subforms/Garden.cs b/Subforms/Garden.cs index 4ac5d45..c045eba 100644 --- a/Subforms/Garden.cs +++ b/Subforms/Garden.cs @@ -1,5 +1,6 @@ using System; using System.Drawing; +using System.Drawing.Imaging; using System.IO; using System.Linq; using System.Text; @@ -11,10 +12,10 @@ public partial class Garden : Form { // Form Variables private ushort[] TownAcreTiles, IslandAcreTiles; - private PictureBox[] TownAcres, IslandAcres, PlayerPics, PlayerPicsLarge, PlayerPockets, PlayerDressers1, PlayerDressers2, PlayerIslandBox; - private ComboBox[] PlayerHairStyles, PlayerHairColors, PlayerEyeColors, PlayerFaces, PlayerTans, PlayerGenders, TownVillagers; - private ComboBox[][] PlayerBadges; - private TextBox[] PlayerNames, TownVillagersCatch; + private PictureBox[] TownAcres, IslandAcres, PlayerPics; + private ComboBox[] TownVillagers; + private ComboBox[]PlayerBadges; + private TextBox[] TownVillagersCatch; private Player[] Players; private Building[] Buildings; @@ -52,88 +53,13 @@ public Garden() { PB_JPEG0, PB_JPEG1, PB_JPEG2, PB_JPEG3 }; - PlayerPicsLarge = new[] - { - PB_LPlayer0, /* PB_LPlayer1, PB_LPlayer2, PB_LPlayer3 */ - }; - PlayerPockets = new[] - { - PB_P0Pocket, /* PB_P1Pocket, PB_P2Pocket, PB_P3Pocket */ - }; - PlayerDressers1 = new[] - { - PB_P0Dresser1, /* PB_P1Dresser1, PB_P2Dresser1, PB_P3Dresser1 */ - }; - PlayerDressers2 = new[] - { - PB_P0Dresser2, /* PB_P1Dresser2, PB_P2Dresser2, PB_P3Dresser2 */ - }; - PlayerIslandBox = new[] - { - PB_P0Island, /* PB_P1Island, PB_P2Island, PB_P3Island */ - }; PlayerBadges = new[] { - new [] - { - CB_P0Badge00, CB_P0Badge01, CB_P0Badge02, CB_P0Badge03, CB_P0Badge04, - CB_P0Badge05, CB_P0Badge06, CB_P0Badge07, CB_P0Badge08, CB_P0Badge09, - CB_P0Badge10, CB_P0Badge11, CB_P0Badge12, CB_P0Badge13, CB_P0Badge14, - CB_P0Badge15, CB_P0Badge16, CB_P0Badge17, CB_P0Badge18, CB_P0Badge19, - CB_P0Badge20, CB_P0Badge21, CB_P0Badge22, CB_P0Badge23, - }, /* - new [] - { - CB_P1Badge00, CB_P1Badge01, CB_P1Badge02, CB_P1Badge03, CB_P1Badge04, - CB_P1Badge05, CB_P1Badge06, CB_P1Badge07, CB_P1Badge08, CB_P1Badge09, - CB_P1Badge10, CB_P1Badge11, CB_P1Badge12, CB_P1Badge13, CB_P1Badge14, - CB_P1Badge15, CB_P1Badge16, CB_P1Badge17, CB_P1Badge18, CB_P1Badge19, - CB_P1Badge20, CB_P1Badge21, CB_P1Badge22, CB_P1Badge23, - }, - new [] - { - CB_P2Badge00, CB_P2Badge01, CB_P2Badge02, CB_P2Badge03, CB_P2Badge04, - CB_P2Badge05, CB_P2Badge06, CB_P2Badge07, CB_P2Badge08, CB_P2Badge09, - CB_P2Badge10, CB_P2Badge11, CB_P2Badge12, CB_P2Badge13, CB_P2Badge14, - CB_P2Badge15, CB_P2Badge16, CB_P2Badge17, CB_P2Badge18, CB_P2Badge19, - CB_P2Badge20, CB_P2Badge21, CB_P2Badge22, CB_P2Badge23, - }, - new [] - { - CB_P3Badge00, CB_P3Badge01, CB_P3Badge02, CB_P3Badge03, CB_P3Badge04, - CB_P3Badge05, CB_P3Badge06, CB_P3Badge07, CB_P3Badge08, CB_P3Badge09, - CB_P3Badge10, CB_P3Badge11, CB_P3Badge12, CB_P3Badge13, CB_P3Badge14, - CB_P3Badge15, CB_P3Badge16, CB_P3Badge17, CB_P3Badge18, CB_P3Badge19, - CB_P3Badge20, CB_P3Badge21, CB_P3Badge22, CB_P3Badge23, - } */ - }; - PlayerNames = new[] - { - TB_P0Name, /* TB_P1Name, TB_P2Name, TB_P3Name */ - }; - PlayerHairStyles = new[] - { - CB_P0HairStyle, /* CB_P1HairStyle, CB_P2HairStyle, CB_P3HairStyle */ - }; - PlayerHairColors = new[] - { - CB_P0HairColor, /* CB_P1HairColor, CB_P2HairColor, CB_P3HairColor */ - }; - PlayerEyeColors = new[] - { - CB_P0EyeColor, /* CB_P1EyeColor, CB_P2EyeColor, CB_P3EyeColor */ - }; - PlayerFaces = new[] - { - CB_P0FaceShape, /* CB_P1FaceShape, CB_P2FaceShape, CB_P3FaceShape */ - }; - PlayerTans = new[] - { - CB_P0SkinColor, /* CB_P1SkinColor, CB_P2SkinColor, CB_P3SkinColor */ - }; - PlayerGenders = new[] - { - CB_P0Gender, /* CB_P1Gender, CB_P2Gender, CB_P3Gender */ + CB_Badge00, CB_Badge01, CB_Badge02, CB_Badge03, CB_Badge04, + CB_Badge05, CB_Badge06, CB_Badge07, CB_Badge08, CB_Badge09, + CB_Badge10, CB_Badge11, CB_Badge12, CB_Badge13, CB_Badge14, + CB_Badge15, CB_Badge16, CB_Badge17, CB_Badge18, CB_Badge19, + CB_Badge20, CB_Badge21, CB_Badge22, CB_Badge23, }; TownVillagers = new[] { @@ -156,10 +82,10 @@ public Garden() #region Load Event Methods to Controls foreach (PictureBox p in TownAcres) { p.MouseMove += mouseTown; p.MouseClick += clickTown; } foreach (PictureBox p in IslandAcres) { p.MouseMove += mouseIsland; p.MouseClick += clickIsland; } - foreach (PictureBox p in PlayerPockets) { p.MouseMove += mouseCustom; p.MouseClick += clickCustom; } - foreach (PictureBox p in PlayerDressers1) { p.MouseMove += mouseCustom; p.MouseClick += clickCustom; } - foreach (PictureBox p in PlayerDressers2) { p.MouseMove += mouseCustom; p.MouseClick += clickCustom; } - foreach (PictureBox p in PlayerIslandBox) { p.MouseMove += mouseCustom; p.MouseClick += clickCustom; } + { PB_Pocket.MouseMove += mouseCustom; PB_Pocket.MouseClick += clickCustom; } + { PB_Dresser1.MouseMove += mouseCustom; PB_Dresser1.MouseClick += clickCustom; } + { PB_Dresser2.MouseMove += mouseCustom; PB_Dresser2.MouseClick += clickCustom; } + { PB_Island.MouseMove += mouseCustom; PB_Island.MouseClick += clickCustom; } #endregion // Load loadData(); @@ -418,9 +344,7 @@ private void loadData() for (int i = 0; i < Players.Length; i++) PlayerPics[i].Image = Players[i].JPEG; - // Temporary - for (int i = 0; i < 1 /*Players.Length */; i++) - loadPlayer(i); + loadPlayer(0); // Load Town TownAcreTiles = new ushort[TownAcres.Length]; @@ -463,9 +387,6 @@ private void loadData() NUD_OverallDays.Value = Save.PlayDays; } - L_Info.Text = String.Format("{1}{0}{0}Inhabitants:{0}{2}{0}{3}{0}{4}{0}{5}", Environment.NewLine, - Save.TownName, - Players[0].Name, Players[1].Name, Players[2].Name, Players[3].Name); loaded = true; } private void saveData() @@ -517,36 +438,40 @@ private void saveData() // Finish Main.SaveData = Save.Write(); } + + private int currentPlayer = -1; private void loadPlayer(int i) { - PlayerPicsLarge[i].Image = Players[i].JPEG; - PlayerPockets[i].Image = getItemPic(16, 16, Players[i].Pockets); - PlayerDressers1[i].Image = getItemPic(16, 5, Players[i].Dressers.Take(Players[i].Dressers.Length / 2).ToArray()); - PlayerDressers2[i].Image = getItemPic(16, 5, Players[i].Dressers.Skip(Players[i].Dressers.Length / 2).ToArray()); - PlayerIslandBox[i].Image = getItemPic(16, 5, Players[i].IslandBox); - PlayerNames[i].Text = Players[i].Name; - for (int j = 0; j < PlayerBadges[i].Length; j++) - PlayerBadges[i][j].SelectedIndex = Players[i].Badges[j]; + currentPlayer = i; + PB_LPlayer0.Image = Players[i].JPEG; + PB_Pocket.Image = getItemPic(16, 16, Players[i].Pockets); + PB_Dresser1.Image = getItemPic(16, 5, Players[i].Dressers.Take(Players[i].Dressers.Length / 2).ToArray()); + PB_Dresser2.Image = getItemPic(16, 5, Players[i].Dressers.Skip(Players[i].Dressers.Length / 2).ToArray()); + PB_Island.Image = getItemPic(16, 5, Players[i].IslandBox); - PlayerHairStyles[i].SelectedIndex = Players[i].Hair; - PlayerHairColors[i].SelectedIndex = Players[i].HairColor; - PlayerFaces[i].SelectedIndex = Players[i].Face; - PlayerEyeColors[i].SelectedIndex = Players[i].EyeColor; - PlayerTans[i].SelectedIndex = Players[i].Tan; - PlayerGenders[i].SelectedIndex = Players[i].Gender; + TB_Name.Text = Players[i].Name; + for (int j = 0; j < PlayerBadges.Length; j++) + PlayerBadges[j].SelectedIndex = Players[i].Badges[j]; + + CB_HairStyle.SelectedIndex = Players[i].Hair; + CB_HairColor.SelectedIndex = Players[i].HairColor; + CB_FaceShape.SelectedIndex = Players[i].Face; + CB_EyeColor.SelectedIndex = Players[i].EyeColor; + CB_SkinColor.SelectedIndex = Players[i].Tan; + CB_Gender.SelectedIndex = Players[i].Gender; } private void savePlayer(int i) { - Players[i].Name = PlayerNames[i].Text; - for (int j = 0; j < PlayerBadges[i].Length; j++) - Players[i].Badges[j] = (byte)PlayerBadges[i][j].SelectedIndex; + Players[i].Name = TB_Name.Text; + for (int j = 0; j < PlayerBadges.Length; j++) + Players[i].Badges[j] = (byte)PlayerBadges[j].SelectedIndex; - Players[i].Hair = (byte)PlayerHairStyles[i].SelectedIndex; - Players[i].HairColor = (byte)PlayerHairColors[i].SelectedIndex; - Players[i].Face = (byte)PlayerFaces[i].SelectedIndex; - Players[i].EyeColor = (byte)PlayerEyeColors[i].SelectedIndex; - Players[i].Tan = (byte)PlayerTans[i].SelectedIndex; - Players[i].Gender = (byte)PlayerGenders[i].SelectedIndex; + Players[i].Hair = (byte)CB_HairStyle.SelectedIndex; + Players[i].HairColor = (byte)CB_HairColor.SelectedIndex; + Players[i].Face = (byte)CB_FaceShape.SelectedIndex; + Players[i].EyeColor = (byte)CB_EyeColor.SelectedIndex; + Players[i].Tan = (byte)CB_SkinColor.SelectedIndex; + Players[i].Gender = (byte)CB_Gender.SelectedIndex; } private void loadVillager(int i) @@ -740,31 +665,22 @@ private void mouseCustom(object sender, MouseEventArgs e) // Get Base Acre int index = width * Y + X; - bool pocket = Array.IndexOf(PlayerPockets, sender as PictureBox) > -1; - bool dress1 = Array.IndexOf(PlayerDressers1, sender as PictureBox) > -1; - bool dress2 = Array.IndexOf(PlayerDressers2, sender as PictureBox) > -1; - bool island = Array.IndexOf(PlayerIslandBox, sender as PictureBox) > -1; + var s = (sender as PictureBox); + bool pocket = s == PB_Pocket; + bool dress1 = s == PB_Dresser1; + bool dress2 = s == PB_Dresser2; + bool island = s == PB_Island; bool dress = dress1 | dress2; - - int player = -1; - if (pocket) - player = Array.IndexOf(PlayerPockets, sender as PictureBox); - else if (dress1) - player = Array.IndexOf(PlayerDressers1, sender as PictureBox); - else if (dress2) - player = Array.IndexOf(PlayerDressers2, sender as PictureBox); - else if (island) - player = Array.IndexOf(PlayerIslandBox, sender as PictureBox); - - if (dress2) index += Players[player].Dressers.Length / 2; + + if (dress2) index += Players[currentPlayer].Dressers.Length / 2; Item item = null; if (pocket) - item = Players[player].Pockets[index]; + item = Players[currentPlayer].Pockets[index]; else if (dress) - item = Players[player].Dressers[index]; + item = Players[currentPlayer].Dressers[index]; else if (island) - item = Players[player].IslandBox[index]; + item = Players[currentPlayer].IslandBox[index]; hoverItem(item, X, Y); } @@ -778,52 +694,43 @@ private void clickCustom(object sender, MouseEventArgs e) // Get Base Acre int index = width * Y + X; - bool pocket = Array.IndexOf(PlayerPockets, sender as PictureBox) > -1; - bool dress1 = Array.IndexOf(PlayerDressers1, sender as PictureBox) > -1; - bool dress2 = Array.IndexOf(PlayerDressers2, sender as PictureBox) > -1; - bool island = Array.IndexOf(PlayerIslandBox, sender as PictureBox) > -1; + var s = (sender as PictureBox); + bool pocket = s == PB_Pocket; + bool dress1 = s == PB_Dresser1; + bool dress2 = s == PB_Dresser2; + bool island = s == PB_Island; bool dress = dress1 | dress2; - - int player = -1; - if (pocket) - player = Array.IndexOf(PlayerPockets, sender as PictureBox); - else if (dress1) - player = Array.IndexOf(PlayerDressers1, sender as PictureBox); - else if (dress2) - player = Array.IndexOf(PlayerDressers2, sender as PictureBox); - else if (island) - player = Array.IndexOf(PlayerIslandBox, sender as PictureBox); - - if (dress2) index += Players[player].Dressers.Length / 2; + + if (dress2) index += Players[currentPlayer].Dressers.Length / 2; if (e.Button == MouseButtons.Right) // Read { if (pocket) - reloadCurrentItem(Players[player].Pockets[index]); + reloadCurrentItem(Players[currentPlayer].Pockets[index]); else if (dress) - reloadCurrentItem(Players[player].Dressers[index]); + reloadCurrentItem(Players[currentPlayer].Dressers[index]); else if (island) - reloadCurrentItem(Players[player].IslandBox[index]); + reloadCurrentItem(Players[currentPlayer].IslandBox[index]); } else // Write { if (pocket) { - Players[player].Pockets[index] = currentItem; - PlayerPockets[player].Image = getItemPic(16, 16, Players[player].Pockets); + Players[currentPlayer].Pockets[index] = currentItem; + PB_Pocket.Image = getItemPic(16, 16, Players[currentPlayer].Pockets); } else if (dress) { - Players[player].Dressers[index] = currentItem; + Players[currentPlayer].Dressers[index] = currentItem; if (dress1) - PlayerDressers1[player].Image = getItemPic(16, 5, Players[player].Dressers.Take(Players[player].Dressers.Length / 2).ToArray()); + PB_Dresser1.Image = getItemPic(16, 5, Players[currentPlayer].Dressers.Take(Players[currentPlayer].Dressers.Length / 2).ToArray()); else - PlayerDressers2[player].Image = getItemPic(16, 5, Players[player].Dressers.Skip(Players[player].Dressers.Length / 2).ToArray()); + PB_Dresser2.Image = getItemPic(16, 5, Players[currentPlayer].Dressers.Skip(Players[currentPlayer].Dressers.Length / 2).ToArray()); } else if (island) { - Players[player].IslandBox[index] = currentItem; - PlayerIslandBox[player].Image = getItemPic(16, 5, Players[player].IslandBox); + Players[currentPlayer].IslandBox[index] = currentItem; + PB_Island.Image = getItemPic(16, 5, Players[currentPlayer].IslandBox); } } } @@ -854,8 +761,8 @@ private int getItemIndex(int X, int Y, int width) private Image getAcreItemPic(int quadrant, Item[] items) { const int itemsize = 4 * mapScale; - int Width = 64 * mapScale, Height = 64*mapScale; - byte[] bmpData = new byte[4 * ((Width) * (Height))]; + const int width = 64 * mapScale, height = 64*mapScale; + byte[] bmpData = new byte[4 * ((width) * (height))]; for (int i = 0; i < 0x100; i++) // loop over acre data { int X = i % 16; @@ -871,26 +778,28 @@ private Image getAcreItemPic(int quadrant, Item[] items) // Plop into image for (int x = 0; x < itemsize*itemsize; x++) { - Buffer.BlockCopy(BitConverter.GetBytes(itemColor), 0, bmpData, ((Y * itemsize + x / itemsize) * Width * 4) + ((X * itemsize + x % itemsize) * 4), 4); + Buffer.BlockCopy(BitConverter.GetBytes(itemColor), 0, bmpData, + ((Y*itemsize + x/itemsize)*width*4) + ((X*itemsize + x%itemsize)*4), 4); } // Buried if (item.Buried) { for (int z = 2; z < itemsize - 1; z++) { - Buffer.BlockCopy(BitConverter.GetBytes(0xFF000000), 0, bmpData, ((Y * itemsize + z) * Width * 4) + ((X * itemsize + z) * 4), 4); - Buffer.BlockCopy(BitConverter.GetBytes(0xFF000000), 0, bmpData, ((Y * itemsize + z) * Width * 4) + ((X * itemsize + itemsize - z) * 4), 4); + Buffer.BlockCopy(BitConverter.GetBytes(0xFF000000), 0, bmpData, + ((Y*itemsize + z)*width*4) + ((X*itemsize + z)*4), 4); + Buffer.BlockCopy(BitConverter.GetBytes(0xFF000000), 0, bmpData, + ((Y*itemsize + z)*width*4) + ((X*itemsize + itemsize - z)*4), 4); } } } - for (int i = 0; i < Width * Height; i++) // slap on a grid + for (int i = 0; i < width * height; i++) // slap on a grid if (i % (itemsize) == 0 || (i / (16 * itemsize)) % (itemsize) == 0) - { - Buffer.BlockCopy(BitConverter.GetBytes(0x41FFFFFF), 0, bmpData, ((i / (16 * itemsize)) * Width * 4) + ((i % (16 * itemsize)) * 4), 4); - } + Buffer.BlockCopy(BitConverter.GetBytes(0x41FFFFFF), 0, bmpData, + ((i/(16*itemsize))*width*4) + ((i%(16*itemsize))*4), 4); - Bitmap b = new Bitmap(Width, Height, System.Drawing.Imaging.PixelFormat.Format32bppArgb); - System.Drawing.Imaging.BitmapData bData = b.LockBits(new Rectangle(0, 0, Width, Height), System.Drawing.Imaging.ImageLockMode.WriteOnly, System.Drawing.Imaging.PixelFormat.Format32bppArgb); + Bitmap b = new Bitmap(width, height, PixelFormat.Format32bppArgb); + BitmapData bData = b.LockBits(new Rectangle(0, 0, width, height), ImageLockMode.WriteOnly, PixelFormat.Format32bppArgb); System.Runtime.InteropServices.Marshal.Copy(bmpData, 0, bData.Scan0, bmpData.Length); b.UnlockBits(bData); return b; @@ -948,8 +857,8 @@ private uint getItemColor(string itemType) private Image getItemPic(int itemsize, int itemsPerRow, Item[] items) { - int Width = itemsize * itemsPerRow, Height = itemsize * items.Length / itemsPerRow; - byte[] bmpData = new byte[4 * ((Width) * (Height))]; + int width = itemsize * itemsPerRow, height = itemsize * items.Length / itemsPerRow; + byte[] bmpData = new byte[4 * ((width) * (height))]; for (int i = 0; i < items.Length; i++) // loop over acre data { int X = i % itemsPerRow; @@ -965,24 +874,28 @@ private Image getItemPic(int itemsize, int itemsPerRow, Item[] items) // Plop into image for (int x = 0; x < itemsize * itemsize; x++) { - Buffer.BlockCopy(BitConverter.GetBytes(itemColor), 0, bmpData, ((Y * itemsize + x % itemsize) * Width * 4) + ((X * itemsize + x / itemsize) * 4), 4); + Buffer.BlockCopy(BitConverter.GetBytes(itemColor), 0, bmpData, + ((Y*itemsize + x%itemsize)*width*4) + ((X*itemsize + x/itemsize)*4), 4); } // Buried if (item.Buried) { for (int z = 2; z < itemsize - 1; z++) { - Buffer.BlockCopy(BitConverter.GetBytes(0xFF000000), 0, bmpData, ((Y * itemsize + z) * Width * 4) + ((X * itemsize + z) * 4), 4); - Buffer.BlockCopy(BitConverter.GetBytes(0xFF000000), 0, bmpData, ((Y * itemsize + z) * Width * 4) + ((X * itemsize + itemsize - z) * 4), 4); + Buffer.BlockCopy(BitConverter.GetBytes(0xFF000000), 0, bmpData, + ((Y*itemsize + z)*width*4) + ((X*itemsize + z)*4), 4); + Buffer.BlockCopy(BitConverter.GetBytes(0xFF000000), 0, bmpData, + ((Y*itemsize + z)*width*4) + ((X*itemsize + itemsize - z)*4), 4); } } } - for (int i = 0; i < Width * Height; i++) // slap on a grid - if (i % (itemsize) == 0 || (i / (itemsize * itemsPerRow)) % (itemsize) == 0) - Buffer.BlockCopy(BitConverter.GetBytes(0x17000000), 0, bmpData, ((i / (itemsize * itemsPerRow)) * Width * 4) + ((i % (itemsize * itemsPerRow)) * 4), 4); + for (int i = 0; i < width * height; i++) // slap on a grid + if (i%(itemsize) == 0 || (i/(itemsize*itemsPerRow))%(itemsize) == 0) + Buffer.BlockCopy(BitConverter.GetBytes(0x17000000), 0, bmpData, + ((i/(itemsize*itemsPerRow))*width*4) + ((i%(itemsize*itemsPerRow))*4), 4); - Bitmap b = new Bitmap(Width, Height, System.Drawing.Imaging.PixelFormat.Format32bppArgb); - System.Drawing.Imaging.BitmapData bData = b.LockBits(new Rectangle(0, 0, Width, Height), System.Drawing.Imaging.ImageLockMode.WriteOnly, System.Drawing.Imaging.PixelFormat.Format32bppArgb); + Bitmap b = new Bitmap(width, height, PixelFormat.Format32bppArgb); + BitmapData bData = b.LockBits(new Rectangle(0, 0, width, height), ImageLockMode.WriteOnly, PixelFormat.Format32bppArgb); System.Runtime.InteropServices.Marshal.Copy(bmpData, 0, bData.Scan0, bmpData.Length); b.UnlockBits(bData); return b; @@ -991,8 +904,11 @@ private Image getItemPic(int itemsize, int itemsPerRow, Item[] items) private void clickPlayerPic(object sender, EventArgs e) { int index = Array.IndexOf(PlayerPics, sender as PictureBox); - index = 0; // mayor only right now - tabControl1.SelectedIndex = 2 + index; + if (currentPlayer > -1) + savePlayer(currentPlayer); + + loadPlayer(index); + tabControl1.SelectedIndex = 2; } private void changeItemID(object sender, EventArgs e) @@ -1138,5 +1054,22 @@ private void dropclick(object sender, DataGridViewCellEventArgs e) ComboBox comboBox = (ComboBox)dataGridView1.EditingControl; comboBox.DroppedDown = true; } + + private void reloadOverviewLabel() + { + L_Info.Text = String.Format("{1}{0}{0}Inhabitants:{0}{2}{0}{3}{0}{4}{0}{5}", Environment.NewLine, + Save.TownName, + Players[0].Name, Players[1].Name, Players[2].Name, Players[3].Name); + } + private void changePlayerName(object sender, EventArgs e) + { + Players[currentPlayer].Name = TB_Name.Text; + reloadOverviewLabel(); + } + private void changeTownName(object sender, EventArgs e) + { + Save.TownName = TB_TownName.Text; + reloadOverviewLabel(); + } } }