/*
* QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.
* Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
namespace QuantConnect.VisualStudioPlugin
{
using System.Runtime.InteropServices;
using Microsoft.VisualStudio.Shell;
///
/// This class implements the tool window exposed by this package and hosts a user control.
///
///
/// In Visual Studio tool windows are composed of a frame (implemented by the shell) and a pane,
/// usually implemented by the package implementer.
///
/// This class derives from the ToolWindowPane class provided from the MPF in order to use its
/// implementation of the IVsUIElementPane interface.
///
///
[Guid("5ac1daea-d5b7-4813-ac69-49bb38fd54c4")]
internal sealed class ToolWindow1 : ToolWindowPane
{
///
/// Initializes a new instance of the class.
///
public ToolWindow1() : base(null)
{
Caption = "QuantConnect";
// This is the user control hosted by the tool window; Note that, even if this class implements IDisposable,
// we are not calling Dispose on this object. This is because ToolWindowPane calls Dispose on
// the object returned by the Content property.
Content = new ToolWindow1Control();
}
}
}