private void CloseToolStripMenuItem_Click(object sender, EventArgs e) { FuzzyApp.Initalize(); variable1.ClearVariable(); InputView.Clear(); OutputView.Clear(); reultsUI1.loadVariables(); }
private void OnResetButtonClicked(object sender, RoutedEventArgs e) { Fileview.Clear(); IntroText.Text = m_initialIntroText; StatusText.Content = m_initialStatusText; MainGrid.AllowDrop = true; PostExportButton.Visibility = Visibility.Hidden; ResetButton.Visibility = Visibility.Hidden; OutputView.Clear(); m_processingFiles = null; GameStructure.Dispose(); }
private void Test2ToolStripMenuItem_Click(object sender, EventArgs e) { FuzzyApp.Initalize(); variable1.ClearVariable(); InputView.Clear(); OutputView.Clear(); FuzzyApp.defaultSettings2(); if (FuzzyApp.InputVariables.Count > 0) { variable1.Current = FuzzyApp.InputVariables[0]; variable1.Populate(); populateVariables(); } }