Interaction logic for TaskDisplayerControl.xaml
Inheritance: System.Windows.Controls.UserControl
        private void HandleInitializeBottomTab(System.Windows.Forms.TabControl tabControl)
        {
            TaskDisplayerControl control = new TaskDisplayerControl();

            this.vm                  = new TaskDisplayerViewModel();
            control.DataContext      = this.vm;
            this.vm.PropertyChanged += HandlePropertyChanged;
            this.tab                 = base.AddToTab(tabControl, control, "Tasks");
        }
Exemplo n.º 2
0
        private void HandleInitializeBottomTab(System.Windows.Forms.TabControl tabControl)
        {
            TaskDisplayerControl control = new TaskDisplayerControl();

            this.vm = new TaskDisplayerViewModel();
            control.DataContext = this.vm;
            this.vm.PropertyChanged += HandlePropertyChanged;
            this.tab = base.AddToTab(tabControl, control, "Tasks");
        }