Esempio n. 1
0
 public FormAreasBloque(FormServiciosConfiguracion form_anterior, String idBloque, String nombreBloque)
 {
     InitializeComponent();
     this.form_anterior = form_anterior;
     this.idBloque      = idBloque;
     this.nombreBloque  = nombreBloque;
 }
        private void buttonMantenimiento_Click(object sender, EventArgs e)
        {
            FormServiciosConfiguracion nueva = new FormServiciosConfiguracion(this);

            nueva.ControlBox = true;
            nueva.Show();
        }
Esempio n. 3
0
 public FormArbolAreasBloque(FormServiciosConfiguracion formAnt, String idBloque, String nombreBloque, String nombreComunidad)
 {
     InitializeComponent();
     this.formAnt         = formAnt;
     this.idBloque        = idBloque;
     this.nombreBloque    = nombreBloque;
     this.nombreComunidad = nombreComunidad;
     idElementosAtras     = new List <String>();
     nombreElementosAtras = new List <String>();
 }
        private void mttoServiciosToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Form existe = Application.OpenForms.OfType <Form>().Where(pre => pre.Name == "FormServiciosConfiguracion").SingleOrDefault <Form>();

            if (existe != null)
            {
                existe.WindowState = FormWindowState.Maximized;
                existe.BringToFront();
            }
            else
            {
                Presentacion.Tareas.FormServiciosConfiguracion newMDIChild = new Presentacion.Tareas.FormServiciosConfiguracion();
                newMDIChild.MdiParent   = this;
                newMDIChild.WindowState = FormWindowState.Maximized;
                newMDIChild.Show();
            }
        }
Esempio n. 5
0
 public FormInsertarArea(FormServiciosConfiguracion form, String idServicio)
 {
     InitializeComponent();
     this.form       = form;
     this.idServicio = idServicio;
 }
Esempio n. 6
0
 public FormInsertarArea(FormServiciosConfiguracion form)
 {
     InitializeComponent();
     this.form = form;
 }
Esempio n. 7
0
 public FormInsertarBloque(FormServiciosConfiguracion form_anterior, String idComunidad)
 {
     InitializeComponent();
     this.form_anterior = form_anterior;
     this.idComunidad   = idComunidad;
 }