public void InitializeData() { cb_Active.Checked = true; comBox_Factory.SelectedIndex = 0; comBox_Month.SelectedIndex = DateTime.UtcNow.Month - 1; num_Action_YearAction.Value = DateTime.UtcNow.Year; //#if DEBUG _ = new LoadEmployees(comBox_Leader, false); _ = new LoadDevision(comBox_Devision, false); //#endif }
public void InitiazlizeData() { num_SummaryDetailYear.ValueChanged -= Num_SummaryDetailYear_ValueChanged; Comb_SummDetLeader.SelectedIndexChanged -= Comb_SummDetLeader_SelectedIndexChanged; Comb_SummDetDevision.SelectedIndexChanged -= Comb_SummDetDevision_SelectedIndexChanged; num_SummaryDetailYear.Value = DateTime.UtcNow.Year; _ = new LoadEmployees(Comb_SummDetLeader, true); _ = new LoadDevision(Comb_SummDetDevision, true); num_SummaryDetailYear.ValueChanged += Num_SummaryDetailYear_ValueChanged; Comb_SummDetLeader.SelectedIndexChanged += Comb_SummDetLeader_SelectedIndexChanged; Comb_SummDetDevision.SelectedIndexChanged += Comb_SummDetDevision_SelectedIndexChanged; }