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