private void Plan_OnClick(object sender, RoutedEventArgs e) { var plan = new Views.Plan(isXml); plan.ShowDialog(); }