public void SetChart(LeaveChart Chart) { this.Chart = Chart; foreach (var carrier in Chart.EnumerateAllCarriers()) NameInput.Items.Add(carrier); NameInput.SelectedIndex = 0; }
public MainWindow() { InitializeComponent(); try { Data = new LeaveChart(); Data.LoadData(); ApplyChangeToCurrentWeek(""); UpdateDisplay(); } catch (Exception e) { EmergencyClose = true; this.Close(); } WeekChart.ApplyAction += ApplyChangeToCurrentWeek; AdminPasswordInput_TextChanged(null, null); Now_Click(null, null); }
public virtual LeaveAnalysisResults Analyze(LeaveChart Data) { throw new NotImplementedException(); }
public LeaveAnalysis(LeaveChart Chart) { this.ReportName = "Unimplemented Report"; this.Summary = "This report lacks a summary."; StartDate = Chart.Weeks[0].SaturdayDate; EndDate = DateTime.Now.Date; }