Exemple #1
0
        private void efectuarEncomendaToolStripMenuItem_Click(object sender, EventArgs e)
        {
            CadInfoEncomenda CIE = new CadInfoEncomenda();

            CIE.principal = this;
            CIE.ShowDialog();
        }
Exemple #2
0
 public CadEncomenda(CadInfoEncomenda CIE)
 {
     InitializeComponent();
     this.CIE = CIE;
     metroComboBox2.DataSource    = bd.RetornaTabela("SELECT * FROM Produto");
     metroComboBox2.DisplayMember = "Nome";
     metroComboBox2.ValueMember   = "Cod";
 }