Esempio n. 1
0
        protected override void reloadDataGridView()
        {
            var actionTable = BllACLAction.GetActions();

            baseBindingSource.DataSource = actionTable;
            baseDataGridView.DataSource  = baseBindingSource;
        }
Esempio n. 2
0
        private void FrmACLAction_Load(object sender, EventArgs e)
        {
            splitContainer1.Panel1Collapsed = true;
            string    s         = Tag.ToString().Split('.')[1];
            DataTable dataTable = BllACLAction.GetActions(long.Parse(s));

            CreateActionButtons();

            this.AsmName  = "XSolo.ModuleActions";
            IdNameInTable = "Id";
            reloadDataGridView();
            baseDataGridView.Columns["Id"].Visible = false;
        }
Esempio n. 3
0
        private void FrmACLModule_Load(object sender, EventArgs e)
        {
            string    s         = Tag.ToString().Split('.')[1];
            DataTable dataTable = BllACLAction.GetActions();

            CreateActionButtons(ref dataTable);

            this.AsmName     = "TDAccessControl";
            SItemId          = "Id";
            FormTreeRootName = "所有窗体类型";
            IsTree           = true;

            this.baseTreeView.Nodes.Clear();

            reloadDataGridView();
            this.CreateTree(ref myTable);
            baseDataGridView.Columns[SItemId].Visible = false;
            baseDataGridView.Columns["父窗体"].Visible   = false;
        }