//string[] activityNotWorkHours = new string[3] { "Отпуск", "Больничный", "Отгул" }; public MainForm() { InitializeComponent(); RedmineData redmineData = new RedmineData(); manager = new Manager(redmineData); }
public Manager(RedmineData redmineData) { try { redmineManager = new RedmineManager(host, apiKey); this.redmineData = redmineData; listYear = new List <int>(); redmineData.monthValueHours = new MonthValueHours(redmineData.listMonthHours); } catch (Exception ex) { Console.WriteLine("Error! " + ex.Message); } }