Esempio n. 1
0
 // Convex profile
 private void Button_Click_1(object sender, RoutedEventArgs e)
 {
     NewProfile = new Profile(-20, 20);
     if (ProfileChosen != null)
         ProfileChosen(this, NewProfile);
 }
Esempio n. 2
0
 private void Button_Click_3(object sender, RoutedEventArgs e)
 {
     NewProfile = new ConcaveArcProfile();
     if (ProfileChosen != null)
         ProfileChosen(this, NewProfile);
 }
Esempio n. 3
0
 void nc_ProfileChosen(object sender, Profile e)
 {
     App.viewModel.CurrentProfile = e;
     ProfileDisplayControl.Profile = e;
 }