private void SelectButton_Click(object sender, RoutedEventArgs e) { if (mSolution.ApplicationPlatforms == null) { mSolution.ApplicationPlatforms = new ObservableList <ApplicationPlatform>(); } mSolution.ApplicationPlatforms.Clear(); AddApplicationPage AAP = new AddApplicationPage(mSolution); AAP.ShowAsWindow(); if (mSolution.ApplicationPlatforms.Count() > 0) { ApplicationTextBox.Text = mSolution.ApplicationPlatforms[0].AppName; MainPlatformComboBox.SelectedValue = mSolution.ApplicationPlatforms[0].Platform; } }
private void AddApplication(object sender, RoutedEventArgs e) { AddApplicationPage AAP = new AddApplicationPage(WorkSpace.Instance.Solution); AAP.ShowAsWindow(); }
private void AddApplication(object sender, RoutedEventArgs e) { AddApplicationPage AAP = new AddApplicationPage(App.UserProfile.Solution); AAP.ShowAsWindow(); }