private void ButtonClick(object sender, System.EventArgs e){ DictionaryIntValuePopup p = new DictionaryIntValuePopup(); p.SetData(Value, Keys, Default); if (p.ShowDialog() == DialogResult.OK){ Value = p.GetData(Keys); textBox.Text = StringVal; } }
private void ButtonClick(object sender, System.EventArgs e) { DictionaryIntValuePopup p = new DictionaryIntValuePopup(); p.SetData(Value, Keys, Default); if (p.ShowDialog() == DialogResult.OK){ Value = p.GetData(Keys); textBox.Text = StringVal; } }