Esempio n. 1
0
 private bool InstallPath_IsCanEnabled()
 {
     return(!String.IsNullOrEmpty(InstallPathViewModel.GetInstance().InstallPath));
 }
Esempio n. 2
0
 private void TextBox_TextChanged(object sender, TextChangedEventArgs e)
 {
     MainWindowViewModel.GetInstance().NextButton.IsEnabled = !String.IsNullOrEmpty(InstallPathViewModel.GetInstance().InstallPath);
 }
Esempio n. 3
0
 public InstallPath()
 {
     InitializeComponent();
     this.DataContext = InstallPathViewModel.GetInstance();
     ((NextCommand)(MainWindowViewModel.GetInstance().NextButton.Command)).IsCanEnabled += InstallPath_IsCanEnabled;
 }