private void btnAdd_Click(object sender, EventArgs e) { AddConvertor ac = new AddConvertor(); if (ac.ShowDialog() == System.Windows.Forms.DialogResult.OK) { lblConvertors.Items.Add(ac.Result); } }
private void btnAdd_Click(object sender, EventArgs e) { Convertor = new AddConvertor(); if (Convertor.ShowDialog() == System.Windows.Forms.DialogResult.OK) { lstConversions.Items.Add(Convertor.Converter); Current = Convertor.Converter; } }