Exemple #1
0
 private DocsPane(Microsoft.Office.Tools.CustomTaskPane _tPane)
 {
     InitializeComponent();
     StringSetter.setPane(this);
     _inst = this;
     setSysPane();
 }
Exemple #2
0
 public static DocsPane Instance()
 {
     {
         //if (_inst == null)
         //{
         _inst = new DocsPane(null);
         //}
         return(_inst);
     }
 }
Exemple #3
0
 private void DocsPane_but_Create_Click(object sender, EventArgs e)
 {
     try
     {
         startApp(DocsPane_lView_Docs.SelectedItems[0].Text);
     }
     catch (Exception E)
     {
     }
     finally
     {
         Globals.ThisAddIn.CustomTaskPanes.Remove(_DocsPane);
         _inst = null;
         //_inst.Visible = false;
     }
 }
Exemple #4
0
 private void DocsPane_but_Cancel_Click(object sender, EventArgs e)
 {
     Globals.ThisAddIn.CustomTaskPanes.Remove(_DocsPane);
     _inst = null;
 }
Exemple #5
0
 private void sbut_WooTable_Oracle_NewDoc_Click(object sender, RibbonControlEventArgs e)
 {
     DocsPane _docPane = DocsPane.Instance();
 }