private void button3_Click(object sender, EventArgs e) { KonBoxForm konBoxForm = new KonBoxForm(); KonBoxForm.KonBoxShow(); string[] selected = konBoxForm.GetSelected(); this.comboBox2.Text = selected[0]; this.comboBox2.ValueMember = selected[1]; }
private void button3_Click(object sender, EventArgs e) { KonBoxForm konbox = new KonBoxForm(); KonBoxForm.KonBoxShow(); var selected = konbox.GetSelected(); textBox2.Text = selected[0]; }
private void button2_Click(object sender, EventArgs e) { KonBoxForm.KonBoxShow(); }
public static void KonBoxShow() { KonBoxForm dialog = new KonBoxForm(); dialog.ShowDialog(); }