Esempio n. 1
0
        private void InitializeLeftTop()
        {
            var viewModel = new LeftTopControlViewModel(_updateViews)
            {
                Project = Project
            };

            LeftTopControl = new LeftTopControl {
                DataContext = viewModel
            };
            Grid.SetRow(LeftTopControl, 0);
            Grid.SetColumn(LeftTopControl, 0);
            Grid.SetRowSpan(LeftTopControl, 2);
            Grid.SetColumnSpan(LeftTopControl, 2);
        }
Esempio n. 2
0
 private void InitializeLeftTop()
 {
     var viewModel = new LeftTopControlViewModel {Project = Project};
     LeftTopControl = new LeftTopControl { DataContext = viewModel };
     Grid.SetRow(LeftTopControl, 0);
     Grid.SetColumn(LeftTopControl, 0);
     Grid.SetRowSpan(LeftTopControl, 2);
     Grid.SetColumnSpan(LeftTopControl, 2);
 }