private void InitRoles() { DepositoryRole.Init(RoleView); if (RoleView.Nodes.Count > 0) { RoleView.Nodes[0].EnsureVisible(); } }
private void RoleList_Load(object sender, EventArgs e) { DepositoryRole.Init(treeView1); }