public ValueChanger(SettingsDlg settingsDlg, ListViewItem item) { this.InitializeComponent(); this.settingsDlg = settingsDlg; this.valueBox.Text = item.SubItems[1].Text; this.item = item; }
/** * Opens the settings dialog */ public void ShowSettingsDlg(object sender, System.EventArgs e) { SettingsDlg settingsDlg = new SettingsDlg(this); settingsDlg.ShowDialog(); }
public SettingAdder(SettingsDlg settingsDlg) { this.settingsDlg = settingsDlg; this.InitializeComponent(); }