Winify – Diff between revs 58 and 59
?pathlinks?
Rev 58 | Rev 59 | |||
---|---|---|---|---|
Line 225... | Line 225... | |||
225 | } |
225 | } |
|
Line 226... | Line 226... | |||
226 | |
226 | |
|
227 | private void SettingsForm_Load(object sender, EventArgs e) |
227 | private void SettingsForm_Load(object sender, EventArgs e) |
|
228 | { |
228 | { |
|
- | 229 | // Databindings. |
||
- | 230 | trackBar1.DataBindings.Add(new Binding("Value", _configurationBindingSource, |
||
- | 231 | nameof(_mainForm.Configuration.RetrievePastNotificationHours), true, |
||
- | 232 | DataSourceUpdateMode.OnPropertyChanged)); |
||
- | 233 | |
||
- | 234 | textBox4.DataBindings.Add(new Binding("Text", _configurationBindingSource, |
||
- | 235 | nameof(_mainForm.Configuration.RetrievePastNotificationHours), true, |
||
- | 236 | DataSourceUpdateMode.OnPropertyChanged)); |
||
229 | // Databindings. |
237 | |
|
230 | numericUpDown1.DataBindings.Add(new Binding("Value", _configurationBindingSource, |
238 | numericUpDown1.DataBindings.Add(new Binding("Value", _configurationBindingSource, |
|
231 | nameof(_mainForm.Configuration.ToastDuration), true, |
239 | nameof(_mainForm.Configuration.ToastDuration), true, |
|
Line 232... | Line 240... | |||
232 | DataSourceUpdateMode.OnPropertyChanged)); |
240 | DataSourceUpdateMode.OnPropertyChanged)); |
|
Line 284... | Line 292... | |||
284 | DataSourceUpdateMode.OnPropertyChanged)); |
292 | DataSourceUpdateMode.OnPropertyChanged)); |
|
Line 285... | Line 293... | |||
285 | |
293 | |
|
286 | // Miscellaneous. |
294 | // Miscellaneous. |
|
287 | ToggleTableRow(tableLayoutPanel13, 0, !_mainForm.Configuration.InfiniteToastDuration); |
295 | ToggleTableRow(tableLayoutPanel13, 0, !_mainForm.Configuration.InfiniteToastDuration); |
|
- | 296 | } |
||
- | 297 | |
||
- | 298 | private void trackBar1_ValueChanged(object sender, EventArgs e) |
||
- | 299 | { |
||
- | 300 | |
||
288 | } |
301 | } |
|
289 | } |
302 | } |
|
290 | } |
303 | } |