Exemplo n.º 1
0
        private void FrmPerfiles_Load(object sender, System.EventArgs e)
        {
            comboBox1.DataSource = null;
            FuncionesBases.CargarComboPerfiles(comboBox1, VariablesGlobales.Id_Perfil);

            this.comboBox1.SelectedIndexChanged += new System.EventHandler(this.comboBox1_SelectedIndexChanged);
            CargaTreeview(Convert.ToInt32(comboBox1.SelectedValue));
            //this.comboBox1.SelectedIndexChanged += new System.EventHandler(this.comboBox1_SelectedIndexChanged);


            treeView1.AfterCheck += treeView1_AfterCheck;
        }