static void Main() { do { var formA = new FormA(); Application.Run(formA); var formB = new FormB(formA.SelectedConfigurationFile); Application.Run(formB); } while (!IsComplete); }
public FormB(FormA parent) { InitializeComponent(); this.parent = parent; }
private void btnOpen_Click(object sender, RoutedEventArgs e) { // Passing the delegate to `FormA` formA = new FormA(notifyDelegate); formA.Show(); }
FormB(FormA parent) { this.Parent = parent; }