private void btnGraphCreate_Click(object sender, RoutedEventArgs e) { protocolFileName = System.IO.Path.GetFileName("@" + txtPathProtocol.Text); WindowGraph windowGraph = new WindowGraph(); windowGraph.RefToMainForm = this; this.Hide(); windowGraph.Show(); btnLoadNewGraph.IsEnabled = true; }
public MainWindow() { InitializeComponent(); WindowGraph windowGraph = new WindowGraph(); }