I am making an ordering system and I want the orders of the customer to be display in the text box of an another form. Please help! Thank you..... btw it's a school project :(
This is the code of where I want to access the textbox:
if (cbo1.Checked != cbo2.Checked != cbo3.Checked)
{
QuantityMSG qmsg = new QuantityMSG();
qmsg.Show();
int r = 0;
quant(r, 45, "Buko Pandan P ");
txtTotal.Text(" " + tot);
//area1.append(" " + dish);
cbo1.Checked = false;
}
The class of it is:
public partial class Menu : Form
{
public Menu()
{
InitializeComponent();
}
This is where the text box form:
public partial class Payment : Form
{
public Payment()
{
InitializeComponent();
}