public eval_cd(eval_by A_0) { this.eval_a = A_0; this.eval_a(); BetConfig betConfig; if (File.Exists(this.eval_b)) { StreamReader streamReader = new StreamReader(this.eval_b); XmlSerializer xmlSerializer = new XmlSerializer(typeof(BetConfig)); betConfig = (BetConfig)xmlSerializer.Deserialize(streamReader.BaseStream); streamReader.Close(); this.eval_g.Checked = betConfig.PairOnBnotMine; this.eval_f.Checked = betConfig.DropLowOvers; } else { betConfig = new BetConfig(); betConfig.MinFlushCard = '2'; } if (this.eval_d.Items.Contains(betConfig.MinFlushCard.ToString())) { this.eval_d.Text = betConfig.MinFlushCard.ToString(); } else { this.eval_d.Text = "2"; } base.Enter += new EventHandler(this.eval_b); base.Leave += new EventHandler(this.eval_a); }
public eval_cd(eval_by A_0) { this.eval_a = A_0; this.eval_a(); BetConfig betConfig; if (File.Exists(this.eval_b)) { StreamReader streamReader = new StreamReader(this.eval_b); XmlSerializer xmlSerializer = new XmlSerializer(typeof(BetConfig)); betConfig = (BetConfig)xmlSerializer.Deserialize(streamReader.BaseStream); streamReader.Close(); this.eval_g.Checked = betConfig.PairOnBnotMine; this.eval_f.Checked = betConfig.DropLowOvers; } else { betConfig = new BetConfig(); betConfig.MinFlushCard = '2'; } if (this.eval_d.Items.Contains(betConfig.MinFlushCard.ToString())) { this.eval_d.Text = betConfig.MinFlushCard.ToString(); } else { this.eval_d.Text = "2"; } base.Enter += new EventHandler(this.eval_b); base.Leave += new EventHandler(this.eval_a); }
public void eval_b() { switch (0) { case 0: { IL_0E: BetConfig betConfig; char minFlushCard; while (true) { betConfig = new BetConfig(); betConfig.DropLowOvers = this.eval_f.Checked; betConfig.PairOnBnotMine = this.eval_g.Checked; int num = 1; while (true) { switch (num) { case 0: minFlushCard = '2'; if (true) { } num = 3; continue; case 1: if (this.eval_d.Text.Length == 0) { num = 0; continue; } minFlushCard = this.eval_d.Text[0]; num = 2; continue; case 2: goto IL_90; case 3: goto IL_A9; } break; } } IL_90: IL_A9: betConfig.MinFlushCard = minFlushCard; XmlSerializer xmlSerializer = new XmlSerializer(typeof(BetConfig)); StreamWriter streamWriter = new StreamWriter(this.eval_b, false); xmlSerializer.Serialize(streamWriter.BaseStream, betConfig); streamWriter.Close(); return; } } goto IL_0E; }
public void eval_b() { switch (0) { case 0: { IL_0E: BetConfig betConfig; char minFlushCard; while (true) { betConfig = new BetConfig(); betConfig.DropLowOvers = this.eval_f.Checked; betConfig.PairOnBnotMine = this.eval_g.Checked; int num = 1; while (true) { switch (num) { case 0: minFlushCard = '2'; if (true) { } num = 3; continue; case 1: if (this.eval_d.Text.Length == 0) { num = 0; continue; } minFlushCard = this.eval_d.Text[0]; num = 2; continue; case 2: goto IL_90; case 3: goto IL_A9; } break; } } IL_90: IL_A9: betConfig.MinFlushCard = minFlushCard; XmlSerializer xmlSerializer = new XmlSerializer(typeof(BetConfig)); StreamWriter streamWriter = new StreamWriter(this.eval_b, false); xmlSerializer.Serialize(streamWriter.BaseStream, betConfig); streamWriter.Close(); return; } } goto IL_0E; }