private void ExecuteNextCommand(string param) { if (Index == 6) { HomePage hp = Application.Current.MainWindow as HomePage; CallSetUpRS_ViewModel csuvm = new CallSetUpRS_ViewModel(); CallSetupRSView csrsv = new CallSetupRSView(); csrsv.DataContext = csuvm; csrsv.Owner = hp; csrsv.ShowDialog(); } else { Index++; } }
private void ExecuteRunCmd(string param) { CallSetUpRS_ViewModel csuvm = new CallSetUpRS_ViewModel(); csuvm.ExecuteCommand(param); }