Interaction logic for TaskDisplayerControl.xaml
Inheritance: System.Windows.Controls.UserControl
コード例 #1
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");
        }
コード例 #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");
        }