예제 #1
0
        public frmAbrirDia(frmMesas owner)
        {
            InitializeComponent();

            MesasManager listmesas = new MesasManager();

            cmbMesas.DataSource    = listmesas.TraerMesas();
            cmbMesas.DisplayMember = "Id";
            cmbMesas.ValueMember   = "Salon";

            MeseroManager listmesero = new MeseroManager();

            cmbMeseros.DataSource    = listmesero.TraerMeseros();
            cmbMeseros.DisplayMember = "Nombre";
            cmbMeseros.ValueMember   = "Id";
            _owner            = owner;
            this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.frmAbrirDia_FormClosing);
        }
예제 #2
0
        private void btnMostrarmMesas_Click(object sender, EventArgs e)
        {
            frmMesas Mesas = new frmMesas();

            Mesas.Show();
        }