Ejemplo n.º 1
0
        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;
        }
Ejemplo n.º 2
0
        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);
        }
Ejemplo n.º 3
0
        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);
            }
        }
Ejemplo n.º 4
0
        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 });
            }
        }
Ejemplo n.º 5
0
        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();
        }
Ejemplo n.º 6
0
        public UI_ComponentFormSubForm()
        {
            InitializeComponent();

            UICore.SetRTCColor(UICore.GeneralColor, this);
        }
Ejemplo n.º 7
0
 private void RTC_SettingsHotkeyConfig_Form_Load(object sender, EventArgs e)
 {
     UICore.SetRTCColor(UICore.GeneralColor, this.Parent);
 }
Ejemplo n.º 8
0
 private void RTC_NewBlastEditorForm_Load(object sender, EventArgs e)
 {
     UICore.SetRTCColor(UICore.GeneralColor, this);
 }
Ejemplo n.º 9
0
 private void RTC_Intro_Form_Load(object sender, EventArgs e)
 {
     UICore.SetRTCColor(UICore.GeneralColor, this);
 }
Ejemplo n.º 10
0
 public ColumnSelector()
 {
     InitializeComponent();
     UICore.SetRTCColor(UICore.GeneralColor, this);
     this.FormClosing += this.ColumnSelector_Closing;
 }
Ejemplo n.º 11
0
 private void RTC_AnalyticsToolForm_Load(object sender, EventArgs e)
 {
     UICore.SetRTCColor(UICore.GeneralColor, this);
 }