Esempio n. 1
0
        public ShedulePage()
        {
            InitializeComponent();

            scheduleVM  = new ScheduleVM(this);
            DataContext = scheduleVM;
            Instance    = this;
        }
Esempio n. 2
0
        public ScheduleVM(ShedulePage ownerShedule)
        {
            Instance = this;
            ThisData = DateTime.Now.Date;

            _ownershedulePage = ownerShedule;
            var gridShedule = _ownershedulePage.gridShedule;

            GridInstance           = gridShedule;
            gridShedule.Background = new SolidColorBrush();
            gridShedule.Height     = 2000;
            gridShedule.MinWidth   = 1100;
            gridShedule.MaxWidth   = 1200;

            FindeShedule(gridShedule);
        }