private void UseButton_Click(object sender, RoutedEventArgs e) { TestWindow testWindow = new TestWindow(); testWindow.Top = Top + (Height - testWindow.Height) / 2; testWindow.Left = Left + (Width - testWindow.Width) / 2; App.MoveWindowInsideBounds(testWindow); testWindow.Show(); testWindow.InputValuesText.Text = InputFileTextBox.Text; testWindow.OutputValuesText.Text = OutputFileTextBox.Text; SaveFuzzySystem("TemporaryFuzzySystemFile"); testWindow.FuzzySystemText.Text = "TemporaryFuzzySystemFile"; Close(); }
private void TestButton_Click(object sender, RoutedEventArgs e) { TestWindow testWindow = new TestWindow(); testWindow.Show(); }