private void button1_Click(object sender, EventArgs e) { PriceSelector myPriceSelector = new PriceSelector(lbl_정정종목.Text.Split(new string[] { "," }, StringSplitOptions.RemoveEmptyEntries)[0].Trim()); myPriceSelector.num = num_정정가격; myPriceSelector.ShowDialog(); }
private void button2_Click(object sender, EventArgs e) { PriceSelector myPriceSelector = new PriceSelector(txt_매수종목.Text.Trim()); myPriceSelector.num = num_매수가격; myPriceSelector.ShowDialog(); }