示例#1
0
 public ReverseManager(Visio.Window window, ThisAddIn addinInstance, string filePath)
 {
     InitializeComponent();
     synchronizationContext = SynchronizationContext.Current;
     this._window           = window;
     this._addin            = addinInstance;
     this._filePath         = filePath;
     currentForm            = this;
     currentForm.Width      = 1010;
     currentForm.Height     = 570;
     picStatus.Width        = 995;
     picStatus.Height       = 339;
     picStatus.Top          = 11;
     lblClose.Left          = 962;
     lblDetails.Top         = 417;
     lblDetails.Width       = 995;
     lblDetails.Height      = 144;
     lblStatus.Height       = 67;
     lblStatus.Width        = 995;
     lblStatus.Top          = 350;
     panel1.Width           = 1010;
     panel1.Height          = 570;
     currentForm.Show();
     bgDeployLocally.RunWorkerAsync();
 }
示例#2
0
 /// <summary>
 /// Form constructor, receives parent Visio diagram window
 /// </summary>
 /// <param name="window">Parent Visio diagram window</param>
 public PanelForm(Visio.Window window, ThisAddIn addinInstance)
 {
     _window        = window;
     _addinInstance = addinInstance;
     InitializeComponent();
     RefreshData();
 }
示例#3
0
 public PanelManager(ThisAddIn thisAddIn)
 {
     ThisAddIn = thisAddIn;
 }