Esempio n. 1
0
        //string[] activityNotWorkHours = new string[3] { "Отпуск", "Больничный", "Отгул" };

        public MainForm()
        {
            InitializeComponent();
            RedmineData redmineData = new RedmineData();

            manager = new Manager(redmineData);
        }
Esempio n. 2
0
 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);
     }
 }