public MainWindow()
        {
            InitializeComponent();

            command     = new MainWindowCommand();
            DataContext = command;
        }
Example #2
0
        /// <summary>
        /// Initialization of the package; this method is called right after the package is sited, so this is the place
        /// where you can put all the initialization code that rely on services provided by VisualStudio.
        /// </summary>
        protected override void Initialize()
        {
            IVsActivityLog log = GetService(typeof(SVsActivityLog)) as IVsActivityLog;

            log.LogEntry(3, "Octane", "Started Octane plugin");

            MainWindowCommand.Initialize(this);
            base.Initialize();
            OctaneCommand.Initialize(this);

            var optionsPage = (ConnectionSettings)GetDialogPage(typeof(ConnectionSettings));

            optionsPage.LoadSettingsFromStorage();

            optionsPage.setOldCredentials();
        }
Example #3
0
 public MainWindowViewModel()
 {
     _mainWindowCommand = new MainWindowCommand(this);
 }
Example #4
0
 private void OnClientSuccesLogin(object sender, ClientEventArgs e)
 {
     MainWindowCommand.Execute(null);
 }