private void button1_Click(object sender, EventArgs e) { string textbox = bartextbox.Text; if (textbox.Contains("BAR")) { takeinputs(textbox, bartextbox); BarchartForForm bar = new BarchartForForm(calc.Valuefromexcel, cellname); bar.ShowDialog(); } }
private void button1_Click(object sender, EventArgs e) { BarchartForForm bar = new BarchartForForm(calc.Valuefromexcel); bar.ShowDialog(); }