private void efectuarEncomendaToolStripMenuItem_Click(object sender, EventArgs e) { CadInfoEncomenda CIE = new CadInfoEncomenda(); CIE.principal = this; CIE.ShowDialog(); }
public CadEncomenda(CadInfoEncomenda CIE) { InitializeComponent(); this.CIE = CIE; metroComboBox2.DataSource = bd.RetornaTabela("SELECT * FROM Produto"); metroComboBox2.DisplayMember = "Nome"; metroComboBox2.ValueMember = "Cod"; }