public VariablesContent() { this.Text = "Variables"; this.Control = _variablesControl = new VariablesControl() { Dock = System.Windows.Forms.DockStyle.Fill, }; this.DockState = LiteToolWindowDockState.BottomAutoHide; var iconProvider = IconProvider.GetProvider<AssemblyIconProvider>(); var bmp = new Bitmap(iconProvider.ImageList.Images[iconProvider.GetImageIndex(typeof(System.Reflection.FieldInfo))]); this.Icon = Icon.FromHandle(bmp.GetHicon()); DebuggerBase.Instance.ExtensionHost.UILanguageChanged += ExtensionHost_UILanguageChanged; ExtensionHost_UILanguageChanged(null, null); }
public VariablesContent() { this.Text = "Variables"; this.Control = _variablesControl = new VariablesControl() { Dock = System.Windows.Forms.DockStyle.Fill, }; this.DockState = LiteToolWindowDockState.BottomAutoHide; var iconProvider = IconProvider.GetProvider <AssemblyIconProvider>(); var bmp = new Bitmap(iconProvider.ImageList.Images[iconProvider.GetImageIndex(typeof(System.Reflection.FieldInfo))]); this.Icon = Icon.FromHandle(bmp.GetHicon()); DebuggerBase.Instance.ExtensionHost.UILanguageChanged += ExtensionHost_UILanguageChanged; ExtensionHost_UILanguageChanged(null, null); }