Пример #1
0
        private void modificarToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmObtenerID oID = new frmObtenerID(this, 3);

            oID.Show();
            this.Enabled = false;
        }
Пример #2
0
        /// <summary>
        /// -- BuscarToolStripMenuItem --
        /// Metodo que crea la instancia del objeto de la
        /// ventana frmbuscar y esconde la ventana principal.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        void BuscarToolStripMenuItemClick(object sender, EventArgs e)
        {
            frmObtenerID oID = new frmObtenerID(this, 1);

            oID.Show();
            this.Enabled = false;
        }