public ResourceEditorControl(OpenedFile file) { InitializeComponent(); _componentMuiIdentifiers = new Dictionary <object, string>() { { columnHeader1, "ResourceEditorControl.ColumnHeaders.Name" }, { columnHeader2, "ResourceEditorControl.ColumnHeaders.Type" }, { columnHeader3, "ResourceEditorControl.ColumnHeaders.Contents" }, { addStringToolStripButton, "ResourceEditorControl.ToolBar.AddString" }, { addFileToolStripButton, "ResourceEditorControl.ToolBar.AddFile" }, { removeToolStripButton, "ResourceEditorControl.ToolBar.RemoveSelected" }, { renameToolStripMenuItem, "ResourceEditorControl.ContextMenu.Rename" }, { removeToolStripMenuItem, "ResourceEditorControl.ContextMenu.Remove" }, { label1, "ResourceEditorControl.Messages.EditorNotInstalled" }, }; _extension = ResourceEditorExtension.Instance; _extension.ExtensionHost.UILanguageChanged += ExtensionHost_UILanguageChanged; ExtensionHost_UILanguageChanged(null, null); _file = file; splitContainer1.Panel2.Controls.Remove(label1); ReadResourceFile(); }
public ResourceEditorControl(OpenedFile file) { InitializeComponent(); _componentMuiIdentifiers = new Dictionary<object, string>() { {columnHeader1, "ResourceEditorControl.ColumnHeaders.Name"}, {columnHeader2, "ResourceEditorControl.ColumnHeaders.Type"}, {columnHeader3, "ResourceEditorControl.ColumnHeaders.Contents"}, {addStringToolStripButton, "ResourceEditorControl.ToolBar.AddString"}, {addFileToolStripButton, "ResourceEditorControl.ToolBar.AddFile"}, {removeToolStripButton, "ResourceEditorControl.ToolBar.RemoveSelected"}, {renameToolStripMenuItem, "ResourceEditorControl.ContextMenu.Rename"}, {removeToolStripMenuItem, "ResourceEditorControl.ContextMenu.Remove"}, {label1, "ResourceEditorControl.Messages.EditorNotInstalled"}, }; _extension = ResourceEditorExtension.Instance; _extension.ExtensionHost.UILanguageChanged += ExtensionHost_UILanguageChanged; ExtensionHost_UILanguageChanged(null, null); _file = file; splitContainer1.Panel2.Controls.Remove(label1); ReadResourceFile(); }
public ImageViewContent() { InitializeComponent(); _componentMuiIdentifiers = new Dictionary<object, string>() { {updateImageButton, "ImageViewContent.UpdateImage"} }; _extension = ResourceEditorExtension.Instance; _extension.ExtensionHost.UILanguageChanged += ExtensionHost_UILanguageChanged; ExtensionHost_UILanguageChanged(null, null); }
public ImageViewContent() { InitializeComponent(); _componentMuiIdentifiers = new Dictionary <object, string>() { { updateImageButton, "ImageViewContent.UpdateImage" } }; _extension = ResourceEditorExtension.Instance; _extension.ExtensionHost.UILanguageChanged += ExtensionHost_UILanguageChanged; ExtensionHost_UILanguageChanged(null, null); }