private void ButtonGetGD_Click(object sender, RoutedEventArgs e) { this.Hide(); var GetGDWindow_instance = new GetGDWindow(this); GetGDWindow_instance.Show(); }
// -- Consturctor, 需實作所有ICommand public GetGDViewModel(GetGDWindow parent) { parentWindow = parent; Model_Instance = new GetGDModel(this); Do_ExtractData = new RelayCommand(ExtractData, (x) => true); }