public void AddGridToTab(OsirtGridView grid, string tabName)
        {
            var tab = new AuditTab(tabName);
            tab.Controls.Add(grid);

            uiAuditLogTabControl.TabPages.Add(tab);
        }
示例#2
0
        public void AddGridToTab(OsirtGridView grid, string tabName)
        {
            var tab = new AuditTab(tabName);

            tab.Controls.Add(grid);

            uiAuditLogTabControl.TabPages.Add(tab);
        }
示例#3
0
 private void CreateTabs()
 {
     foreach (KeyValuePair <string, string> tab in tabs)
     {
         AuditTab auditTab = new AuditTab(tab.Key, tab.Value);
         uiAuditLogTabControl.TabPages.Add(auditTab);
     }
     //Working on adding a complete audit log tab, including notes
 }
        private void CreateTabs()
        {
            foreach(KeyValuePair<string,string> tab in tabs)
            {
                AuditTab auditTab = new AuditTab(tab.Key, tab.Value);
                uiAuditLogTabControl.TabPages.Add(auditTab);
            }
            //Working on adding a complete audit log tab, including notes

        }
示例#5
0
        private void TabbedAuditLog_TabChanged(object sender, EventArgs e)
        {
            uiPageNumberLabel.Text = tabbedAuditLog.CurrentTab.PagesLeftDescription();
            AuditTab tab = (AuditTab)sender;

            if (tab.Text != "Complete")
            {
                uiNextPageButton.Visible     = true;
                uiPreviousPageButton.Visible = true;
                NextPage();
                PreviousPage();
            }
            else
            {
                uiNextPageButton.Visible     = false;
                uiPreviousPageButton.Visible = false;
            }
        }