Esempio n. 1
0
 public void AddText(String Text, String TabTitle)
 {
     poshsecframework.Controls.PSTabItem ptitm = new poshsecframework.Controls.PSTabItem();
     ptitm.Text = TabTitle;
     ptitm.AddText(Text);
     frm.AddTabPage(ptitm);
 }
 public PSAlertList(String ScriptName, poshsecframework.Controls.PSTabItem Parent)
 {
     scriptname = ScriptName;
     InitializeComponent();
     Init();
     parent = Parent;
     tablabel = Parent.Text;
 }
Esempio n. 3
0
 public PSAlertList(String ScriptName, poshsecframework.Controls.PSTabItem Parent)
 {
     scriptname = ScriptName;
     InitializeComponent();
     Init();
     parent   = Parent;
     tablabel = Parent.Text;
 }
Esempio n. 4
0
 public poshsecframework.Controls.PSAlertList AddAlerts(String TabTitle)
 {
     poshsecframework.Controls.PSTabItem ptitm = new poshsecframework.Controls.PSTabItem();
     ptitm.Text = TabTitle;
     poshsecframework.Controls.PSAlertList rtn = ptitm.CreateAlertTab(scriptname);
     frm.AddTabPage(ptitm);
     return(rtn);
 }
Esempio n. 5
0
 public void AddObjectGrid(System.Object[] CustomObject, String TabTitle)
 {
     if (frm != null)
     {
         poshsecframework.Controls.PSTabItem ptitm = new poshsecframework.Controls.PSTabItem();
         ptitm.Text = TabTitle;
         ptitm.AddGrid(CustomObject);
         frm.AddTabPage(ptitm);
     }
     else
     {
         throw new Exception("Parent Form is not set in PSTab.");
     }
 }
Esempio n. 6
0
 public void AddObjectGrid(System.Object[] CustomObject, String TabTitle)
 {
     poshsecframework.Controls.PSTabItem ptitm = new poshsecframework.Controls.PSTabItem();
     ptitm.Text = TabTitle;
     ptitm.AddGrid(CustomObject);
     frm.AddTabPage(ptitm);
 }
Esempio n. 7
0
 public poshsecframework.Controls.PSAlertList AddAlerts(String TabTitle)
 {
     poshsecframework.Controls.PSTabItem ptitm = new poshsecframework.Controls.PSTabItem();
     ptitm.Text = TabTitle;
     poshsecframework.Controls.PSAlertList rtn = ptitm.CreateAlertTab(scriptname);
     frm.AddTabPage(ptitm);
     return rtn;
 }
Esempio n. 8
0
 public void AddText(String Text, String TabTitle)
 {
     poshsecframework.Controls.PSTabItem ptitm = new poshsecframework.Controls.PSTabItem();
     ptitm.Text = TabTitle;
     ptitm.AddText(Text);
     frm.AddTabPage(ptitm);
 }
Esempio n. 9
0
 public void AddObjectGrid(System.Object[] CustomObject, String TabTitle)
 {
     if (frm != null)
     {
         poshsecframework.Controls.PSTabItem ptitm = new poshsecframework.Controls.PSTabItem();
         ptitm.Text = TabTitle;
         ptitm.AddGrid(CustomObject);
         frm.AddTabPage(ptitm);
     }
     else
     {
         throw new Exception("Parent Form is not set in PSTab.");
     }
 }