Button on flowlayoutpanel1 dispplay button in flowlayout2

Hewlett-packard Hp 630
June 27, 2013 at 16:39:03
Specs: Windows 7, 2.399 GHz / 2997 MB
I have `two forms`, one have `two Textboxs`, `one combobox` and `one button` in `form-A` another form contained `two flowlayoutpanel's` A and B with `datagridview`. When you select text in combobox and entered data in textbox1 and price textbox2 then save it with button in form1, however in form2 flowlayoutpanel-A should have button display text in combobox.text and on click the button from flowlayoutpanel-A button should also display on flowlayoutpanel-B from textbox1 in form1 and lastly on click the button from flowlayoutpanel-B then datagridview should display `Text, Qty and Price`.


See More: Button on flowlayoutpanel1 dispplay button in flowlayout2

Report •


#1
June 28, 2013 at 07:09:47
Well good luck with that. Do you have a question, or just hope someone will decipher your post and do your homework?

How To Ask Questions The Smart Way


Report •

#2
June 28, 2013 at 13:07:38
Thank you for your suggestion, i av done the first step and hook at second and third, but if you can help me out, i will appreciate that.

Dim cbButton1 As New Button
Dim cbButton As New Button

cbButton1.Name = ComboBox2.Text
cbButton1.Text = ComboBox2.Text
FlowLayoutPanel2.Controls.Add(cbButton1)


cbButton.Name = TextBox1.Text
cbButton.Text = TextBox1.Text
FlowLayoutPanel1.Controls.Add(cbButton)


Report •
Related Solutions


Ask Question