示例#1
0
        private void btnControles_Click(object sender, EventArgs e)
        {
            Bunifu.Framework.UI.BunifuImageButton btn = sender as Bunifu.Framework.UI.BunifuImageButton;

            if (btn.Name == btnCerrarFormulario.Name)
            {
                Ventanas.Cerrar cerrar = new Ventanas.Cerrar();
                cerrar.PasarDatos(this);
                cerrar.iniciarFormulario(1);

                cerrar.ShowDialog();
            }
            if (btn.Name == btnMinimizarFormulario.Name)
            {
                aplicacion.Controles(2);
            }
        }