/// <summary> /// Actualiza el listado de áreas /// </summary> private void RefrescarAreas() { Listar.Areas(this.comboBox_area); this.comboBox_area.DropDownStyle = ComboBoxStyle.DropDown; Listar.Areas(this.comboBox_filtrarArea); Listar.Areas(this.listBox_area); Listar.Areas(this.comboBox_areaPersona); }
private void Button_AgregarArea_Click(object sender, EventArgs e) { V_Area v_Area = new V_Area(); v_Area.Show(); Listar.Areas(this.comboBox_area); Listar.Grupo(this.comboBox_grupo); Listar.Persona(this.comboBox_persona); }
private void V_Consulta_Load(object sender, EventArgs e) { //TabControl1 Listar.Areas(this.comboBox_Area); //TabControl2 Listar.Categorias(this.comboBox_categoria); //TabControl3 Listar.Areas(this.comboBox_area2); }
private void V_PersonasAutorizadas_Load(object sender, EventArgs e) { comboBox_area.Text = this.Area; Listar.Areas(this.comboBox_area); if (!String.IsNullOrEmpty(this.Area)) { Listar.Grupo(this.comboBox_grupo, this.comboBox_area); } Listar.Areas(this.comboBox_area2); Listar.Grupo(this.ComboBox_grupo2); RefrescarDataGrid(); }
private void LimpiarTodo() { Listar.Areas(this.comboBox_area); this.comboBox_grupo.Items.Clear(); this.comboBox_grupo.Enabled = false; this.comboBox_persona.Items.Clear(); this.comboBox_persona.Text = ""; this.comboBox_categoria.Text = ""; Listar.Categorias(this.comboBox_categoria); this.comboBox_nombre.Text = ""; Listar.Insumos(this.comboBox_nombre, this.comboBox_categoria); this.comboBox_cantidad.Text = ""; this.comboBox_cantidad.Items.Clear(); Listar.Persona(this.comboBox_persona); this.textBoxPersonaRetira.Text = ""; _listarInsumos.Clear(); this.dataGridView1.Rows.Clear(); }
private void V_principal_Load(object sender, EventArgs e) { Screen screen = Screen.PrimaryScreen; int _height = screen.Bounds.Height - 50; int _width = screen.Bounds.Width; this.Size = new Size(_width, _height); if (ControladorFachada.EsAdmin()) { EsAdmin(); } else { EsUsuario(); } Listar.Areas(this.comboBox_area); Listar.Persona(this.comboBox_persona); Listar.Categorias(this.comboBox_categoria); Listar.Insumos(this.comboBox_nombre, this.comboBox_categoria); }