private void menuSettings_Click(object sender, EventArgs e) { SettingsForm settingsForm = new SettingsForm(); settingsForm.ShowDialog(this); }
private void buttonSettings_Click(object sender, EventArgs e) { SettingsForm settings = new SettingsForm(m_Agent.UpdateDelayThreshold); settings.ShowDialog(); }