MCPcopy Create free account
hub / github.com/NodeRT/NodeRT / ClearSettingsAndUI

Method ClearSettingsAndUI

src/NodeRTUI/MainForm.cs:87–105  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

85 }
86
87 private void ClearSettingsAndUI()
88 {
89 Properties.Settings.Default.LastWinMDPath = "";
90 Properties.Settings.Default.LastFilter = "";
91 Properties.Settings.Default.VsVersionComboSelection = 3;
92 Properties.Settings.Default.OutputDirPath = GetDefaultOutputDir();
93 Properties.Settings.Default.GenerateDefsChk = true;
94 Properties.Settings.Default.Save();
95
96 winMdBaseFolderBrowserDialog.SelectedPath = null;
97 txtFilename.Text = "";
98 txtFilter.Text = "";
99 txtOutputDirectory.Text = Properties.Settings.Default.OutputDirPath;
100 cmbWindowsVersion.SelectedIndex = 2;
101 cmbVsVersion.SelectedIndex = 3;
102 chkDefGen.Checked = true;
103 chkBuildModule.Checked = true;
104 namespaceList.Items.Clear();
105 }
106
107 private string GetDefaultCodeGenerationDir()
108 {

Callers

nothing calls this directly

Calls 1

ClearMethod · 0.45

Tested by

no test coverage detected