Ejemplo n.º 1
0
 // Token: 0x06001A24 RID: 6692 RVA: 0x0004C858 File Offset: 0x0004AA58
 private void OKBtn_Click(object sender, EventArgs e)
 {
     foreach (KeyValuePair <GardenTreeSelector, Class109> keyValuePair in this.dictionary_1)
     {
         CustomizeEstatePlanting.smethod_0(keyValuePair.Value, keyValuePair.Key);
     }
     foreach (KeyValuePair <GardeningFlowerSelector, Class93> keyValuePair2 in this.dictionary_0)
     {
         CustomizeEstatePlanting.smethod_3(keyValuePair2.Value, keyValuePair2.Key);
     }
     base.DialogResult = DialogResult.OK;
     base.Close();
 }
Ejemplo n.º 2
0
 // Token: 0x06001A1E RID: 6686 RVA: 0x0004BF20 File Offset: 0x0004A120
 public CustomizeEstatePlanting(Class94 estate)
 {
     this.InitializeComponent();
     this.dictionary_0           = new Dictionary <GardeningFlowerSelector, Class93>();
     this.dictionary_1           = new Dictionary <GardenTreeSelector, Class109>();
     this.dictionary_2           = new Dictionary <PictureBox, GardeningFlowerSelector>();
     this.class94_0              = estate;
     this.HouseEstate.EstateHome = this.class94_0.HouseColor;
     this.dictionary_0.Add(this.FlowerBox0, this.class94_0.Flowers[Enum99.flag_5]);
     this.dictionary_0.Add(this.FlowerBox1, this.class94_0.Flowers[Enum99.flag_6]);
     this.dictionary_0.Add(this.FlowerBox2, this.class94_0.Flowers[Enum99.flag_7]);
     this.dictionary_0.Add(this.FlowerBox3, this.class94_0.Flowers[Enum99.flag_8]);
     this.dictionary_0.Add(this.FlowerBox4, this.class94_0.Flowers[Enum99.flag_9]);
     this.dictionary_0.Add(this.FlowerBox5, this.class94_0.Flowers[Enum99.flag_10]);
     this.dictionary_0.Add(this.FlowerBox6, this.class94_0.Flowers[Enum99.flag_11]);
     this.dictionary_0.Add(this.FlowerBox7, this.class94_0.Flowers[Enum99.flag_12]);
     this.dictionary_0.Add(this.FlowerBox8, this.class94_0.Flowers[Enum99.flag_13]);
     this.dictionary_0.Add(this.FlowerBox9, this.class94_0.Flowers[Enum99.flag_14]);
     this.dictionary_1.Add(this.TreeBox0, this.class94_0.Trees[Enum99.flag_15]);
     this.dictionary_1.Add(this.TreeBox1, this.class94_0.Trees[Enum99.flag_16]);
     this.dictionary_1.Add(this.TreeBox2, this.class94_0.Trees[Enum99.flag_17]);
     this.dictionary_1.Add(this.TreeBox3, this.class94_0.Trees[Enum99.flag_18]);
     this.dictionary_1.Add(this.TreeBox4, this.class94_0.Trees[Enum99.flag_19]);
     this.dictionary_1.Add(this.TreeBox5, this.class94_0.Trees[Enum99.flag_20]);
     this.dictionary_1.Add(this.TreeBox6, this.class94_0.Trees[Enum99.flag_21]);
     this.dictionary_1.Add(this.TreeBox7, this.class94_0.Trees[Enum99.flag_22]);
     this.dictionary_2.Add(this.FlowerIcon0, this.FlowerBox0);
     this.dictionary_2.Add(this.FlowerIcon1, this.FlowerBox1);
     this.dictionary_2.Add(this.FlowerIcon2, this.FlowerBox2);
     this.dictionary_2.Add(this.FlowerIcon3, this.FlowerBox3);
     this.dictionary_2.Add(this.FlowerIcon4, this.FlowerBox4);
     this.dictionary_2.Add(this.FlowerIcon5, this.FlowerBox5);
     this.dictionary_2.Add(this.FlowerIcon6, this.FlowerBox6);
     this.dictionary_2.Add(this.FlowerIcon7, this.FlowerBox7);
     this.dictionary_2.Add(this.FlowerIcon8, this.FlowerBox8);
     this.dictionary_2.Add(this.FlowerIcon9, this.FlowerBox9);
     foreach (KeyValuePair <GardenTreeSelector, Class109> keyValuePair in this.dictionary_1)
     {
         CustomizeEstatePlanting.smethod_1(keyValuePair.Key, keyValuePair.Value);
     }
     foreach (KeyValuePair <GardeningFlowerSelector, Class93> keyValuePair2 in this.dictionary_0)
     {
         CustomizeEstatePlanting.smethod_2(keyValuePair2.Key, keyValuePair2.Value);
     }
     this.method_0();
 }