public TabContent(AdminPage parent_c, int tabIndex_c, TabChooser tabChooser_c)
        {
            tabChooser    = tabChooser_c;
            tabIndex      = tabIndex_c;
            tabCtrl       = parent_c.getTabControl();
            contentHeight = tabCtrl.TabPages[tabIndex].Size.Height;
            contentWidth  = tabCtrl.TabPages[tabIndex].Size.Width;

            InitializeComponent();
        }
 public void refreshTable(TabChooser chooser)
 {
     tabChooser = chooser;
     fillDataGrid();
 }