public RTC_SettingsCorrupt_Form() { InitializeComponent(); UICore.SetRTCColor(UICore.GeneralColor, this); Load += RTC_SettingRerollForm_Load; var handler = new EventHandler <Components.Controls.ValueUpdateEventArgs <decimal> >(nmMaxInfiniteStepUnits_ValueChanged); nmMaxInfiniteStepUnits.ValueChanged += handler; nmMaxInfiniteStepUnits.registerSlave(S.GET <RTC_CorruptionEngine_Form>().updownMaxCheats, handler); nmMaxInfiniteStepUnits.registerSlave(S.GET <RTC_CorruptionEngine_Form>().updownMaxFreeze, handler); nmMaxInfiniteStepUnits.registerSlave(S.GET <RTC_CorruptionEngine_Form>().updownMaxPipes, handler); nmMaxInfiniteStepUnits.registerSlave(S.GET <RTC_CustomEngineConfig_Form>().updownMaxInfiniteUnits, handler); nmMaxInfiniteStepUnits.registerSlave(S.GET <RTC_SimpleMode_Form>().updownMaxInfiniteUnits, handler); cbRerollAddress.Checked = CorruptCore.RtcCore.RerollAddress; cbRerollSourceAddress.Checked = CorruptCore.RtcCore.RerollSourceAddress; cbRerollDomain.Checked = CorruptCore.RtcCore.RerollDomain; cbRerollSourceDomain.Checked = CorruptCore.RtcCore.RerollSourceDomain; cbRerollFollowsCustom.Checked = CorruptCore.RtcCore.RerollFollowsCustomEngine; cbIgnoreUnitOrigin.Checked = CorruptCore.RtcCore.RerollIgnoresOriginalSource; }
private void RTC_BlastGeneratorForm_Load(object sender, EventArgs e) { dgvBlastGenerator.MouseClick += dgvBlastGenerator_MouseClick; dgvBlastGenerator.CellValueChanged += dgvBlastGenerator_CellValueChanged; dgvBlastGenerator.CellClick += dgvBlastGenerator_CellClick; dgvBlastGenerator.CellMouseDoubleClick += DgvBlastGenerator_CellMouseDoubleClick; UICore.SetRTCColor(UICore.GeneralColor, this); getAllControls(this); }
public UI_CanvasForm(bool extraForm = false) { InitializeComponent(); UICore.SetRTCColor(UICore.GeneralColor, this); if (!extraForm) { mainForm = this; spacerSize = pnScale.Location.X; tileSize = pnScale.Size.Width; Controls.Remove(pnScale); } }
public RTC_SelectBox_Form(ComponentForm[] _childForms) { InitializeComponent(); UICore.SetRTCColor(UICore.GeneralColor, this); childForms = _childForms; cbSelectBox.DisplayMember = "text"; cbSelectBox.ValueMember = "value"; foreach (var item in childForms) { cbSelectBox.Items.Add(new { text = item.Text, value = item }); } }
public UI_ShadowPanel(UI_CanvasForm _parentForm, ISubForm reqForm) { InitializeComponent(); blockerForm = new Form { ControlBox = false, MinimizeBox = false, FormBorderStyle = System.Windows.Forms.FormBorderStyle.None, Text = "", Size = Size, BackColor = Color.DarkSlateBlue, Opacity = 0.2f }; UICore.SetRTCColor(UICore.GeneralColor, this); parentForm = _parentForm; UpdateBackground(); subForm = (Form)reqForm; UpdateSubForm(); }
public UI_ComponentFormSubForm() { InitializeComponent(); UICore.SetRTCColor(UICore.GeneralColor, this); }
private void RTC_SettingsHotkeyConfig_Form_Load(object sender, EventArgs e) { UICore.SetRTCColor(UICore.GeneralColor, this.Parent); }
private void RTC_NewBlastEditorForm_Load(object sender, EventArgs e) { UICore.SetRTCColor(UICore.GeneralColor, this); }
private void RTC_Intro_Form_Load(object sender, EventArgs e) { UICore.SetRTCColor(UICore.GeneralColor, this); }
public ColumnSelector() { InitializeComponent(); UICore.SetRTCColor(UICore.GeneralColor, this); this.FormClosing += this.ColumnSelector_Closing; }
private void RTC_AnalyticsToolForm_Load(object sender, EventArgs e) { UICore.SetRTCColor(UICore.GeneralColor, this); }