You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
831 B
32 lines
831 B
2 weeks ago
|
using System;
|
||
|
using System.ComponentModel;
|
||
|
using System.Drawing;
|
||
|
using System.Windows.Forms;
|
||
|
using iMonitorApp.Properties;
|
||
|
|
||
|
namespace iMonitorApp
|
||
|
{
|
||
|
// Token: 0x02000013 RID: 19
|
||
|
public partial class SettingsForm : Form
|
||
|
{
|
||
|
// Token: 0x06000078 RID: 120 RVA: 0x00005A6B File Offset: 0x00003C6B
|
||
|
public SettingsForm()
|
||
|
{
|
||
|
this.InitializeComponent();
|
||
|
}
|
||
|
|
||
|
// Token: 0x06000079 RID: 121 RVA: 0x00005A83 File Offset: 0x00003C83
|
||
|
private void SettingsForm_Load(object sender, EventArgs e)
|
||
|
{
|
||
|
this.propertyGrid1.SelectedObject = Settings.Default;
|
||
|
}
|
||
|
|
||
|
// Token: 0x0600007A RID: 122 RVA: 0x00005A97 File Offset: 0x00003C97
|
||
|
private void propertyGrid1_PropertyValueChanged(object s, PropertyValueChangedEventArgs e)
|
||
|
{
|
||
|
Settings.Default[e.ChangedItem.Label] = e.ChangedItem.Value;
|
||
|
Settings.Default.Save();
|
||
|
}
|
||
|
}
|
||
|
}
|