// Token: 0x060027B5 RID: 10165 RVA: 0x00092FE0 File Offset: 0x000911E0 private void method_3(Class177 district, Struct26?state) { this.nullable_0 = null; this.nullable_1 = null; if (state != null && district != null) { this.nullable_1 = new TimeSpan?(DateTime.Now - state.Value.dateTime_0); this.ledDisplay.On = true; Struct26 value = state.Value; this.method_4(value.class464_0.enum132_0); this.lblCog.Text = value.class464_0.string_0; this.lblCogType.Text = value.class464_0.enum132_0.smethod_0(); this.lblTimeElapsed.Text = Invasions.smethod_0(this.nullable_1.Value); if (this.nullable_0 != null) { this.lblTimeRemaining.Text = Invasions.smethod_0(this.nullable_0.Value); } else { this.lblTimeRemaining.Text = "Unknown"; } this.timer_0.Enabled = true; } else { this.timer_0.Enabled = false; this.ledDisplay.On = false; this.method_4(Enum132.const_0); this.lblCog.Text = "None"; this.lblCogType.Text = "None"; this.lblTimeElapsed.Text = "00:00"; this.lblTimeRemaining.Text = "00:00"; } this.method_7(); }
// Token: 0x060027BE RID: 10174 RVA: 0x00093474 File Offset: 0x00091674 private void cboDistricts_SelectedIndexChanged(object sender, EventArgs e) { if (this.cboDistricts.SelectedItem == null) { this.method_3(null, null); return; } Invasions.Class430 @class = this.cboDistricts.SelectedItem as Invasions.Class430; Class142 class2 = Invasions.smethod_1(@class.Windows); if (class2 == null) { this.method_3(null, null); return; } this.method_3(class2.District, class2.Invasion); Struct26 value = class2.Invasion.Value; this.method_8(class2.District, value.class464_0.string_1, value.uint_0, value.bool_0, value.dateTime_0); }