Esempio n. 1
0
 public static void Initialize(Package package)
 {
     Instance = new MainWindowCommand(package);
     ToolWindowPane window = package.FindToolWindow(typeof(MainWindow), 0, true);
     if ((null == window) || (null == window.Frame))
     {
         throw new NotSupportedException("Cannot create tool window");
     }
     ((MainWindow)window).Initialize(((MainWindowPackage)package).Options);
 }
Esempio n. 2
0
        public static void Initialize(Package package)
        {
            Instance = new MainWindowCommand(package);
            ToolWindowPane window = package.FindToolWindow(typeof(MainWindow), 0, true);

            if ((null == window) || (null == window.Frame))
            {
                throw new NotSupportedException("Cannot create tool window");
            }
            ((MainWindow)window).Initialize(((MainWindowPackage)package).Options);
        }
 public static void Initialize(Package package)
 {
     Instance = new MainWindowCommand(package);
 }
Esempio n. 4
0
 public static void Initialize(Package package)
 {
     Instance = new MainWindowCommand(package);
 }
Esempio n. 5
0
 protected override void Initialize()
 {
     MainWindowCommand.Initialize(this);
     base.Initialize();
 }