Exemple #1
0
        public MyScreenView(IMyScreen logic)
        {
            InitializeComponent();

            browseFilePathButton.Bind(logic.BrowseCommand, bindName: true, toolTip: "Browse file path ...");
            filePathTextBox.Bind(logic, nameof(logic.FilePath));
        }
Exemple #2
0
 public MyScreenView(IMyScreen controller)
 {
     this.controller = controller;
     InitializeComponent();
 }
Exemple #3
0
 public MyScreenView(IMyScreen screen)
 {
     DataContext = screen;
     InitializeComponent();
 }