Changeset 15 for Common/FormFind.cs
- Timestamp:
- Jun 18, 2024, 12:15:33 PM (5 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Common/FormFind.cs
r14 r15 6 6 namespace Common 7 7 { 8 public partial class FormFind : Form 8 public partial class FormFind : FormEx 9 9 { 10 10 public RichTextBoxEx richTextBox; … … 88 88 private void FormFind_Load(object sender, EventArgs e) 89 89 { 90 Theme.UseTheme(this);91 DpiScaling.Apply(this);92 Icon = Icon.ExtractAssociatedIcon(Application.ExecutablePath);93 new FormDimensions().Load(this, Owner);94 90 comboBoxWhat.Focus(); 95 comboBoxWhat. regSubKey = regSubKey + "\\History";91 comboBoxWhat.RegSubKey = regSubKey + "\\History"; 96 92 LoadFromRegistry(); 97 93 UpdateInterface(); … … 107 103 SaveToRegistry(); 108 104 richTextBox.FormFind = null; 109 new FormDimensions().Save(this, Owner);110 105 } 111 106 … … 115 110 { 116 111 buttonFindNext.PerformClick(); 117 } else118 if (e.KeyChar == 27)119 {120 Close();121 112 } 122 113 } … … 144 135 if (regKey == null) regKey = Application.UserAppDataRegistry.CreateSubKey(regSubKey); 145 136 146 147 137 regKey.SetValue("MatchWholeWordOnly", checkBoxMatchWholeWordOnly.Checked); 148 138 regKey.SetValue("MatchCase", checkBoxMatchCase.Checked); … … 150 140 comboBoxWhat.SaveToRegistry(); 151 141 } 152 153 private void comboBoxWhat_SelectedIndexChanged(object sender, EventArgs e)154 {155 156 }157 158 private void label1_Click(object sender, EventArgs e)159 {160 161 }162 163 private void checkBoxMatchWholeWordOnly_CheckedChanged(object sender, EventArgs e)164 {165 166 }167 168 private void checkBoxMatchCase_CheckedChanged(object sender, EventArgs e)169 {170 171 }172 142 } 173 143 }
Note:
See TracChangeset
for help on using the changeset viewer.