private void WizardMain_Load(object sender, EventArgs e) { Closing += WizardMain_Closing; _mainCount = Controls.Count; _stepCount = _mainCount; // set start point _ucDemonbuddy = new DemonbuddyOptions(this); _ucDiablo = new DiabloOptions(this); _ucWeekSchedule = new WeekSchedule(this); _ucHeroes = new Heroes(this); _ucProfileSchedule = new ProfileSchedule(this); _ucAdvanced = new Advanced(this); Controls.Add(_ucDemonbuddy); Controls.Add(_ucDiablo); Controls.Add(_ucWeekSchedule); //Controls.Add(ucHeroes); Controls.Add(_ucProfileSchedule); Controls.Add(_ucAdvanced); _ucDiablo.Visible = _ucWeekSchedule.Visible = _ucProfileSchedule.Visible = _ucHeroes.Visible = _ucAdvanced.Visible = false; FinishCount = Controls.Count - 1; // Get Finish count AffinityDiablo = new SetAffinity(); AffinityDemonbuddy = new SetAffinity(); if (bot != null) { LoadData(); } }
private void WizardMain_Load(object sender, EventArgs e) { Closing += WizardMain_Closing; _mainCount = Controls.Count; _stepCount = _mainCount; // set start point _ucDemonbuddy = new DemonbuddyOptions(this); _ucDiablo = new DiabloOptions(this); _ucWeekSchedule = new WeekSchedule(this); _ucHeroes = new Heroes(this); _ucProfileSchedule = new ProfileSchedule(this); _ucAdvanced = new Advanced(this); Controls.Add(_ucDemonbuddy); Controls.Add(_ucDiablo); Controls.Add(_ucWeekSchedule); //Controls.Add(ucHeroes); Controls.Add(_ucProfileSchedule); Controls.Add(_ucAdvanced); _ucDiablo.Visible = _ucWeekSchedule.Visible = _ucProfileSchedule.Visible = _ucHeroes.Visible = _ucAdvanced.Visible = false; FinishCount = Controls.Count - 1; // Get Finish count AffinityDiablo = new SetAffinity(); AffinityDemonbuddy = new SetAffinity(); if (bot != null) LoadData(); }