public Form1()
        {
            TimeScaleLessThanDayTests.Run();

            InitializeComponent();
            schedulerControl1.OptionsView.FirstDayOfWeek = FirstDayOfWeek.Monday;
            HideWeekends(false);
        }
Exemplo n.º 2
0
        public static void Run()
        {
            TimeScaleLessThanDayTests test = new TimeScaleLessThanDayTests();

            for (int hour = 1; hour < 10; hour++)
            {
                test.BordersTests(new TimeScaleLessThanDay(TimeSpan.FromHours(hour)));
                test.TestGeneralScale(new TimeScaleLessThanDay(TimeSpan.FromHours(hour)));
            }
        }