public static DockPanelSkin CreateVisualStudio2013Light() { var specialBlue = Color.FromArgb(0xFF, 54, 78, 111); var border = Color.FromArgb(0xFF, 41, 57, 85); var selection = Color.FromArgb(0xFF, 255, 242, 157); var header = Color.FromArgb(0xFF, 77, 96, 130); var hover = Color.FromArgb(0xFF, 155, 167, 183); var dot = Color.FromArgb(80, 170, 220); //var activeTab = specialBlue; var activeTab = selection; var mouseHoverTab = Color.FromArgb(0xFF, 91, 113, 153); var inactiveTab = specialBlue; //var lostFocusTab = Color.FromArgb(0xFF, 204, 206, 219); var lostFocusTab = specialBlue; var skin = new DockPanelSkin(); skin.AutoHideStripSkin.DockStripGradient.StartColor = hover; skin.AutoHideStripSkin.DockStripGradient.EndColor = specialBlue; skin.AutoHideStripSkin.TabGradient.TextColor = Color.White; skin.AutoHideStripSkin.DockStripBackground.StartColor = border; skin.DockPaneStripSkin.DocumentGradient.DockStripGradient.StartColor = border; skin.DockPaneStripSkin.DocumentGradient.DockStripGradient.EndColor = border; skin.DockPaneStripSkin.DocumentGradient.ActiveTabGradient.StartColor = activeTab; skin.DockPaneStripSkin.DocumentGradient.ActiveTabGradient.EndColor = lostFocusTab; skin.DockPaneStripSkin.DocumentGradient.ActiveTabGradient.TextColor = Color.Black; skin.DockPaneStripSkin.DocumentGradient.InactiveTabGradient.StartColor = inactiveTab; skin.DockPaneStripSkin.DocumentGradient.InactiveTabGradient.EndColor = mouseHoverTab; skin.DockPaneStripSkin.DocumentGradient.InactiveTabGradient.TextColor = Color.White; skin.DockPaneStripSkin.ToolWindowGradient.DockStripGradient.StartColor = specialBlue; skin.DockPaneStripSkin.ToolWindowGradient.DockStripGradient.EndColor = specialBlue; skin.DockPaneStripSkin.ToolWindowGradient.ActiveTabGradient.StartColor = Color.White; skin.DockPaneStripSkin.ToolWindowGradient.ActiveTabGradient.EndColor = Color.White; skin.DockPaneStripSkin.ToolWindowGradient.ActiveTabGradient.TextColor = Color.Black; skin.DockPaneStripSkin.ToolWindowGradient.HoverTabGradient.TextColor = Color.White; skin.DockPaneStripSkin.DocumentGradient.HoverTabGradient.StartColor = mouseHoverTab; skin.DockPaneStripSkin.DocumentGradient.HoverTabGradient.EndColor = mouseHoverTab; skin.DockPaneStripSkin.DocumentGradient.HoverTabGradient.TextColor = Color.White; skin.DockPaneStripSkin.ToolWindowGradient.InactiveTabGradient.StartColor = border; skin.DockPaneStripSkin.ToolWindowGradient.InactiveTabGradient.EndColor = border; skin.DockPaneStripSkin.ToolWindowGradient.InactiveTabGradient.TextColor = Color.White; skin.DockPaneStripSkin.ToolWindowGradient.ActiveCaptionGradient.StartColor = selection; skin.DockPaneStripSkin.ToolWindowGradient.ActiveCaptionGradient.EndColor = selection; //skin.DockPaneStripSkin.ToolWindowGradient.ActiveCaptionGradient.LinearGradientMode = LinearGradientMode.Vertical; skin.DockPaneStripSkin.ToolWindowGradient.ActiveCaptionGradient.TextColor = Color.Black; skin.DockPaneStripSkin.ToolWindowGradient.InactiveCaptionGradient.StartColor = header; skin.DockPaneStripSkin.ToolWindowGradient.InactiveCaptionGradient.EndColor = header; skin.DockPaneStripSkin.ToolWindowGradient.InactiveCaptionGradient.LinearGradientMode = LinearGradientMode.Vertical; skin.DockPaneStripSkin.ToolWindowGradient.InactiveCaptionGradient.TextColor = Color.White; return skin; }
public static DockPanelSkin CreateVisualStudio2012Light() { var skin = new DockPanelSkin(); skin.ColorPalette.MainWindowActive.Background = Color.FromArgb(0xFF, 0xEF, 0xEF, 0xF2); skin.ColorPalette.AutoHideStripDefault.Background = Color.FromArgb(0xFF, 0xEF, 0xEF, 0xF2); skin.ColorPalette.AutoHideStripDefault.Border = Color.FromArgb(0xFF, 0xCC, 0xCE, 0xDB); skin.ColorPalette.AutoHideStripDefault.Text = Color.FromArgb(0xFF, 0x44, 0x44, 0x44); skin.ColorPalette.AutoHideStripHovered.Background = Color.FromArgb(0xFF, 0xEF, 0xEF, 0xF2); skin.ColorPalette.AutoHideStripHovered.Border = Color.FromArgb(0xFF, 0x00, 0x7A, 0xCC); skin.ColorPalette.AutoHideStripHovered.Text = Color.FromArgb(0xFF, 0x0E, 0x70, 0xC0); skin.ColorPalette.TabSelectedActive.Background = Color.FromArgb(0xFF, 0x00, 0x7A, 0xCC); skin.ColorPalette.TabSelectedActive.Button = Color.FromArgb(0xFF, 0xD0, 0xE6, 0xF5); skin.ColorPalette.TabSelectedActive.Text = Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF); skin.ColorPalette.TabSelectedInactive.Background = Color.FromArgb(0xFF, 0xCC, 0xCE, 0xDB); skin.ColorPalette.TabSelectedInactive.Button = Color.FromArgb(0xFF, 0x6D, 0x6D, 0x70); skin.ColorPalette.TabSelectedInactive.Text = Color.FromArgb(0xFF, 0x71, 0x71, 0x71); skin.ColorPalette.TabUnselected.Text = Color.FromArgb(0xFF, 0x1E, 0x1E, 0x1E); skin.ColorPalette.TabUnselectedHovered.Background = Color.FromArgb(0xFF, 0x1C, 0x97, 0xEA); skin.ColorPalette.TabUnselectedHovered.Button = Color.FromArgb(0xFF, 0xD0, 0xE6, 0xF5); skin.ColorPalette.TabUnselectedHovered.Text = Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF); skin.ColorPalette.ToolWindowCaptionActive.Background = Color.FromArgb(0xFF, 0x00, 0x7A, 0xCC); skin.ColorPalette.ToolWindowCaptionActive.Button = Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF); skin.ColorPalette.ToolWindowCaptionActive.Grip = Color.FromArgb(0xFF, 0x59, 0xA8, 0xDE); skin.ColorPalette.ToolWindowCaptionActive.Text = Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF); skin.ColorPalette.ToolWindowCaptionInactive.Background = Color.FromArgb(0xFF, 0xEF, 0xEF, 0xF2); skin.ColorPalette.ToolWindowCaptionInactive.Button = Color.FromArgb(0xFF, 0x1E, 0x1E, 0x1E); skin.ColorPalette.ToolWindowCaptionInactive.Grip = Color.FromArgb(0xFF, 0x99, 0x99, 0x99); skin.ColorPalette.ToolWindowCaptionInactive.Text = Color.FromArgb(0xFF, 0x44, 0x44, 0x44); skin.ColorPalette.ToolWindowTabSelectedActive.Background = Color.FromArgb(0xFF, 0xF5, 0xF5, 0xF5); skin.ColorPalette.ToolWindowTabSelectedActive.Separator = Color.FromArgb(0xFF, 0xCC, 0xCE, 0xDB); skin.ColorPalette.ToolWindowTabSelectedActive.Text = Color.FromArgb(0xFF, 0x0E, 0x70, 0xC0); skin.ColorPalette.ToolWindowTabSelectedInactive.Background = Color.FromArgb(0xFF, 0xF6, 0xF6, 0xF6); skin.ColorPalette.ToolWindowTabSelectedInactive.Separator = Color.FromArgb(0xFF, 0xCC, 0xCE, 0xDB); skin.ColorPalette.ToolWindowTabSelectedInactive.Text = Color.FromArgb(0xFF, 0x0E, 0x70, 0xC0); skin.ColorPalette.ToolWindowTabUnselected.Separator = Color.FromArgb(0xFF, 0xCC, 0xCE, 0xDB); skin.ColorPalette.ToolWindowTabUnselected.Text = Color.FromArgb(0xFF, 0x44, 0x44, 0x44); skin.ColorPalette.ToolWindowTabUnselectedHovered.Background = Color.FromArgb(0xFF, 0xFE, 0xFE, 0xFE); skin.ColorPalette.ToolWindowTabUnselectedHovered.Separator = Color.FromArgb(0xFF, 0xCC, 0xCE, 0xDB); skin.ColorPalette.ToolWindowTabUnselectedHovered.Text = Color.FromArgb(0xFF, 0x00, 0x7A, 0xCC); return(skin); }
public static DockPanelSkin CreateVisualStudio2012Light() { var skin = new DockPanelSkin(); skin.ColorPalette.MainWindowActive.Background = Color.FromArgb(0xFF, 0xEF, 0xEF, 0xF2); skin.ColorPalette.AutoHideStripDefault.Background = Color.FromArgb(0xFF, 0xEF, 0xEF, 0xF2); skin.ColorPalette.AutoHideStripDefault.Border = Color.FromArgb(0xFF, 0xCC, 0xCE, 0xDB); skin.ColorPalette.AutoHideStripDefault.Text = Color.FromArgb(0xFF, 0x44, 0x44, 0x44); skin.ColorPalette.AutoHideStripHovered.Background = Color.FromArgb(0xFF, 0xEF, 0xEF, 0xF2); skin.ColorPalette.AutoHideStripHovered.Border = Color.FromArgb(0xFF, 0x00, 0x7A, 0xCC); skin.ColorPalette.AutoHideStripHovered.Text = Color.FromArgb(0xFF, 0x0E, 0x70, 0xC0); skin.ColorPalette.TabSelectedActive.Background = Color.FromArgb(0xFF, 0x00, 0x7A, 0xCC); skin.ColorPalette.TabSelectedActive.Button = Color.FromArgb(0xFF, 0xD0, 0xE6, 0xF5); skin.ColorPalette.TabSelectedActive.Text = Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF); skin.ColorPalette.TabSelectedInactive.Background = Color.FromArgb(0xFF, 0xCC, 0xCE, 0xDB); skin.ColorPalette.TabSelectedInactive.Button = Color.FromArgb(0xFF, 0x6D, 0x6D, 0x70); skin.ColorPalette.TabSelectedInactive.Text = Color.FromArgb(0xFF, 0x71, 0x71, 0x71); skin.ColorPalette.TabUnselected.Text = Color.FromArgb(0xFF, 0x1E, 0x1E, 0x1E); skin.ColorPalette.TabUnselectedHovered.Background = Color.FromArgb(0xFF, 0x1C, 0x97, 0xEA); skin.ColorPalette.TabUnselectedHovered.Button = Color.FromArgb(0xFF, 0xD0, 0xE6, 0xF5); skin.ColorPalette.TabUnselectedHovered.Text = Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF); skin.ColorPalette.ToolWindowCaptionActive.Background = Color.FromArgb(0xFF, 0x00, 0x7A, 0xCC); skin.ColorPalette.ToolWindowCaptionActive.Button = Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF); skin.ColorPalette.ToolWindowCaptionActive.Grip = Color.FromArgb(0xFF, 0x59, 0xA8, 0xDE); skin.ColorPalette.ToolWindowCaptionActive.Text = Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF); skin.ColorPalette.ToolWindowCaptionInactive.Background = Color.FromArgb(0xFF, 0xEF, 0xEF, 0xF2); skin.ColorPalette.ToolWindowCaptionInactive.Button = Color.FromArgb(0xFF, 0x1E, 0x1E, 0x1E); skin.ColorPalette.ToolWindowCaptionInactive.Grip = Color.FromArgb(0xFF, 0x99, 0x99, 0x99); skin.ColorPalette.ToolWindowCaptionInactive.Text = Color.FromArgb(0xFF, 0x44, 0x44, 0x44); skin.ColorPalette.ToolWindowTabSelectedActive.Background = Color.FromArgb(0xFF, 0xF5, 0xF5, 0xF5); skin.ColorPalette.ToolWindowTabSelectedActive.Separator = Color.FromArgb(0xFF, 0xCC, 0xCE, 0xDB); skin.ColorPalette.ToolWindowTabSelectedActive.Text = Color.FromArgb(0xFF, 0x0E, 0x70, 0xC0); skin.ColorPalette.ToolWindowTabSelectedInactive.Background = Color.FromArgb(0xFF, 0xF6, 0xF6, 0xF6); skin.ColorPalette.ToolWindowTabSelectedInactive.Separator = Color.FromArgb(0xFF, 0xCC, 0xCE, 0xDB); skin.ColorPalette.ToolWindowTabSelectedInactive.Text = Color.FromArgb(0xFF, 0x0E, 0x70, 0xC0); skin.ColorPalette.ToolWindowTabUnselected.Separator = Color.FromArgb(0xFF, 0xCC, 0xCE, 0xDB); skin.ColorPalette.ToolWindowTabUnselected.Text = Color.FromArgb(0xFF, 0x44, 0x44, 0x44); skin.ColorPalette.ToolWindowTabUnselectedHovered.Background = Color.FromArgb(0xFF, 0xFE, 0xFE, 0xFE); skin.ColorPalette.ToolWindowTabUnselectedHovered.Separator = Color.FromArgb(0xFF, 0xCC, 0xCE, 0xDB); skin.ColorPalette.ToolWindowTabUnselectedHovered.Text = Color.FromArgb(0xFF, 0x00, 0x7A, 0xCC); return skin; }
public static DockPanelSkin CreateVisualStudio2012Light() { var skin = new DockPanelSkin(); skin.ColorPalette.MainWindowActive.Background = ColorTranslator.FromHtml("#FFEFEFF2"); skin.ColorPalette.AutoHideStripDefault.Background = ColorTranslator.FromHtml("#FFEFEFF2"); skin.ColorPalette.AutoHideStripDefault.Border = ColorTranslator.FromHtml("#FFCCCEDB"); skin.ColorPalette.AutoHideStripDefault.Text = ColorTranslator.FromHtml("#FF444444"); skin.ColorPalette.AutoHideStripHovered.Background = ColorTranslator.FromHtml("#FFEFEFF2"); skin.ColorPalette.AutoHideStripHovered.Border = ColorTranslator.FromHtml("#FF007ACC"); skin.ColorPalette.AutoHideStripHovered.Text = ColorTranslator.FromHtml("#FF0E70C0"); skin.ColorPalette.TabSelectedActive.Background = ColorTranslator.FromHtml("#FF007ACC"); skin.ColorPalette.TabSelectedActive.Button = ColorTranslator.FromHtml("#FFD0E6F5"); skin.ColorPalette.TabSelectedActive.Text = ColorTranslator.FromHtml("#FFFFFFFF"); skin.ColorPalette.TabSelectedInactive.Background = ColorTranslator.FromHtml("#FFCCCEDB"); skin.ColorPalette.TabSelectedInactive.Button = ColorTranslator.FromHtml("#FF6D6D70"); skin.ColorPalette.TabSelectedInactive.Text = ColorTranslator.FromHtml("#FF717171"); skin.ColorPalette.TabUnselected.Text = ColorTranslator.FromHtml("#FF1E1E1E"); skin.ColorPalette.TabUnselectedHovered.Background = ColorTranslator.FromHtml("#FF1C97EA"); skin.ColorPalette.TabUnselectedHovered.Button = ColorTranslator.FromHtml("#FFD0E6F5"); skin.ColorPalette.TabUnselectedHovered.Text = ColorTranslator.FromHtml("#FFFFFFFF"); skin.ColorPalette.ToolWindowCaptionActive.Background = ColorTranslator.FromHtml("#FF007ACC"); skin.ColorPalette.ToolWindowCaptionActive.Button = ColorTranslator.FromHtml("#FFFFFFFF"); skin.ColorPalette.ToolWindowCaptionActive.Grip = ColorTranslator.FromHtml("#FF59A8DE"); skin.ColorPalette.ToolWindowCaptionActive.Text = ColorTranslator.FromHtml("#FFFFFFFF"); skin.ColorPalette.ToolWindowCaptionInactive.Background = ColorTranslator.FromHtml("#FFEFEFF2"); skin.ColorPalette.ToolWindowCaptionInactive.Button = ColorTranslator.FromHtml("#FF1E1E1E"); skin.ColorPalette.ToolWindowCaptionInactive.Grip = ColorTranslator.FromHtml("#FF999999"); skin.ColorPalette.ToolWindowCaptionInactive.Text = ColorTranslator.FromHtml("#FF444444"); skin.ColorPalette.ToolWindowTabSelectedActive.Background = ColorTranslator.FromHtml("#FFF5F5F5"); skin.ColorPalette.ToolWindowTabSelectedActive.Separator = ColorTranslator.FromHtml("#FFCCCEDB"); skin.ColorPalette.ToolWindowTabSelectedActive.Text = ColorTranslator.FromHtml("#FF0E70C0"); skin.ColorPalette.ToolWindowTabSelectedInactive.Background = ColorTranslator.FromHtml("#FFF6F6F6"); skin.ColorPalette.ToolWindowTabSelectedInactive.Separator = ColorTranslator.FromHtml("#FFCCCEDB"); skin.ColorPalette.ToolWindowTabSelectedInactive.Text = ColorTranslator.FromHtml("#FF0E70C0"); skin.ColorPalette.ToolWindowTabUnselected.Separator = ColorTranslator.FromHtml("#FFCCCEDB"); skin.ColorPalette.ToolWindowTabUnselected.Text = ColorTranslator.FromHtml("#FF444444"); skin.ColorPalette.ToolWindowTabUnselectedHovered.Background = ColorTranslator.FromHtml("#FFFEFEFE"); skin.ColorPalette.ToolWindowTabUnselectedHovered.Separator = ColorTranslator.FromHtml("#FFCCCEDB"); skin.ColorPalette.ToolWindowTabUnselectedHovered.Text = ColorTranslator.FromHtml("#FF007ACC"); return skin; }
public static DockPanelSkin CreateVisualStudio2013Blue() { var border = Color.FromArgb(0xFF, 41, 57, 85); var specialyellow = Color.FromArgb(0xFF, 255, 242, 157); var hover = Color.FromArgb(0xFF, 155, 167, 183); var activeTab = specialyellow; var mouseHoverTab = Color.FromArgb(0xFF, 91, 113, 153); var inactiveTab = Color.FromArgb(0xFF, 54, 78, 111); var lostFocusTab = Color.FromArgb(0xFF, 77, 96, 130); var skin = new DockPanelSkin(); skin.AutoHideStripSkin.DockStripGradient.StartColor = hover; skin.AutoHideStripSkin.DockStripGradient.EndColor = inactiveTab; skin.AutoHideStripSkin.TabGradient.TextColor = Color.White; skin.AutoHideStripSkin.DockStripBackground.StartColor = border; skin.DockPaneStripSkin.DocumentGradient.DockStripGradient.StartColor = border; skin.DockPaneStripSkin.DocumentGradient.DockStripGradient.EndColor = border; skin.DockPaneStripSkin.DocumentGradient.ActiveTabGradient.StartColor = activeTab; skin.DockPaneStripSkin.DocumentGradient.ActiveTabGradient.EndColor = lostFocusTab; skin.DockPaneStripSkin.DocumentGradient.ActiveTabGradient.TextColor = Color.Black; skin.DockPaneStripSkin.DocumentGradient.InactiveTabGradient.StartColor = inactiveTab; skin.DockPaneStripSkin.DocumentGradient.InactiveTabGradient.EndColor = mouseHoverTab; skin.DockPaneStripSkin.DocumentGradient.InactiveTabGradient.TextColor = Color.White; skin.DockPaneStripSkin.ToolWindowGradient.DockStripGradient.StartColor = inactiveTab; skin.DockPaneStripSkin.ToolWindowGradient.DockStripGradient.EndColor = inactiveTab; skin.DockPaneStripSkin.ToolWindowGradient.ActiveTabGradient.StartColor = Color.White; skin.DockPaneStripSkin.ToolWindowGradient.ActiveTabGradient.EndColor = Color.White; skin.DockPaneStripSkin.ToolWindowGradient.ActiveTabGradient.TextColor = Color.Black; skin.DockPaneStripSkin.ToolWindowGradient.InactiveTabGradient.StartColor = border; skin.DockPaneStripSkin.ToolWindowGradient.InactiveTabGradient.EndColor = border; skin.DockPaneStripSkin.ToolWindowGradient.InactiveTabGradient.TextColor = Color.White; skin.DockPaneStripSkin.ToolWindowGradient.ActiveCaptionGradient.StartColor = specialyellow; skin.DockPaneStripSkin.ToolWindowGradient.ActiveCaptionGradient.EndColor = specialyellow; //skin.DockPaneStripSkin.ToolWindowGradient.ActiveCaptionGradient.LinearGradientMode = LinearGradientMode.Vertical; skin.DockPaneStripSkin.ToolWindowGradient.ActiveCaptionGradient.TextColor = Color.Black; skin.DockPaneStripSkin.ToolWindowGradient.InactiveCaptionGradient.StartColor = lostFocusTab; skin.DockPaneStripSkin.ToolWindowGradient.InactiveCaptionGradient.EndColor = lostFocusTab; skin.DockPaneStripSkin.ToolWindowGradient.InactiveCaptionGradient.LinearGradientMode = LinearGradientMode.Vertical; skin.DockPaneStripSkin.ToolWindowGradient.InactiveCaptionGradient.TextColor = Color.White; skin.DockPaneStripSkin.ToolWindowGradient.HoverTabGradient.TextColor = Color.White; skin.DockPaneStripSkin.DocumentGradient.HoverTabGradient.StartColor = mouseHoverTab; skin.DockPaneStripSkin.DocumentGradient.HoverTabGradient.EndColor = mouseHoverTab; skin.DockPaneStripSkin.DocumentGradient.HoverTabGradient.TextColor = Color.White; return(skin); }
public static DockPanelSkin CreateVisualStudio2012Dark() { var skin = new DockPanelSkin(); skin.ColorPalette.MainWindowActive.Background = ColorTranslator.FromHtml("#FF2D2D30"); skin.ColorPalette.AutoHideStripDefault.Background = ColorTranslator.FromHtml("#FF2D2D30"); skin.ColorPalette.AutoHideStripDefault.Border = ColorTranslator.FromHtml("#FF3F3F46"); skin.ColorPalette.AutoHideStripDefault.Text = ColorTranslator.FromHtml("#FFD0D0D0"); skin.ColorPalette.AutoHideStripHovered.Background = ColorTranslator.FromHtml("#FF2D2D30"); skin.ColorPalette.AutoHideStripHovered.Border = ColorTranslator.FromHtml("#FF007ACC"); skin.ColorPalette.AutoHideStripHovered.Text = ColorTranslator.FromHtml("#FF0097FB"); skin.ColorPalette.TabSelectedActive.Background = ColorTranslator.FromHtml("#FF007ACC"); skin.ColorPalette.TabSelectedActive.Button = ColorTranslator.FromHtml("#FFD0E6F5"); skin.ColorPalette.TabSelectedActive.Text = ColorTranslator.FromHtml("#FFFFFFFF"); skin.ColorPalette.TabSelectedInactive.Background = ColorTranslator.FromHtml("#FF3F3F46"); skin.ColorPalette.TabSelectedInactive.Button = ColorTranslator.FromHtml("#FF6D6D70"); skin.ColorPalette.TabSelectedInactive.Text = ColorTranslator.FromHtml("#FFF1F1F1"); skin.ColorPalette.TabUnselected.Text = ColorTranslator.FromHtml("#FFF1F1F1"); skin.ColorPalette.TabUnselectedHovered.Background = ColorTranslator.FromHtml("#FF1C97EA"); skin.ColorPalette.TabUnselectedHovered.Button = ColorTranslator.FromHtml("#FFD0E6F5"); skin.ColorPalette.TabUnselectedHovered.Text = ColorTranslator.FromHtml("#FFFFFFFF"); skin.ColorPalette.ToolWindowCaptionActive.Background = ColorTranslator.FromHtml("#FF007ACC"); skin.ColorPalette.ToolWindowCaptionActive.Button = ColorTranslator.FromHtml("#FFFFFFFF"); skin.ColorPalette.ToolWindowCaptionActive.Grip = ColorTranslator.FromHtml("#FF59A8DE"); skin.ColorPalette.ToolWindowCaptionActive.Text = ColorTranslator.FromHtml("#FFFFFFFF"); skin.ColorPalette.ToolWindowCaptionInactive.Background = ColorTranslator.FromHtml("#FF2D2D30"); skin.ColorPalette.ToolWindowCaptionInactive.Button = ColorTranslator.FromHtml("#FFF1F1F1"); skin.ColorPalette.ToolWindowCaptionInactive.Grip = ColorTranslator.FromHtml("#FF46464A"); skin.ColorPalette.ToolWindowCaptionInactive.Text = ColorTranslator.FromHtml("#FFD0D0D0"); skin.ColorPalette.ToolWindowTabSelectedActive.Background = ColorTranslator.FromHtml("#FF252526"); skin.ColorPalette.ToolWindowTabSelectedActive.Separator = ColorTranslator.FromHtml("#FF3F3F46"); skin.ColorPalette.ToolWindowTabSelectedActive.Text = ColorTranslator.FromHtml("#FF0097FB"); skin.ColorPalette.ToolWindowTabSelectedInactive.Background = ColorTranslator.FromHtml("#FF252526"); skin.ColorPalette.ToolWindowTabSelectedInactive.Separator = ColorTranslator.FromHtml("#FF3F3F46"); skin.ColorPalette.ToolWindowTabSelectedInactive.Text = ColorTranslator.FromHtml("#FF0097FB"); skin.ColorPalette.ToolWindowTabUnselected.Separator = ColorTranslator.FromHtml("#FF3F3F46"); skin.ColorPalette.ToolWindowTabUnselected.Text = ColorTranslator.FromHtml("#FFD0D0D0"); skin.ColorPalette.ToolWindowTabUnselectedHovered.Background = ColorTranslator.FromHtml("#FF3E3E40"); skin.ColorPalette.ToolWindowTabUnselectedHovered.Separator = ColorTranslator.FromHtml("#FF3F3F46"); skin.ColorPalette.ToolWindowTabUnselectedHovered.Text = ColorTranslator.FromHtml("#FF55AAFF"); return skin; }
public static DockPanelSkin CreateVisualStudio2012Light() { var specialBlue = Color.FromArgb(0xFF, 0x00, 0x7A, 0xCC); var dot = Color.FromArgb(80, 170, 220); var activeTab = specialBlue; var mouseHoverTab = Color.FromArgb(0xFF, 28, 151, 234); var inactiveTab = SystemColors.Control; var lostFocusTab = Color.FromArgb(0xFF, 204, 206, 219); var skin = new DockPanelSkin(); skin.AutoHideStripSkin.DockStripGradient.StartColor = specialBlue; skin.AutoHideStripSkin.DockStripGradient.EndColor = SystemColors.ControlLight; skin.AutoHideStripSkin.TabGradient.TextColor = SystemColors.ControlDarkDark; skin.DockPaneStripSkin.DocumentGradient.DockStripGradient.StartColor = SystemColors.Control; skin.DockPaneStripSkin.DocumentGradient.DockStripGradient.EndColor = SystemColors.Control; skin.DockPaneStripSkin.DocumentGradient.ActiveTabGradient.StartColor = activeTab; skin.DockPaneStripSkin.DocumentGradient.ActiveTabGradient.EndColor = lostFocusTab; skin.DockPaneStripSkin.DocumentGradient.ActiveTabGradient.TextColor = Color.White; skin.DockPaneStripSkin.DocumentGradient.InactiveTabGradient.StartColor = inactiveTab; skin.DockPaneStripSkin.DocumentGradient.InactiveTabGradient.EndColor = mouseHoverTab; skin.DockPaneStripSkin.DocumentGradient.InactiveTabGradient.TextColor = Color.Black; skin.DockPaneStripSkin.ToolWindowGradient.DockStripGradient.StartColor = SystemColors.Control; skin.DockPaneStripSkin.ToolWindowGradient.DockStripGradient.EndColor = SystemColors.Control; skin.DockPaneStripSkin.ToolWindowGradient.ActiveTabGradient.StartColor = SystemColors.ControlLightLight; skin.DockPaneStripSkin.ToolWindowGradient.ActiveTabGradient.EndColor = SystemColors.ControlLightLight; skin.DockPaneStripSkin.ToolWindowGradient.ActiveTabGradient.TextColor = specialBlue; skin.DockPaneStripSkin.ToolWindowGradient.InactiveTabGradient.StartColor = SystemColors.Control; skin.DockPaneStripSkin.ToolWindowGradient.InactiveTabGradient.EndColor = SystemColors.Control; skin.DockPaneStripSkin.ToolWindowGradient.InactiveTabGradient.TextColor = SystemColors.GrayText; skin.DockPaneStripSkin.ToolWindowGradient.ActiveCaptionGradient.StartColor = specialBlue; skin.DockPaneStripSkin.ToolWindowGradient.ActiveCaptionGradient.EndColor = dot; skin.DockPaneStripSkin.ToolWindowGradient.ActiveCaptionGradient.LinearGradientMode = LinearGradientMode.Vertical; skin.DockPaneStripSkin.ToolWindowGradient.ActiveCaptionGradient.TextColor = Color.White; skin.DockPaneStripSkin.ToolWindowGradient.InactiveCaptionGradient.StartColor = SystemColors.Control; skin.DockPaneStripSkin.ToolWindowGradient.InactiveCaptionGradient.EndColor = SystemColors.ControlDark; skin.DockPaneStripSkin.ToolWindowGradient.InactiveCaptionGradient.LinearGradientMode = LinearGradientMode.Vertical; skin.DockPaneStripSkin.ToolWindowGradient.InactiveCaptionGradient.TextColor = SystemColors.GrayText; return(skin); }
public static DockPanelSkin CreateVisualStudio2012Light() { var specialBlue = Color.FromArgb(0xFF, 0x00, 0x7A, 0xCC); var dot = Color.FromArgb(80, 170, 220); var activeTab = specialBlue; var mouseHoverTab = Color.FromArgb(0xFF, 28, 151, 234); var inactiveTab = SystemColors.Control; var lostFocusTab = Color.FromArgb(0xFF, 204, 206, 219); var skin = new DockPanelSkin(); skin.AutoHideStripSkin.DockStripGradient.StartColor = specialBlue; skin.AutoHideStripSkin.DockStripGradient.EndColor = SystemColors.ControlLight; skin.AutoHideStripSkin.TabGradient.TextColor = SystemColors.ControlDarkDark; skin.DockPaneStripSkin.DocumentGradient.DockStripGradient.StartColor = SystemColors.Control; skin.DockPaneStripSkin.DocumentGradient.DockStripGradient.EndColor = SystemColors.Control; skin.DockPaneStripSkin.DocumentGradient.ActiveTabGradient.StartColor = activeTab; skin.DockPaneStripSkin.DocumentGradient.ActiveTabGradient.EndColor = lostFocusTab; skin.DockPaneStripSkin.DocumentGradient.ActiveTabGradient.TextColor = Color.White; skin.DockPaneStripSkin.DocumentGradient.InactiveTabGradient.StartColor = inactiveTab; skin.DockPaneStripSkin.DocumentGradient.InactiveTabGradient.EndColor = mouseHoverTab; skin.DockPaneStripSkin.DocumentGradient.InactiveTabGradient.TextColor = Color.Black; skin.DockPaneStripSkin.ToolWindowGradient.DockStripGradient.StartColor = SystemColors.Control; skin.DockPaneStripSkin.ToolWindowGradient.DockStripGradient.EndColor = SystemColors.Control; skin.DockPaneStripSkin.ToolWindowGradient.ActiveTabGradient.StartColor = SystemColors.ControlLightLight; skin.DockPaneStripSkin.ToolWindowGradient.ActiveTabGradient.EndColor = SystemColors.ControlLightLight; skin.DockPaneStripSkin.ToolWindowGradient.ActiveTabGradient.TextColor = specialBlue; skin.DockPaneStripSkin.ToolWindowGradient.InactiveTabGradient.StartColor = SystemColors.Control; skin.DockPaneStripSkin.ToolWindowGradient.InactiveTabGradient.EndColor = SystemColors.Control; skin.DockPaneStripSkin.ToolWindowGradient.InactiveTabGradient.TextColor = SystemColors.GrayText; skin.DockPaneStripSkin.ToolWindowGradient.ActiveCaptionGradient.StartColor = specialBlue; skin.DockPaneStripSkin.ToolWindowGradient.ActiveCaptionGradient.EndColor = dot; skin.DockPaneStripSkin.ToolWindowGradient.ActiveCaptionGradient.LinearGradientMode = LinearGradientMode.Vertical; skin.DockPaneStripSkin.ToolWindowGradient.ActiveCaptionGradient.TextColor = Color.White; skin.DockPaneStripSkin.ToolWindowGradient.InactiveCaptionGradient.StartColor = SystemColors.Control; skin.DockPaneStripSkin.ToolWindowGradient.InactiveCaptionGradient.EndColor = SystemColors.ControlDark; skin.DockPaneStripSkin.ToolWindowGradient.InactiveCaptionGradient.LinearGradientMode = LinearGradientMode.Vertical; skin.DockPaneStripSkin.ToolWindowGradient.InactiveCaptionGradient.TextColor = SystemColors.GrayText; return skin; }
public static DockPanelSkin CreatePanelThemeValues() { var FormBackground = ThemeMgr.Instance.getColor(IKnownColors.FormBackground); var ActiveTabOrDocument = ThemeMgr.Instance.getColor(IKnownColors.ActiveTabOrDocument); var Active2TabOrDocument = ThemeMgr.Instance.getColor(IKnownColors.Active2TabOrDocument); var ActiveTabOrDocumentText = ThemeMgr.Instance.getColor(IKnownColors.ActiveTabOrDocumentText); var UnactiveTabOrDocumentText = ThemeMgr.Instance.getColor(IKnownColors.UnactiveTabOrDocumentText); var ActiveMultiTabBackground = ThemeMgr.Instance.getColor(IKnownColors.ActiveMultiTabBackground); var ActiveMultiTabText = ThemeMgr.Instance.getColor(IKnownColors.ActiveMultiTabText); // ------------------------------------------------------------ var skin = new DockPanelSkin(); // Unactived, unselected tabs or documents - Should be same as parent background skin.DockPaneStripSkin.DocumentGradient.DockStripGradient.StartColor = FormBackground; skin.DockPaneStripSkin.DocumentGradient.DockStripGradient.EndColor = FormBackground; skin.DockPaneStripSkin.ToolWindowGradient.DockStripGradient.StartColor = FormBackground; skin.DockPaneStripSkin.ToolWindowGradient.DockStripGradient.EndColor = FormBackground; skin.DockPaneStripSkin.ToolWindowGradient.InactiveCaptionGradient.StartColor = FormBackground; skin.DockPaneStripSkin.ToolWindowGradient.InactiveCaptionGradient.EndColor = FormBackground; skin.DockPaneStripSkin.ToolWindowGradient.InactiveTabGradient.StartColor = FormBackground; skin.DockPaneStripSkin.ToolWindowGradient.InactiveTabGradient.EndColor = FormBackground; skin.DockPaneStripSkin.DocumentGradient.InactiveTabGradient.EndColor = FormBackground; skin.DockPaneStripSkin.DocumentGradient.InactiveTabGradient.StartColor = FormBackground; // Active and selected document/tab header skin.DockPaneStripSkin.DocumentGradient.ActiveTabGradient.StartColor = ActiveTabOrDocument; skin.DockPaneStripSkin.ToolWindowGradient.ActiveCaptionGradient.StartColor = ActiveTabOrDocument; skin.AutoHideStripSkin.DockStripGradient.StartColor = ActiveTabOrDocument; skin.DockPaneStripSkin.ToolWindowGradient.ActiveTabGradient.TextColor = ActiveTabOrDocument; // Active and unselected document/tab header skin.DockPaneStripSkin.DocumentGradient.ActiveTabGradient.EndColor = Active2TabOrDocument; skin.DockPaneStripSkin.ToolWindowGradient.ActiveCaptionGradient.EndColor = Active2TabOrDocument; skin.AutoHideStripSkin.DockStripGradient.EndColor = Active2TabOrDocument; // Active document/tab header text skin.DockPaneStripSkin.DocumentGradient.ActiveTabGradient.TextColor = ActiveTabOrDocumentText; skin.DockPaneStripSkin.ToolWindowGradient.ActiveCaptionGradient.TextColor = ActiveTabOrDocumentText; // Unactive, unselected strip tab text skin.DockPaneStripSkin.ToolWindowGradient.InactiveTabGradient.TextColor = UnactiveTabOrDocumentText; skin.DockPaneStripSkin.ToolWindowGradient.InactiveCaptionGradient.TextColor = UnactiveTabOrDocumentText; skin.DockPaneStripSkin.DocumentGradient.InactiveTabGradient.TextColor = UnactiveTabOrDocumentText; // Active, multitab background skin.DockPaneStripSkin.ToolWindowGradient.ActiveTabGradient.StartColor = ActiveMultiTabBackground; skin.DockPaneStripSkin.ToolWindowGradient.ActiveTabGradient.EndColor = ActiveMultiTabBackground; // ------------------------------------------------------------ // Unused, fix it skin.AutoHideStripSkin.TabGradient.TextColor = Color.Red; return skin; }
internal static DockPanelSkin CreateVisualStudio2005() { DockPanelSkin skin = new DockPanelSkin(); skin.AutoHideStripSkin.DockStripGradient.StartColor = SystemColors.ControlLight; skin.AutoHideStripSkin.DockStripGradient.EndColor = SystemColors.ControlLight; skin.AutoHideStripSkin.TabGradient.TextColor = SystemColors.ControlDarkDark; skin.DockPaneStripSkin.DocumentGradient.DockStripGradient.StartColor = SystemColors.Control; skin.DockPaneStripSkin.DocumentGradient.DockStripGradient.EndColor = SystemColors.Control; skin.DockPaneStripSkin.DocumentGradient.ActiveTabGradient.StartColor = SystemColors.ControlLightLight; skin.DockPaneStripSkin.DocumentGradient.ActiveTabGradient.EndColor = SystemColors.ControlLightLight; skin.DockPaneStripSkin.DocumentGradient.InactiveTabGradient.StartColor = SystemColors.ControlLight; skin.DockPaneStripSkin.DocumentGradient.InactiveTabGradient.EndColor = SystemColors.ControlLight; skin.DockPaneStripSkin.ToolWindowGradient.DockStripGradient.StartColor = SystemColors.ControlLight; skin.DockPaneStripSkin.ToolWindowGradient.DockStripGradient.EndColor = SystemColors.ControlLight; skin.DockPaneStripSkin.ToolWindowGradient.ActiveTabGradient.StartColor = SystemColors.Control; skin.DockPaneStripSkin.ToolWindowGradient.ActiveTabGradient.EndColor = SystemColors.Control; skin.DockPaneStripSkin.ToolWindowGradient.InactiveTabGradient.StartColor = Color.Transparent; skin.DockPaneStripSkin.ToolWindowGradient.InactiveTabGradient.EndColor = Color.Transparent; skin.DockPaneStripSkin.ToolWindowGradient.InactiveTabGradient.TextColor = SystemColors.ControlDarkDark; skin.DockPaneStripSkin.ToolWindowGradient.ActiveCaptionGradient.StartColor = SystemColors.GradientActiveCaption; skin.DockPaneStripSkin.ToolWindowGradient.ActiveCaptionGradient.EndColor = SystemColors.ActiveCaption; skin.DockPaneStripSkin.ToolWindowGradient.ActiveCaptionGradient.LinearGradientMode = LinearGradientMode.Vertical; skin.DockPaneStripSkin.ToolWindowGradient.ActiveCaptionGradient.TextColor = SystemColors.ActiveCaptionText; skin.DockPaneStripSkin.ToolWindowGradient.InactiveCaptionGradient.StartColor = SystemColors.GradientInactiveCaption; skin.DockPaneStripSkin.ToolWindowGradient.InactiveCaptionGradient.EndColor = SystemColors.InactiveCaption; skin.DockPaneStripSkin.ToolWindowGradient.InactiveCaptionGradient.LinearGradientMode = LinearGradientMode.Vertical; skin.DockPaneStripSkin.ToolWindowGradient.InactiveCaptionGradient.TextColor = SystemColors.InactiveCaptionText; return(skin); }
internal static DockPanelSkin CreateVisualStudio2005() { DockPanelSkin skin = new DockPanelSkin(); skin.AutoHideStripSkin.DockStripGradient.StartColor = SystemColors.ControlLight; skin.AutoHideStripSkin.DockStripGradient.EndColor = SystemColors.ControlLight; skin.AutoHideStripSkin.TabGradient.TextColor = SystemColors.ControlDarkDark; skin.DockPaneStripSkin.DocumentGradient.DockStripGradient.StartColor = SystemColors.Control; skin.DockPaneStripSkin.DocumentGradient.DockStripGradient.EndColor = SystemColors.Control; skin.DockPaneStripSkin.DocumentGradient.ActiveTabGradient.StartColor = SystemColors.ControlLightLight; skin.DockPaneStripSkin.DocumentGradient.ActiveTabGradient.EndColor = SystemColors.ControlLightLight; skin.DockPaneStripSkin.DocumentGradient.InactiveTabGradient.StartColor = SystemColors.ControlLight; skin.DockPaneStripSkin.DocumentGradient.InactiveTabGradient.EndColor = SystemColors.ControlLight; skin.DockPaneStripSkin.ToolWindowGradient.DockStripGradient.StartColor = SystemColors.ControlLight; skin.DockPaneStripSkin.ToolWindowGradient.DockStripGradient.EndColor = SystemColors.ControlLight; skin.DockPaneStripSkin.ToolWindowGradient.ActiveTabGradient.StartColor = SystemColors.Control; skin.DockPaneStripSkin.ToolWindowGradient.ActiveTabGradient.EndColor = SystemColors.Control; skin.DockPaneStripSkin.ToolWindowGradient.InactiveTabGradient.StartColor = Color.Transparent; skin.DockPaneStripSkin.ToolWindowGradient.InactiveTabGradient.EndColor = Color.Transparent; skin.DockPaneStripSkin.ToolWindowGradient.InactiveTabGradient.TextColor = SystemColors.ControlDarkDark; skin.DockPaneStripSkin.ToolWindowGradient.ActiveCaptionGradient.StartColor = SystemColors.GradientActiveCaption; skin.DockPaneStripSkin.ToolWindowGradient.ActiveCaptionGradient.EndColor = SystemColors.ActiveCaption; skin.DockPaneStripSkin.ToolWindowGradient.ActiveCaptionGradient.LinearGradientMode = LinearGradientMode.Vertical; skin.DockPaneStripSkin.ToolWindowGradient.ActiveCaptionGradient.TextColor = SystemColors.ActiveCaptionText; skin.DockPaneStripSkin.ToolWindowGradient.InactiveCaptionGradient.StartColor = SystemColors.GradientInactiveCaption; skin.DockPaneStripSkin.ToolWindowGradient.InactiveCaptionGradient.EndColor = SystemColors.InactiveCaption; skin.DockPaneStripSkin.ToolWindowGradient.InactiveCaptionGradient.LinearGradientMode = LinearGradientMode.Vertical; skin.DockPaneStripSkin.ToolWindowGradient.InactiveCaptionGradient.TextColor = SystemColors.InactiveCaptionText; return skin; }
public static DockPanelSkin CreateVS2012(string[] styles) { var skin = new DockPanelSkin(); // PanelSplitter skin.PanelSplitter = ColorTranslator.FromHtml(styles[0]); // DocumentPanel skin.DocTabBarFG = ColorTranslator.FromHtml(styles[1]); skin.DocTabBarBG = ColorTranslator.FromHtml(styles[2]); skin.DocTabActiveFG = ColorTranslator.FromHtml(styles[3]); skin.DocTabActiveBG = ColorTranslator.FromHtml(styles[4]); skin.DocTabActiveLostFocusFG = ColorTranslator.FromHtml(styles[5]); skin.DocTabActiveLostFocusBG = ColorTranslator.FromHtml(styles[6]); skin.DocTabInactiveHoverFG = ColorTranslator.FromHtml(styles[7]); skin.DocTabInactiveHoverBG = ColorTranslator.FromHtml(styles[8]); skin.DocBtnActiveHoverFG = ColorTranslator.FromHtml(styles[9]); skin.DocBtnActiveHoverBG = ColorTranslator.FromHtml(styles[10]); skin.DocBtnActiveLostFocusHoverFG = ColorTranslator.FromHtml(styles[11]); skin.DocBtnActiveLostFocusHoverBG = ColorTranslator.FromHtml(styles[12]); skin.DocBtnInactiveHoverFG = ColorTranslator.FromHtml(styles[13]); skin.DocBtnInactiveHoverBG = ColorTranslator.FromHtml(styles[14]); // ToolWindowPanel skin.ToolTabBarFG = ColorTranslator.FromHtml(styles[15]); skin.ToolTabBarBG = ColorTranslator.FromHtml(styles[16]); skin.ToolTabActive = ColorTranslator.FromHtml(styles[17]); skin.ToolTitleActiveFG = ColorTranslator.FromHtml(styles[18]); skin.ToolTitleActiveBG = ColorTranslator.FromHtml(styles[19]); skin.ToolTitleLostFocusFG = ColorTranslator.FromHtml(styles[20]); skin.ToolTitleLostFocusBG = ColorTranslator.FromHtml(styles[21]); skin.ToolTitleDotActive = ColorTranslator.FromHtml(styles[22]); skin.ToolTitleDotLostFocus = ColorTranslator.FromHtml(styles[23]); // AutoHidePanel skin.AutoHideTabBarFG = ColorTranslator.FromHtml(styles[24]); skin.AutoHideTabBarBG = ColorTranslator.FromHtml(styles[25]); skin.AutoHideTabActive = ColorTranslator.FromHtml(styles[26]); skin.AutoHideTabInactive = ColorTranslator.FromHtml(styles[27]); return(skin); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { WeifenLuo.WinFormsUI.Docking.AutoHideStripSkin autoHideStripSkin1 = new WeifenLuo.WinFormsUI.Docking.AutoHideStripSkin(); WeifenLuo.WinFormsUI.Docking.DockPanelGradient dockPanelGradient1 = new WeifenLuo.WinFormsUI.Docking.DockPanelGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient1 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); WeifenLuo.WinFormsUI.Docking.DockPaneStripSkin dockPaneStripSkin1 = new WeifenLuo.WinFormsUI.Docking.DockPaneStripSkin(); WeifenLuo.WinFormsUI.Docking.DockPaneStripGradient dockPaneStripGradient1 = new WeifenLuo.WinFormsUI.Docking.DockPaneStripGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient2 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); WeifenLuo.WinFormsUI.Docking.DockPanelGradient dockPanelGradient2 = new WeifenLuo.WinFormsUI.Docking.DockPanelGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient3 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); WeifenLuo.WinFormsUI.Docking.DockPaneStripToolWindowGradient dockPaneStripToolWindowGradient1 = new WeifenLuo.WinFormsUI.Docking.DockPaneStripToolWindowGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient4 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient5 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); WeifenLuo.WinFormsUI.Docking.DockPanelGradient dockPanelGradient3 = new WeifenLuo.WinFormsUI.Docking.DockPanelGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient6 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient7 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmMain)); this.mainContainer = new WeifenLuo.WinFormsUI.Docking.DockPanel(); this.mainContainer.Theme = new VS2005Theme(); WeifenLuo.WinFormsUI.Docking.DockPanelSkin dockPanelSkin1 = this.mainContainer.Theme.Skin; this.tabbedDocumentContainer1 = new AGS.Editor.TabbedDocumentManager(mainContainer); this.pnlCallStack = new AGS.Editor.CallStackPanel(); this.pnlFindResults = new AGS.Editor.FindResultsPanel(); this.pnlOutput = new AGS.Editor.OutputPanel(); this.projectPanel = new AGS.Editor.ProjectPanel(); this.propertiesPanel = new AGS.Editor.PropertiesPanel(); this.mainMenu = new MenuStripExtended(); this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.windowsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStrip = new ToolStripExtended(); this.statusStrip = new System.Windows.Forms.StatusStrip(); this.statusLabel = new System.Windows.Forms.ToolStripStatusLabel(); this.mainMenu.SuspendLayout(); this.statusStrip.SuspendLayout(); this.SuspendLayout(); // // frmMain // this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 17F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(761, 514); this.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Icon = ((System.Drawing.Icon)(resources.GetObject("agsico-1"))); this.KeyPreview = true; this.Name = "frmMain"; this.StartPosition = System.Windows.Forms.FormStartPosition.Manual; this.Text = "AGS Editor"; this.Shown += new System.EventHandler(this.frmMain_Shown); this.KeyUp += new System.Windows.Forms.KeyEventHandler(this.frmMain_KeyUp); this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.frmMain_FormClosing); this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.frmMain_KeyDown); this.IsMdiContainer = true; this.Controls.Add(this.mainContainer); this.Controls.Add(this.toolStrip); this.Controls.Add(this.mainMenu); this.Controls.Add(this.statusStrip); // // mainContainer // this.mainContainer.ActiveAutoHideContent = null; this.mainContainer.Dock = System.Windows.Forms.DockStyle.Fill; this.mainContainer.DockBackColor = System.Drawing.SystemColors.Control; this.mainContainer.Location = new System.Drawing.Point(0, 51); this.mainContainer.Name = "mainContainer"; this.mainContainer.DocumentStyle = WeifenLuo.WinFormsUI.Docking.DocumentStyle.DockingMdi; this.mainContainer.Size = new System.Drawing.Size(761, 441); dockPanelGradient1.EndColor = System.Drawing.SystemColors.ControlLight; dockPanelGradient1.StartColor = System.Drawing.SystemColors.ControlLight; autoHideStripSkin1.DockStripGradient = dockPanelGradient1; tabGradient1.EndColor = System.Drawing.SystemColors.Control; tabGradient1.StartColor = System.Drawing.SystemColors.Control; tabGradient1.TextColor = System.Drawing.SystemColors.ControlDarkDark; autoHideStripSkin1.TabGradient = tabGradient1; autoHideStripSkin1.TextFont = new System.Drawing.Font("Tahoma", 8.400001F); dockPanelSkin1.AutoHideStripSkin = autoHideStripSkin1; tabGradient2.EndColor = System.Drawing.SystemColors.ControlLightLight; tabGradient2.StartColor = System.Drawing.SystemColors.ControlLightLight; tabGradient2.TextColor = System.Drawing.SystemColors.ControlText; dockPaneStripGradient1.ActiveTabGradient = tabGradient2; dockPanelGradient2.EndColor = System.Drawing.SystemColors.Control; dockPanelGradient2.StartColor = System.Drawing.SystemColors.Control; dockPaneStripGradient1.DockStripGradient = dockPanelGradient2; tabGradient3.EndColor = System.Drawing.SystemColors.ControlLight; tabGradient3.StartColor = System.Drawing.SystemColors.ControlLight; tabGradient3.TextColor = System.Drawing.SystemColors.ControlText; dockPaneStripGradient1.InactiveTabGradient = tabGradient3; dockPaneStripSkin1.DocumentGradient = dockPaneStripGradient1; dockPaneStripSkin1.TextFont = new System.Drawing.Font("Tahoma", 8.400001F); tabGradient4.EndColor = System.Drawing.SystemColors.ActiveCaption; tabGradient4.LinearGradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; tabGradient4.StartColor = System.Drawing.SystemColors.GradientActiveCaption; tabGradient4.TextColor = System.Drawing.SystemColors.ActiveCaptionText; dockPaneStripToolWindowGradient1.ActiveCaptionGradient = tabGradient4; tabGradient5.EndColor = System.Drawing.SystemColors.Control; tabGradient5.StartColor = System.Drawing.SystemColors.Control; tabGradient5.TextColor = System.Drawing.SystemColors.ControlText; dockPaneStripToolWindowGradient1.ActiveTabGradient = tabGradient5; dockPanelGradient3.EndColor = System.Drawing.SystemColors.ControlLight; dockPanelGradient3.StartColor = System.Drawing.SystemColors.ControlLight; dockPaneStripToolWindowGradient1.DockStripGradient = dockPanelGradient3; tabGradient6.EndColor = System.Drawing.SystemColors.InactiveCaption; tabGradient6.LinearGradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; tabGradient6.StartColor = System.Drawing.SystemColors.GradientInactiveCaption; tabGradient6.TextColor = System.Drawing.SystemColors.InactiveCaptionText; dockPaneStripToolWindowGradient1.InactiveCaptionGradient = tabGradient6; tabGradient7.EndColor = System.Drawing.Color.Transparent; tabGradient7.StartColor = System.Drawing.Color.Transparent; tabGradient7.TextColor = System.Drawing.SystemColors.ControlDarkDark; dockPaneStripToolWindowGradient1.InactiveTabGradient = tabGradient7; dockPaneStripSkin1.ToolWindowGradient = dockPaneStripToolWindowGradient1; dockPanelSkin1.DockPaneStripSkin = dockPaneStripSkin1; this.mainContainer.TabIndex = 0; // // pnlCallStack // this.pnlCallStack.CallStack = null; this.pnlCallStack.ClientSize = new System.Drawing.Size(489, 65); this.pnlCallStack.Dock = System.Windows.Forms.DockStyle.Fill; this.pnlCallStack.DockPanel = this.mainContainer; this.pnlCallStack.DockState = WeifenLuo.WinFormsUI.Docking.DockState.Unknown; this.pnlCallStack.FloatPane = null; this.pnlCallStack.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.pnlCallStack.IsFloat = false; this.pnlCallStack.IsHidden = true; this.pnlCallStack.HideOnClose = true; this.pnlCallStack.Location = new System.Drawing.Point(0, 0); this.pnlCallStack.Name = "pnlCallStack"; this.pnlCallStack.Text = "Call Stack"; this.pnlCallStack.Pane = null; this.pnlCallStack.PanelPane = null; this.pnlCallStack.ShowHint = WeifenLuo.WinFormsUI.Docking.DockState.DockBottom; this.pnlCallStack.Visible = false; this.pnlCallStack.VisibleState = WeifenLuo.WinFormsUI.Docking.DockState.DockBottom; // // pnlFindResults // this.pnlFindResults.ClientSize = new System.Drawing.Size(489, 65); this.pnlFindResults.Dock = System.Windows.Forms.DockStyle.Fill; this.pnlFindResults.DockPanel = this.mainContainer; this.pnlFindResults.DockState = WeifenLuo.WinFormsUI.Docking.DockState.Unknown; this.pnlFindResults.FloatPane = null; this.pnlFindResults.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.pnlFindResults.IsFloat = false; this.pnlFindResults.IsHidden = true; this.pnlFindResults.Location = new System.Drawing.Point(0, 0); this.pnlFindResults.Name = "pnlFindResults"; this.pnlFindResults.Text = "Find Results"; this.pnlFindResults.HideOnClose = true; this.pnlFindResults.Pane = null; this.pnlFindResults.PanelPane = null; this.pnlFindResults.Results = null; this.pnlFindResults.ShowHint = WeifenLuo.WinFormsUI.Docking.DockState.DockBottom; this.pnlFindResults.Visible = false; this.pnlFindResults.VisibleState = WeifenLuo.WinFormsUI.Docking.DockState.DockBottom; // // pnlOutput // this.pnlOutput.ClientSize = new System.Drawing.Size(489, 65); this.pnlOutput.Dock = System.Windows.Forms.DockStyle.Fill; this.pnlOutput.DockPanel = this.mainContainer; this.pnlOutput.DockState = WeifenLuo.WinFormsUI.Docking.DockState.Unknown; this.pnlOutput.ErrorsToList = null; this.pnlOutput.FloatPane = null; this.pnlOutput.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.pnlOutput.IsFloat = false; this.pnlOutput.IsHidden = true; this.pnlOutput.HideOnClose = true; this.pnlOutput.Location = new System.Drawing.Point(0, 0); this.pnlOutput.Name = "pnlOutput"; this.pnlOutput.Text = "Output"; this.pnlOutput.Pane = null; this.pnlOutput.PanelPane = null; this.pnlOutput.ShowHint = WeifenLuo.WinFormsUI.Docking.DockState.DockBottom; this.pnlOutput.Visible = true; this.pnlOutput.VisibleState = WeifenLuo.WinFormsUI.Docking.DockState.DockBottom; // // projectPanel // this.projectPanel.DockPanel = this.mainContainer; this.projectPanel.AllowDrop = true; this.projectPanel.Dock = System.Windows.Forms.DockStyle.Fill; this.projectPanel.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.projectPanel.Location = new System.Drawing.Point(0, 0); this.projectPanel.Name = "projectPanel"; this.projectPanel.Text = "Explore Project"; this.projectPanel.Size = new System.Drawing.Size(258, 195); this.projectPanel.TabIndex = 2; this.projectPanel.HideOnClose = true; this.projectPanel.Enter += new System.EventHandler(this.projectTree_Enter); this.projectPanel.Pane = null; this.projectPanel.PanelPane = null; this.projectPanel.ShowHint = WeifenLuo.WinFormsUI.Docking.DockState.DockRight; this.projectPanel.Visible = true; this.projectPanel.VisibleState = WeifenLuo.WinFormsUI.Docking.DockState.DockRight; // // propertiesPanel // this.propertiesPanel.DockPanel = this.mainContainer; this.propertiesPanel.Dock = System.Windows.Forms.DockStyle.Fill; this.propertiesPanel.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.propertiesPanel.Location = new System.Drawing.Point(0, 0); this.propertiesPanel.Name = "propertiesPanel"; this.propertiesPanel.Size = new System.Drawing.Size(258, 242); this.propertiesPanel.TabIndex = 10; this.propertiesPanel.PropertyValueChanged += new System.Windows.Forms.PropertyValueChangedEventHandler(this.propertiesPanel_PropertyValueChanged); this.propertiesPanel.SelectedIndexChanged += new System.EventHandler(this.propertyObjectCombo_SelectedIndexChanged); this.propertiesPanel.Text = "Properties"; this.propertiesPanel.HideOnClose = true; this.propertiesPanel.Pane = null; this.propertiesPanel.PanelPane = null; this.propertiesPanel.ShowHint = WeifenLuo.WinFormsUI.Docking.DockState.DockRight; this.propertiesPanel.Visible = true; this.propertiesPanel.VisibleState = WeifenLuo.WinFormsUI.Docking.DockState.DockRight; // // mainMenu // this.mainMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.fileToolStripMenuItem, this.windowsToolStripMenuItem }); this.mainMenu.Location = new System.Drawing.Point(0, 0); this.mainMenu.Name = "mainMenu"; this.mainMenu.Size = new System.Drawing.Size(761, 26); this.mainMenu.TabIndex = 4; this.mainMenu.Text = "menuStrip1"; //this.mainMenu.MdiWindowListItem = this.windowsToolStripMenuItem; // // fileToolStripMenuItem // this.fileToolStripMenuItem.Name = "fileToolStripMenuItem"; this.fileToolStripMenuItem.Size = new System.Drawing.Size(40, 22); this.fileToolStripMenuItem.Text = "&File"; // // windowsToolStripMenuItem // this.windowsToolStripMenuItem.Name = "windowsToolStripMenuItem"; this.windowsToolStripMenuItem.Size = new System.Drawing.Size(40, 22); this.windowsToolStripMenuItem.Text = "&Window"; //this.windowsToolStripMenuItem.DropDownItems.Add("TEST"); // // toolStrip // this.toolStrip.Location = new System.Drawing.Point(0, 26); this.toolStrip.Name = "toolStrip"; this.toolStrip.Size = new System.Drawing.Size(761, 25); this.toolStrip.TabIndex = 5; this.toolStrip.Text = "toolStrip1"; // // statusStrip // this.statusStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.statusLabel }); this.statusStrip.Location = new System.Drawing.Point(0, 492); this.statusStrip.Name = "statusStrip"; this.statusStrip.Size = new System.Drawing.Size(761, 22); this.statusStrip.TabIndex = 6; this.statusStrip.Text = "statusStrip1"; // // statusLabel // this.statusLabel.Name = "statusLabel"; this.statusLabel.Size = new System.Drawing.Size(0, 17); this.mainMenu.ResumeLayout(false); this.mainMenu.PerformLayout(); this.statusStrip.ResumeLayout(false); this.statusStrip.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); }
public static DockPanelSkin CreateVisualStudio2012Dark() { var skin = new DockPanelSkin(); skin.ColorPalette.AutoHideStripDefault.Background = ColorTranslator.FromHtml("#FF2D2D30"); skin.ColorPalette.AutoHideStripDefault.Border = ColorTranslator.FromHtml("#FF3F3F46"); skin.ColorPalette.AutoHideStripDefault.Text = ColorTranslator.FromHtml("#FFD0D0D0"); skin.ColorPalette.AutoHideStripHovered.Background = ColorTranslator.FromHtml("#FF2D2D30"); skin.ColorPalette.AutoHideStripHovered.Border = ColorTranslator.FromHtml("#FF007ACC"); skin.ColorPalette.AutoHideStripHovered.Text = ColorTranslator.FromHtml("#FF0097FB"); skin.ColorPalette.OverflowButtonDefault.Glyph = ColorTranslator.FromHtml("#FFF1F1F1"); skin.ColorPalette.OverflowButtonHovered.Background = ColorTranslator.FromHtml("#FF3E3E40"); skin.ColorPalette.OverflowButtonHovered.Border = ColorTranslator.FromHtml("#FF3E3E40"); skin.ColorPalette.OverflowButtonHovered.Glyph = ColorTranslator.FromHtml("#FF007ACC"); skin.ColorPalette.TabSelectedActive.Background = ColorTranslator.FromHtml("#FF007ACC"); skin.ColorPalette.TabSelectedActive.Button = ColorTranslator.FromHtml("#FFD0E6F5"); skin.ColorPalette.TabSelectedActive.Text = ColorTranslator.FromHtml("#FFFFFFFF"); skin.ColorPalette.TabSelectedInactive.Background = ColorTranslator.FromHtml("#FF3F3F46"); skin.ColorPalette.TabSelectedInactive.Button = ColorTranslator.FromHtml("#FF6D6D70"); skin.ColorPalette.TabSelectedInactive.Text = ColorTranslator.FromHtml("#FFF1F1F1"); skin.ColorPalette.TabUnselected.Text = ColorTranslator.FromHtml("#FFF1F1F1"); skin.ColorPalette.TabUnselectedHovered.Background = ColorTranslator.FromHtml("#FF1C97EA"); skin.ColorPalette.TabUnselectedHovered.Button = ColorTranslator.FromHtml("#FFD0E6F5"); skin.ColorPalette.TabUnselectedHovered.Text = ColorTranslator.FromHtml("#FFFFFFFF"); skin.ColorPalette.TabButtonSelectedActive.Glyph = ColorTranslator.FromHtml("#FFD0E6F5"); skin.ColorPalette.TabButtonSelectedActiveHovered.Background = ColorTranslator.FromHtml("#FF1C97EA"); skin.ColorPalette.TabButtonSelectedActiveHovered.Border = ColorTranslator.FromHtml("#FF1C97EA"); skin.ColorPalette.TabButtonSelectedActiveHovered.Glyph = ColorTranslator.FromHtml("#FFFFFFFF"); skin.ColorPalette.TabButtonSelectedInactive.Glyph = ColorTranslator.FromHtml("#FF6D6D70"); skin.ColorPalette.TabButtonSelectedInactiveHovered.Background = ColorTranslator.FromHtml("#FF555555"); skin.ColorPalette.TabButtonSelectedInactiveHovered.Border = ColorTranslator.FromHtml("#FF555555"); skin.ColorPalette.TabButtonSelectedInactiveHovered.Glyph = ColorTranslator.FromHtml("#FFF1F1F1"); skin.ColorPalette.TabButtonUnselectedTabHovered.Glyph = ColorTranslator.FromHtml("#FFD0E6F5"); skin.ColorPalette.TabButtonUnselectedTabHoveredButtonHovered.Background = ColorTranslator.FromHtml("#FF52B0EF"); skin.ColorPalette.TabButtonUnselectedTabHoveredButtonHovered.Border = ColorTranslator.FromHtml("#FF52B0EF"); skin.ColorPalette.TabButtonUnselectedTabHoveredButtonHovered.Glyph = ColorTranslator.FromHtml("#FFFFFFFF"); skin.ColorPalette.MainWindowActive.Background = ColorTranslator.FromHtml("#FF2D2D30"); skin.ColorPalette.MainWindowStatusBarDefault.Background = ColorTranslator.FromHtml("#FF007ACC"); skin.ColorPalette.ToolWindowCaptionActive.Background = ColorTranslator.FromHtml("#FF007ACC"); skin.ColorPalette.ToolWindowCaptionActive.Button = ColorTranslator.FromHtml("#FFFFFFFF"); skin.ColorPalette.ToolWindowCaptionActive.Grip = ColorTranslator.FromHtml("#FF59A8DE"); skin.ColorPalette.ToolWindowCaptionActive.Text = ColorTranslator.FromHtml("#FFFFFFFF"); skin.ColorPalette.ToolWindowCaptionInactive.Background = ColorTranslator.FromHtml("#FF2D2D30"); skin.ColorPalette.ToolWindowCaptionInactive.Button = ColorTranslator.FromHtml("#FFF1F1F1"); skin.ColorPalette.ToolWindowCaptionInactive.Grip = ColorTranslator.FromHtml("#FF46464A"); skin.ColorPalette.ToolWindowCaptionInactive.Text = ColorTranslator.FromHtml("#FFD0D0D0"); skin.ColorPalette.ToolWindowCaptionButtonActive.Glyph = ColorTranslator.FromHtml("#FFFFFFFF"); skin.ColorPalette.ToolWindowCaptionButtonActiveHovered.Background = ColorTranslator.FromHtml("#FF52B0EF"); skin.ColorPalette.ToolWindowCaptionButtonActiveHovered.Border = ColorTranslator.FromHtml("#FF52B0EF"); skin.ColorPalette.ToolWindowCaptionButtonActiveHovered.Glyph = ColorTranslator.FromHtml("#FFFFFFFF"); skin.ColorPalette.ToolWindowCaptionButtonInactive.Glyph = ColorTranslator.FromHtml("#FFF1F1F1"); skin.ColorPalette.ToolWindowCaptionButtonInactiveHovered.Background = ColorTranslator.FromHtml("#FF393939"); skin.ColorPalette.ToolWindowCaptionButtonInactiveHovered.Border = ColorTranslator.FromHtml("#FF393939"); skin.ColorPalette.ToolWindowCaptionButtonInactiveHovered.Glyph = ColorTranslator.FromHtml("#FFF1F1F1"); skin.ColorPalette.ToolWindowTabSelectedActive.Background = ColorTranslator.FromHtml("#FF252526"); skin.ColorPalette.ToolWindowTabSelectedActive.Separator = ColorTranslator.FromHtml("#FF3F3F46"); skin.ColorPalette.ToolWindowTabSelectedActive.Text = ColorTranslator.FromHtml("#FF0097FB"); skin.ColorPalette.ToolWindowTabSelectedInactive.Background = ColorTranslator.FromHtml("#FF252526"); skin.ColorPalette.ToolWindowTabSelectedInactive.Separator = ColorTranslator.FromHtml("#FF3F3F46"); skin.ColorPalette.ToolWindowTabSelectedInactive.Text = ColorTranslator.FromHtml("#FF0097FB"); skin.ColorPalette.ToolWindowTabUnselected.Separator = ColorTranslator.FromHtml("#FF3F3F46"); skin.ColorPalette.ToolWindowTabUnselected.Text = ColorTranslator.FromHtml("#FFD0D0D0"); skin.ColorPalette.ToolWindowTabUnselectedHovered.Background = ColorTranslator.FromHtml("#FF3E3E40"); skin.ColorPalette.ToolWindowTabUnselectedHovered.Separator = ColorTranslator.FromHtml("#FF3F3F46"); skin.ColorPalette.ToolWindowTabUnselectedHovered.Text = ColorTranslator.FromHtml("#FF55AAFF"); return(skin); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { WeifenLuo.WinFormsUI.Docking.DockPanelSkin dockPanelSkin1 = new WeifenLuo.WinFormsUI.Docking.DockPanelSkin(); WeifenLuo.WinFormsUI.Docking.AutoHideStripSkin autoHideStripSkin1 = new WeifenLuo.WinFormsUI.Docking.AutoHideStripSkin(); WeifenLuo.WinFormsUI.Docking.DockPanelGradient dockPanelGradient1 = new WeifenLuo.WinFormsUI.Docking.DockPanelGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient1 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); WeifenLuo.WinFormsUI.Docking.DockPaneStripSkin dockPaneStripSkin1 = new WeifenLuo.WinFormsUI.Docking.DockPaneStripSkin(); WeifenLuo.WinFormsUI.Docking.DockPaneStripGradient dockPaneStripGradient1 = new WeifenLuo.WinFormsUI.Docking.DockPaneStripGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient2 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); WeifenLuo.WinFormsUI.Docking.DockPanelGradient dockPanelGradient2 = new WeifenLuo.WinFormsUI.Docking.DockPanelGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient3 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); WeifenLuo.WinFormsUI.Docking.DockPaneStripToolWindowGradient dockPaneStripToolWindowGradient1 = new WeifenLuo.WinFormsUI.Docking.DockPaneStripToolWindowGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient4 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient5 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); WeifenLuo.WinFormsUI.Docking.DockPanelGradient dockPanelGradient3 = new WeifenLuo.WinFormsUI.Docking.DockPanelGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient6 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient7 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmMain)); this.toolStrip1 = new System.Windows.Forms.ToolStrip(); this.newmodButton = new System.Windows.Forms.ToolStripButton(); this.openmodButton = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); this.openfileButton = new System.Windows.Forms.ToolStripButton(); this.saveButton = new System.Windows.Forms.ToolStripButton(); this.saveallButton = new System.Windows.Forms.ToolStripButton(); this.toolStripButton7 = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); this.btPack = new System.Windows.Forms.ToolStripButton(); this.rungameToolStrip = new System.Windows.Forms.ToolStripDropDownButton(); this.launchWithCostumParametersToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.menuStrip1 = new System.Windows.Forms.MenuStrip(); this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.newModToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.openModToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator6 = new System.Windows.Forms.ToolStripSeparator(); this.newFileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.scriptToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.chunkToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.saveToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.saveAllToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator(); this.exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.modToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.addFileFromBundleToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.addFileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.addFileFromOtherModToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.createPackedInstallerToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.reloadProjectToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator(); this.settingsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.saveExplorerToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.wcclitePatcherToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator5 = new System.Windows.Forms.ToolStripSeparator(); this.optionsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.viewToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.modExplorerToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.outputToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.aboutToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.joinOurDiscordToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.tutorialsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.witcherIIIModdingToolLicenseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator7 = new System.Windows.Forms.ToolStripSeparator(); this.aboutRedkit2ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.buildDateToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.dockPanel = new WeifenLuo.WinFormsUI.Docking.DockPanel(); this.launchGameForDebuggingToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStrip1.SuspendLayout(); this.menuStrip1.SuspendLayout(); this.SuspendLayout(); // // toolStrip1 // this.toolStrip1.ImageScalingSize = new System.Drawing.Size(20, 20); this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.newmodButton, this.openmodButton, this.toolStripSeparator1, this.openfileButton, this.saveButton, this.saveallButton, this.toolStripButton7, this.toolStripSeparator2, this.btPack, this.rungameToolStrip }); this.toolStrip1.Location = new System.Drawing.Point(0, 28); this.toolStrip1.Name = "toolStrip1"; this.toolStrip1.Size = new System.Drawing.Size(1099, 27); this.toolStrip1.TabIndex = 6; this.toolStrip1.Text = "toolStrip1"; // // newmodButton // this.newmodButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.newmodButton.Image = global::W3Edit.Properties.Resources.NewSolutionFolder_6289; this.newmodButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.newmodButton.Name = "newmodButton"; this.newmodButton.Size = new System.Drawing.Size(24, 24); this.newmodButton.Text = "New mod"; this.newmodButton.Click += new System.EventHandler(this.newModToolStripMenuItem_Click); // // openmodButton // this.openmodButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.openmodButton.Image = global::W3Edit.Properties.Resources.Open_6529; this.openmodButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.openmodButton.Name = "openmodButton"; this.openmodButton.Size = new System.Drawing.Size(24, 24); this.openmodButton.Text = "Open mod"; this.openmodButton.Click += new System.EventHandler(this.openModToolStripMenuItem_Click); // // toolStripSeparator1 // this.toolStripSeparator1.Name = "toolStripSeparator1"; this.toolStripSeparator1.Size = new System.Drawing.Size(6, 27); // // openfileButton // this.openfileButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.openfileButton.Image = global::W3Edit.Properties.Resources.Open_6529; this.openfileButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.openfileButton.Name = "openfileButton"; this.openfileButton.Size = new System.Drawing.Size(24, 24); this.openfileButton.Text = "Open file"; this.openfileButton.Click += new System.EventHandler(this.tbtOpen_Click); // // saveButton // this.saveButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.saveButton.Image = global::W3Edit.Properties.Resources.Save_6530; this.saveButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.saveButton.Name = "saveButton"; this.saveButton.Size = new System.Drawing.Size(24, 24); this.saveButton.Text = "Save"; this.saveButton.Click += new System.EventHandler(this.tbtSave_Click); // // saveallButton // this.saveallButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.saveallButton.Image = global::W3Edit.Properties.Resources.Saveall_6518; this.saveallButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.saveallButton.Name = "saveallButton"; this.saveallButton.Size = new System.Drawing.Size(24, 24); this.saveallButton.Text = "toolStripButton5"; this.saveallButton.ToolTipText = "Save all"; this.saveallButton.Click += new System.EventHandler(this.tbtSaveAll_Click); // // toolStripButton7 // this.toolStripButton7.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.toolStripButton7.Image = global::W3Edit.Properties.Resources.AddNodefromFile_354; this.toolStripButton7.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolStripButton7.Name = "toolStripButton7"; this.toolStripButton7.Size = new System.Drawing.Size(24, 24); this.toolStripButton7.Text = "toolStripButton7"; this.toolStripButton7.ToolTipText = "Add file from bundle"; this.toolStripButton7.Click += new System.EventHandler(this.addFileToolStripMenuItem_Click); // // toolStripSeparator2 // this.toolStripSeparator2.Name = "toolStripSeparator2"; this.toolStripSeparator2.Size = new System.Drawing.Size(6, 27); // // btPack // this.btPack.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.btPack.Image = global::W3Edit.Properties.Resources.FileGroup_10135_16x; this.btPack.ImageTransparentColor = System.Drawing.Color.Magenta; this.btPack.Name = "btPack"; this.btPack.Size = new System.Drawing.Size(24, 24); this.btPack.Text = "btPack"; this.btPack.ToolTipText = "Pack and install mod"; this.btPack.Click += new System.EventHandler(this.btPack_Click); // // rungameToolStrip // this.rungameToolStrip.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.rungameToolStrip.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.launchGameForDebuggingToolStripMenuItem, this.launchWithCostumParametersToolStripMenuItem }); this.rungameToolStrip.Image = global::W3Edit.Properties.Resources.witcher3_101; this.rungameToolStrip.ImageTransparentColor = System.Drawing.Color.Magenta; this.rungameToolStrip.Name = "rungameToolStrip"; this.rungameToolStrip.Size = new System.Drawing.Size(34, 24); this.rungameToolStrip.Text = "Launch game"; // // launchWithCostumParametersToolStripMenuItem // this.launchWithCostumParametersToolStripMenuItem.Name = "launchWithCostumParametersToolStripMenuItem"; this.launchWithCostumParametersToolStripMenuItem.Size = new System.Drawing.Size(293, 26); this.launchWithCostumParametersToolStripMenuItem.Text = "Launch with costum parameters"; this.launchWithCostumParametersToolStripMenuItem.Click += new System.EventHandler(this.launchWithCostumParametersToolStripMenuItem_Click); // // menuStrip1 // this.menuStrip1.BackColor = System.Drawing.SystemColors.Control; this.menuStrip1.ImageScalingSize = new System.Drawing.Size(20, 20); this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.fileToolStripMenuItem, this.modToolStripMenuItem, this.toolsToolStripMenuItem, this.viewToolStripMenuItem, this.aboutToolStripMenuItem, this.buildDateToolStripMenuItem }); this.menuStrip1.Location = new System.Drawing.Point(0, 0); this.menuStrip1.Name = "menuStrip1"; this.menuStrip1.Padding = new System.Windows.Forms.Padding(5, 2, 0, 2); this.menuStrip1.Size = new System.Drawing.Size(1099, 28); this.menuStrip1.TabIndex = 7; this.menuStrip1.Text = "menuStrip1"; // // fileToolStripMenuItem // this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.newModToolStripMenuItem, this.openModToolStripMenuItem, this.toolStripSeparator6, this.newFileToolStripMenuItem, this.saveToolStripMenuItem, this.saveAllToolStripMenuItem, this.toolStripSeparator3, this.exitToolStripMenuItem }); this.fileToolStripMenuItem.Name = "fileToolStripMenuItem"; this.fileToolStripMenuItem.Size = new System.Drawing.Size(44, 24); this.fileToolStripMenuItem.Text = "File"; // // newModToolStripMenuItem // this.newModToolStripMenuItem.Image = global::W3Edit.Properties.Resources.NewSolutionFolder_6289; this.newModToolStripMenuItem.Name = "newModToolStripMenuItem"; this.newModToolStripMenuItem.Size = new System.Drawing.Size(155, 26); this.newModToolStripMenuItem.Text = "New mod"; this.newModToolStripMenuItem.Click += new System.EventHandler(this.tbtNewMod_Click); // // openModToolStripMenuItem // this.openModToolStripMenuItem.Image = global::W3Edit.Properties.Resources.Open_6529; this.openModToolStripMenuItem.Name = "openModToolStripMenuItem"; this.openModToolStripMenuItem.Size = new System.Drawing.Size(155, 26); this.openModToolStripMenuItem.Text = "Open mod"; this.openModToolStripMenuItem.Click += new System.EventHandler(this.tbtOpenMod_Click); // // toolStripSeparator6 // this.toolStripSeparator6.Name = "toolStripSeparator6"; this.toolStripSeparator6.Size = new System.Drawing.Size(152, 6); // // newFileToolStripMenuItem // this.newFileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.scriptToolStripMenuItem, this.chunkToolStripMenuItem }); this.newFileToolStripMenuItem.Image = global::W3Edit.Properties.Resources.FileGroup_10135_16x; this.newFileToolStripMenuItem.Name = "newFileToolStripMenuItem"; this.newFileToolStripMenuItem.Size = new System.Drawing.Size(155, 26); this.newFileToolStripMenuItem.Text = "New file"; // // scriptToolStripMenuItem // this.scriptToolStripMenuItem.Image = global::W3Edit.Properties.Resources.FileGroup_10135_16x; this.scriptToolStripMenuItem.Name = "scriptToolStripMenuItem"; this.scriptToolStripMenuItem.Size = new System.Drawing.Size(149, 26); this.scriptToolStripMenuItem.Text = "Script"; this.scriptToolStripMenuItem.Click += new System.EventHandler(this.scriptToolStripMenuItem_Click); // // chunkToolStripMenuItem // this.chunkToolStripMenuItem.Image = global::W3Edit.Properties.Resources.AddNodefromFile_354; this.chunkToolStripMenuItem.Name = "chunkToolStripMenuItem"; this.chunkToolStripMenuItem.Size = new System.Drawing.Size(149, 26); this.chunkToolStripMenuItem.Text = "Chunk file"; this.chunkToolStripMenuItem.Click += new System.EventHandler(this.chunkToolStripMenuItem_Click); // // saveToolStripMenuItem // this.saveToolStripMenuItem.Image = global::W3Edit.Properties.Resources.Save_6530; this.saveToolStripMenuItem.Name = "saveToolStripMenuItem"; this.saveToolStripMenuItem.Size = new System.Drawing.Size(155, 26); this.saveToolStripMenuItem.Text = "Save"; this.saveToolStripMenuItem.Click += new System.EventHandler(this.saveToolStripMenuItem_Click); // // saveAllToolStripMenuItem // this.saveAllToolStripMenuItem.Image = global::W3Edit.Properties.Resources.Saveall_6518; this.saveAllToolStripMenuItem.Name = "saveAllToolStripMenuItem"; this.saveAllToolStripMenuItem.Size = new System.Drawing.Size(155, 26); this.saveAllToolStripMenuItem.Text = "Save all"; this.saveAllToolStripMenuItem.Click += new System.EventHandler(this.saveAllToolStripMenuItem_Click); // // toolStripSeparator3 // this.toolStripSeparator3.Name = "toolStripSeparator3"; this.toolStripSeparator3.Size = new System.Drawing.Size(152, 6); // // exitToolStripMenuItem // this.exitToolStripMenuItem.Name = "exitToolStripMenuItem"; this.exitToolStripMenuItem.Size = new System.Drawing.Size(155, 26); this.exitToolStripMenuItem.Text = "Exit"; this.exitToolStripMenuItem.Click += new System.EventHandler(this.exitToolStripMenuItem_Click); // // modToolStripMenuItem // this.modToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.addFileFromBundleToolStripMenuItem, this.addFileToolStripMenuItem, this.addFileFromOtherModToolStripMenuItem, this.createPackedInstallerToolStripMenuItem, this.reloadProjectToolStripMenuItem, this.toolStripSeparator4, this.settingsToolStripMenuItem }); this.modToolStripMenuItem.Name = "modToolStripMenuItem"; this.modToolStripMenuItem.Size = new System.Drawing.Size(52, 24); this.modToolStripMenuItem.Text = "Mod"; // // addFileFromBundleToolStripMenuItem // this.addFileFromBundleToolStripMenuItem.Image = global::W3Edit.Properties.Resources.AddNodefromFile_354; this.addFileFromBundleToolStripMenuItem.Name = "addFileFromBundleToolStripMenuItem"; this.addFileFromBundleToolStripMenuItem.Size = new System.Drawing.Size(247, 26); this.addFileFromBundleToolStripMenuItem.Text = "Add file from Bundle"; this.addFileFromBundleToolStripMenuItem.Click += new System.EventHandler(this.addFileToolStripMenuItem1_Click); // // addFileToolStripMenuItem // this.addFileToolStripMenuItem.Image = global::W3Edit.Properties.Resources.AddNodefromFile_354; this.addFileToolStripMenuItem.Name = "addFileToolStripMenuItem"; this.addFileToolStripMenuItem.Size = new System.Drawing.Size(247, 26); this.addFileToolStripMenuItem.Text = "Add file"; this.addFileToolStripMenuItem.Click += new System.EventHandler(this.addFileToolStripMenuItem_Click_2); // // addFileFromOtherModToolStripMenuItem // this.addFileFromOtherModToolStripMenuItem.Image = global::W3Edit.Properties.Resources.AddNodefromFile_354; this.addFileFromOtherModToolStripMenuItem.Name = "addFileFromOtherModToolStripMenuItem"; this.addFileFromOtherModToolStripMenuItem.Size = new System.Drawing.Size(247, 26); this.addFileFromOtherModToolStripMenuItem.Text = "Add file from other mod"; this.addFileFromOtherModToolStripMenuItem.Click += new System.EventHandler(this.addFileFromOtherModToolStripMenuItem_Click); // // createPackedInstallerToolStripMenuItem // this.createPackedInstallerToolStripMenuItem.Image = global::W3Edit.Properties.Resources.ExpandIcon; this.createPackedInstallerToolStripMenuItem.Name = "createPackedInstallerToolStripMenuItem"; this.createPackedInstallerToolStripMenuItem.Size = new System.Drawing.Size(247, 26); this.createPackedInstallerToolStripMenuItem.Text = "Create Packed Installer"; this.createPackedInstallerToolStripMenuItem.Click += new System.EventHandler(this.createPackedInstallerToolStripMenuItem_Click); // // reloadProjectToolStripMenuItem // this.reloadProjectToolStripMenuItem.Image = global::W3Edit.Properties.Resources.refresh; this.reloadProjectToolStripMenuItem.Name = "reloadProjectToolStripMenuItem"; this.reloadProjectToolStripMenuItem.Size = new System.Drawing.Size(247, 26); this.reloadProjectToolStripMenuItem.Text = "Reload project"; this.reloadProjectToolStripMenuItem.Click += new System.EventHandler(this.reloadProjectToolStripMenuItem_Click); // // toolStripSeparator4 // this.toolStripSeparator4.Name = "toolStripSeparator4"; this.toolStripSeparator4.Size = new System.Drawing.Size(244, 6); // // settingsToolStripMenuItem // this.settingsToolStripMenuItem.Image = global::W3Edit.Properties.Resources.gear_16xLG; this.settingsToolStripMenuItem.Name = "settingsToolStripMenuItem"; this.settingsToolStripMenuItem.Size = new System.Drawing.Size(247, 26); this.settingsToolStripMenuItem.Text = "Settings"; this.settingsToolStripMenuItem.Click += new System.EventHandler(this.modSettingsToolStripMenuItem_Click); // // toolsToolStripMenuItem // this.toolsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.saveExplorerToolStripMenuItem, this.wcclitePatcherToolStripMenuItem, this.toolStripSeparator5, this.optionsToolStripMenuItem }); this.toolsToolStripMenuItem.Name = "toolsToolStripMenuItem"; this.toolsToolStripMenuItem.Size = new System.Drawing.Size(56, 24); this.toolsToolStripMenuItem.Text = "Tools"; // // saveExplorerToolStripMenuItem // this.saveExplorerToolStripMenuItem.Image = global::W3Edit.Properties.Resources.properties_16xLG; this.saveExplorerToolStripMenuItem.Name = "saveExplorerToolStripMenuItem"; this.saveExplorerToolStripMenuItem.Size = new System.Drawing.Size(190, 26); this.saveExplorerToolStripMenuItem.Text = "Save explorer"; this.saveExplorerToolStripMenuItem.Click += new System.EventHandler(this.saveExplorerToolStripMenuItem_Click); // // wcclitePatcherToolStripMenuItem // this.wcclitePatcherToolStripMenuItem.Image = global::W3Edit.Properties.Resources.FileGroup_10135_16x; this.wcclitePatcherToolStripMenuItem.Name = "wcclitePatcherToolStripMenuItem"; this.wcclitePatcherToolStripMenuItem.Size = new System.Drawing.Size(190, 26); this.wcclitePatcherToolStripMenuItem.Text = "wcc_lite patcher"; this.wcclitePatcherToolStripMenuItem.Click += new System.EventHandler(this.wcclitePatcherToolStripMenuItem_Click); // // toolStripSeparator5 // this.toolStripSeparator5.Name = "toolStripSeparator5"; this.toolStripSeparator5.Size = new System.Drawing.Size(187, 6); // // optionsToolStripMenuItem // this.optionsToolStripMenuItem.Image = global::W3Edit.Properties.Resources.gear_16xLG; this.optionsToolStripMenuItem.Name = "optionsToolStripMenuItem"; this.optionsToolStripMenuItem.Size = new System.Drawing.Size(190, 26); this.optionsToolStripMenuItem.Text = "Options"; this.optionsToolStripMenuItem.Click += new System.EventHandler(this.optionsToolStripMenuItem_Click); // // viewToolStripMenuItem // this.viewToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.modExplorerToolStripMenuItem, this.outputToolStripMenuItem }); this.viewToolStripMenuItem.Name = "viewToolStripMenuItem"; this.viewToolStripMenuItem.Size = new System.Drawing.Size(53, 24); this.viewToolStripMenuItem.Text = "View"; // // modExplorerToolStripMenuItem // this.modExplorerToolStripMenuItem.Image = global::W3Edit.Properties.Resources.FileGroup_10135_16x; this.modExplorerToolStripMenuItem.Name = "modExplorerToolStripMenuItem"; this.modExplorerToolStripMenuItem.Size = new System.Drawing.Size(174, 26); this.modExplorerToolStripMenuItem.Text = "Mod explorer"; this.modExplorerToolStripMenuItem.Click += new System.EventHandler(this.modExplorerToolStripMenuItem_Click); // // outputToolStripMenuItem // this.outputToolStripMenuItem.Image = global::W3Edit.Properties.Resources.FileGroup_10135_16x; this.outputToolStripMenuItem.Name = "outputToolStripMenuItem"; this.outputToolStripMenuItem.Size = new System.Drawing.Size(174, 26); this.outputToolStripMenuItem.Text = "Output"; this.outputToolStripMenuItem.Click += new System.EventHandler(this.outputToolStripMenuItem_Click); // // aboutToolStripMenuItem // this.aboutToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.joinOurDiscordToolStripMenuItem, this.tutorialsToolStripMenuItem, this.witcherIIIModdingToolLicenseToolStripMenuItem, this.toolStripSeparator7, this.aboutRedkit2ToolStripMenuItem }); this.aboutToolStripMenuItem.Name = "aboutToolStripMenuItem"; this.aboutToolStripMenuItem.Size = new System.Drawing.Size(53, 24); this.aboutToolStripMenuItem.Text = "Help"; // // joinOurDiscordToolStripMenuItem // this.joinOurDiscordToolStripMenuItem.Image = global::W3Edit.Properties.Resources._2c21aeda16de354ba5334551a883b481; this.joinOurDiscordToolStripMenuItem.Name = "joinOurDiscordToolStripMenuItem"; this.joinOurDiscordToolStripMenuItem.Size = new System.Drawing.Size(301, 26); this.joinOurDiscordToolStripMenuItem.Text = "Join our discord"; this.joinOurDiscordToolStripMenuItem.Click += new System.EventHandler(this.joinOurDiscordToolStripMenuItem_Click_1); // // tutorialsToolStripMenuItem // this.tutorialsToolStripMenuItem.Image = global::W3Edit.Properties.Resources.info_icon_23818; this.tutorialsToolStripMenuItem.Name = "tutorialsToolStripMenuItem"; this.tutorialsToolStripMenuItem.Size = new System.Drawing.Size(301, 26); this.tutorialsToolStripMenuItem.Text = "Tutorials"; this.tutorialsToolStripMenuItem.Click += new System.EventHandler(this.tutorialsToolStripMenuItem_Click); // // witcherIIIModdingToolLicenseToolStripMenuItem // this.witcherIIIModdingToolLicenseToolStripMenuItem.Image = global::W3Edit.Properties.Resources.witcher3_101; this.witcherIIIModdingToolLicenseToolStripMenuItem.Name = "witcherIIIModdingToolLicenseToolStripMenuItem"; this.witcherIIIModdingToolLicenseToolStripMenuItem.Size = new System.Drawing.Size(301, 26); this.witcherIIIModdingToolLicenseToolStripMenuItem.Text = "Witcher III Modding Tool License"; this.witcherIIIModdingToolLicenseToolStripMenuItem.Click += new System.EventHandler(this.witcherIIIModdingToolLicenseToolStripMenuItem_Click); // // toolStripSeparator7 // this.toolStripSeparator7.Name = "toolStripSeparator7"; this.toolStripSeparator7.Size = new System.Drawing.Size(298, 6); // // aboutRedkit2ToolStripMenuItem // this.aboutRedkit2ToolStripMenuItem.Image = global::W3Edit.Properties.Resources.info_icon_23818; this.aboutRedkit2ToolStripMenuItem.Name = "aboutRedkit2ToolStripMenuItem"; this.aboutRedkit2ToolStripMenuItem.Size = new System.Drawing.Size(301, 26); this.aboutRedkit2ToolStripMenuItem.Text = "About Wolven kit"; this.aboutRedkit2ToolStripMenuItem.Click += new System.EventHandler(this.creditsToolStripMenuItem_Click); // // buildDateToolStripMenuItem // this.buildDateToolStripMenuItem.Enabled = false; this.buildDateToolStripMenuItem.Name = "buildDateToolStripMenuItem"; this.buildDateToolStripMenuItem.ShowShortcutKeys = false; this.buildDateToolStripMenuItem.Size = new System.Drawing.Size(89, 24); this.buildDateToolStripMenuItem.Text = "Build date"; // // dockPanel // this.dockPanel.Dock = System.Windows.Forms.DockStyle.Fill; this.dockPanel.Location = new System.Drawing.Point(0, 0); this.dockPanel.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.dockPanel.Name = "dockPanel"; this.dockPanel.ShowDocumentIcon = true; this.dockPanel.Size = new System.Drawing.Size(1099, 514); dockPanelGradient1.EndColor = System.Drawing.SystemColors.ControlLight; dockPanelGradient1.StartColor = System.Drawing.SystemColors.ControlLight; autoHideStripSkin1.DockStripGradient = dockPanelGradient1; tabGradient1.EndColor = System.Drawing.SystemColors.Control; tabGradient1.StartColor = System.Drawing.SystemColors.Control; tabGradient1.TextColor = System.Drawing.SystemColors.ControlDarkDark; autoHideStripSkin1.TabGradient = tabGradient1; autoHideStripSkin1.TextFont = new System.Drawing.Font("Segoe UI", 9F); dockPanelSkin1.AutoHideStripSkin = autoHideStripSkin1; tabGradient2.EndColor = System.Drawing.SystemColors.ControlLightLight; tabGradient2.StartColor = System.Drawing.SystemColors.ControlLightLight; tabGradient2.TextColor = System.Drawing.SystemColors.ControlText; dockPaneStripGradient1.ActiveTabGradient = tabGradient2; dockPanelGradient2.EndColor = System.Drawing.SystemColors.Control; dockPanelGradient2.StartColor = System.Drawing.SystemColors.Control; dockPaneStripGradient1.DockStripGradient = dockPanelGradient2; tabGradient3.EndColor = System.Drawing.SystemColors.ControlLight; tabGradient3.StartColor = System.Drawing.SystemColors.ControlLight; tabGradient3.TextColor = System.Drawing.SystemColors.ControlText; dockPaneStripGradient1.InactiveTabGradient = tabGradient3; dockPaneStripSkin1.DocumentGradient = dockPaneStripGradient1; dockPaneStripSkin1.TextFont = new System.Drawing.Font("Segoe UI", 9F); tabGradient4.EndColor = System.Drawing.SystemColors.ActiveCaption; tabGradient4.LinearGradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; tabGradient4.StartColor = System.Drawing.SystemColors.GradientActiveCaption; tabGradient4.TextColor = System.Drawing.SystemColors.ActiveCaptionText; dockPaneStripToolWindowGradient1.ActiveCaptionGradient = tabGradient4; tabGradient5.EndColor = System.Drawing.SystemColors.Control; tabGradient5.StartColor = System.Drawing.SystemColors.Control; tabGradient5.TextColor = System.Drawing.SystemColors.ControlText; dockPaneStripToolWindowGradient1.ActiveTabGradient = tabGradient5; dockPanelGradient3.EndColor = System.Drawing.SystemColors.ControlLight; dockPanelGradient3.StartColor = System.Drawing.SystemColors.ControlLight; dockPaneStripToolWindowGradient1.DockStripGradient = dockPanelGradient3; tabGradient6.EndColor = System.Drawing.SystemColors.InactiveCaption; tabGradient6.LinearGradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; tabGradient6.StartColor = System.Drawing.SystemColors.GradientInactiveCaption; tabGradient6.TextColor = System.Drawing.SystemColors.InactiveCaptionText; dockPaneStripToolWindowGradient1.InactiveCaptionGradient = tabGradient6; tabGradient7.EndColor = System.Drawing.Color.Transparent; tabGradient7.StartColor = System.Drawing.Color.Transparent; tabGradient7.TextColor = System.Drawing.SystemColors.ControlDarkDark; dockPaneStripToolWindowGradient1.InactiveTabGradient = tabGradient7; dockPaneStripSkin1.ToolWindowGradient = dockPaneStripToolWindowGradient1; dockPanelSkin1.DockPaneStripSkin = dockPaneStripSkin1; this.dockPanel.Skin = dockPanelSkin1; this.dockPanel.TabIndex = 9; this.dockPanel.ActiveDocumentChanged += new System.EventHandler(this.dockPanel_ActiveDocumentChanged); // // launchGameForDebuggingToolStripMenuItem // this.launchGameForDebuggingToolStripMenuItem.Name = "launchGameForDebuggingToolStripMenuItem"; this.launchGameForDebuggingToolStripMenuItem.Size = new System.Drawing.Size(293, 26); this.launchGameForDebuggingToolStripMenuItem.Text = "Launch game for debugging"; this.launchGameForDebuggingToolStripMenuItem.Click += new System.EventHandler(this.launchGameForDebuggingToolStripMenuItem_Click); // // frmMain // this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(1099, 514); this.Controls.Add(this.toolStrip1); this.Controls.Add(this.menuStrip1); this.Controls.Add(this.dockPanel); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.IsMdiContainer = true; this.MainMenuStrip = this.menuStrip1; this.Margin = new System.Windows.Forms.Padding(4); this.MinimumSize = new System.Drawing.Size(773, 477); this.Name = "frmMain"; this.Text = "Wolven kit"; this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.frmMain_FormClosed); this.Load += new System.EventHandler(this.frmMain_Load); this.MdiChildActivate += new System.EventHandler(this.frmMain_MdiChildActivate); this.Shown += new System.EventHandler(this.frmMain_Shown); this.toolStrip1.ResumeLayout(false); this.toolStrip1.PerformLayout(); this.menuStrip1.ResumeLayout(false); this.menuStrip1.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); WeifenLuo.WinFormsUI.Docking.DockPanelSkin dockPanelSkin1 = new WeifenLuo.WinFormsUI.Docking.DockPanelSkin(); WeifenLuo.WinFormsUI.Docking.AutoHideStripSkin autoHideStripSkin1 = new WeifenLuo.WinFormsUI.Docking.AutoHideStripSkin(); WeifenLuo.WinFormsUI.Docking.DockPanelGradient dockPanelGradient1 = new WeifenLuo.WinFormsUI.Docking.DockPanelGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient1 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); WeifenLuo.WinFormsUI.Docking.DockPaneStripSkin dockPaneStripSkin1 = new WeifenLuo.WinFormsUI.Docking.DockPaneStripSkin(); WeifenLuo.WinFormsUI.Docking.DockPaneStripGradient dockPaneStripGradient1 = new WeifenLuo.WinFormsUI.Docking.DockPaneStripGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient2 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); WeifenLuo.WinFormsUI.Docking.DockPanelGradient dockPanelGradient2 = new WeifenLuo.WinFormsUI.Docking.DockPanelGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient3 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); WeifenLuo.WinFormsUI.Docking.DockPaneStripToolWindowGradient dockPaneStripToolWindowGradient1 = new WeifenLuo.WinFormsUI.Docking.DockPaneStripToolWindowGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient4 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient5 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); WeifenLuo.WinFormsUI.Docking.DockPanelGradient dockPanelGradient3 = new WeifenLuo.WinFormsUI.Docking.DockPanelGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient6 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient7 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmCR2WDocument)); this.imageList1 = new System.Windows.Forms.ImageList(this.components); this.dockPanel = new WeifenLuo.WinFormsUI.Docking.DockPanel(); this.vS2012LightTheme1 = new WeifenLuo.WinFormsUI.Docking.VS2012LightTheme(); this.SuspendLayout(); // // imageList1 // this.imageList1.ColorDepth = System.Windows.Forms.ColorDepth.Depth8Bit; this.imageList1.ImageSize = new System.Drawing.Size(16, 16); this.imageList1.TransparentColor = System.Drawing.Color.Transparent; // // dockPanel // this.dockPanel.Dock = System.Windows.Forms.DockStyle.Fill; this.dockPanel.DockBackColor = System.Drawing.SystemColors.AppWorkspace; this.dockPanel.DockBottomPortion = 150D; this.dockPanel.DockLeftPortion = 200D; this.dockPanel.DockRightPortion = 200D; this.dockPanel.DockTopPortion = 150D; this.dockPanel.DocumentStyle = WeifenLuo.WinFormsUI.Docking.DocumentStyle.DockingWindow; this.dockPanel.Font = new System.Drawing.Font("Tahoma", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.World, ((byte)(0))); this.dockPanel.Location = new System.Drawing.Point(0, 0); this.dockPanel.Name = "dockPanel"; this.dockPanel.RightToLeftLayout = true; this.dockPanel.Size = new System.Drawing.Size(588, 395); dockPanelGradient1.EndColor = System.Drawing.SystemColors.ControlLight; dockPanelGradient1.StartColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(122)))), ((int)(((byte)(204))))); autoHideStripSkin1.DockStripGradient = dockPanelGradient1; tabGradient1.EndColor = System.Drawing.SystemColors.Control; tabGradient1.StartColor = System.Drawing.SystemColors.Control; tabGradient1.TextColor = System.Drawing.SystemColors.ControlDarkDark; autoHideStripSkin1.TabGradient = tabGradient1; autoHideStripSkin1.TextFont = new System.Drawing.Font("Segoe UI", 9F); dockPanelSkin1.AutoHideStripSkin = autoHideStripSkin1; tabGradient2.EndColor = System.Drawing.Color.FromArgb(((int)(((byte)(204)))), ((int)(((byte)(206)))), ((int)(((byte)(219))))); tabGradient2.StartColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(122)))), ((int)(((byte)(204))))); tabGradient2.TextColor = System.Drawing.Color.White; dockPaneStripGradient1.ActiveTabGradient = tabGradient2; dockPanelGradient2.EndColor = System.Drawing.SystemColors.Control; dockPanelGradient2.StartColor = System.Drawing.SystemColors.Control; dockPaneStripGradient1.DockStripGradient = dockPanelGradient2; tabGradient3.EndColor = System.Drawing.Color.FromArgb(((int)(((byte)(28)))), ((int)(((byte)(151)))), ((int)(((byte)(234))))); tabGradient3.StartColor = System.Drawing.SystemColors.Control; tabGradient3.TextColor = System.Drawing.Color.Black; dockPaneStripGradient1.InactiveTabGradient = tabGradient3; dockPaneStripSkin1.DocumentGradient = dockPaneStripGradient1; dockPaneStripSkin1.TextFont = new System.Drawing.Font("Segoe UI", 9F); tabGradient4.EndColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(170)))), ((int)(((byte)(220))))); tabGradient4.LinearGradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; tabGradient4.StartColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(122)))), ((int)(((byte)(204))))); tabGradient4.TextColor = System.Drawing.Color.White; dockPaneStripToolWindowGradient1.ActiveCaptionGradient = tabGradient4; tabGradient5.EndColor = System.Drawing.SystemColors.ControlLightLight; tabGradient5.StartColor = System.Drawing.SystemColors.ControlLightLight; tabGradient5.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(122)))), ((int)(((byte)(204))))); dockPaneStripToolWindowGradient1.ActiveTabGradient = tabGradient5; dockPanelGradient3.EndColor = System.Drawing.SystemColors.Control; dockPanelGradient3.StartColor = System.Drawing.SystemColors.Control; dockPaneStripToolWindowGradient1.DockStripGradient = dockPanelGradient3; tabGradient6.EndColor = System.Drawing.SystemColors.ControlDark; tabGradient6.LinearGradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; tabGradient6.StartColor = System.Drawing.SystemColors.Control; tabGradient6.TextColor = System.Drawing.SystemColors.GrayText; dockPaneStripToolWindowGradient1.InactiveCaptionGradient = tabGradient6; tabGradient7.EndColor = System.Drawing.SystemColors.Control; tabGradient7.StartColor = System.Drawing.SystemColors.Control; tabGradient7.TextColor = System.Drawing.SystemColors.GrayText; dockPaneStripToolWindowGradient1.InactiveTabGradient = tabGradient7; dockPaneStripSkin1.ToolWindowGradient = dockPaneStripToolWindowGradient1; dockPanelSkin1.DockPaneStripSkin = dockPaneStripSkin1; this.dockPanel.Theme = vS2012LightTheme1; this.dockPanel.TabIndex = 1; this.dockPanel.Theme = this.vS2012LightTheme1; // // frmCR2WDocument // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoScroll = true; this.ClientSize = new System.Drawing.Size(588, 395); this.Controls.Add(this.dockPanel); this.DockAreas = ((WeifenLuo.WinFormsUI.Docking.DockAreas)((WeifenLuo.WinFormsUI.Docking.DockAreas.Float | WeifenLuo.WinFormsUI.Docking.DockAreas.Document))); this.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Name = "frmCR2WDocument"; this.Text = "frmCR2WDocument"; this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.frmCR2WDocument_FormClosed); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { WeifenLuo.WinFormsUI.Docking.DockPanelSkin dockPanelSkin1 = new WeifenLuo.WinFormsUI.Docking.DockPanelSkin(); WeifenLuo.WinFormsUI.Docking.AutoHideStripSkin autoHideStripSkin1 = new WeifenLuo.WinFormsUI.Docking.AutoHideStripSkin(); WeifenLuo.WinFormsUI.Docking.DockPanelGradient dockPanelGradient1 = new WeifenLuo.WinFormsUI.Docking.DockPanelGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient1 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); WeifenLuo.WinFormsUI.Docking.DockPaneStripSkin dockPaneStripSkin1 = new WeifenLuo.WinFormsUI.Docking.DockPaneStripSkin(); WeifenLuo.WinFormsUI.Docking.DockPaneStripGradient dockPaneStripGradient1 = new WeifenLuo.WinFormsUI.Docking.DockPaneStripGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient2 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); WeifenLuo.WinFormsUI.Docking.DockPanelGradient dockPanelGradient2 = new WeifenLuo.WinFormsUI.Docking.DockPanelGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient3 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); WeifenLuo.WinFormsUI.Docking.DockPaneStripToolWindowGradient dockPaneStripToolWindowGradient1 = new WeifenLuo.WinFormsUI.Docking.DockPaneStripToolWindowGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient4 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient5 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); WeifenLuo.WinFormsUI.Docking.DockPanelGradient dockPanelGradient3 = new WeifenLuo.WinFormsUI.Docking.DockPanelGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient6 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient7 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); this.dockPanel1 = new WeifenLuo.WinFormsUI.Docking.DockPanel(); this.SuspendLayout(); // // dockPanel1 // this.dockPanel1.ActiveAutoHideContent = null; this.dockPanel1.Dock = System.Windows.Forms.DockStyle.Fill; this.dockPanel1.DockBackColor = System.Drawing.SystemColors.Control; this.dockPanel1.Location = new System.Drawing.Point(0, 0); this.dockPanel1.Name = "dockPanel1"; this.dockPanel1.Size = new System.Drawing.Size(861, 473); dockPanelGradient1.EndColor = System.Drawing.SystemColors.ControlLight; dockPanelGradient1.StartColor = System.Drawing.SystemColors.ControlLight; autoHideStripSkin1.DockStripGradient = dockPanelGradient1; tabGradient1.EndColor = System.Drawing.SystemColors.Control; tabGradient1.StartColor = System.Drawing.SystemColors.Control; tabGradient1.TextColor = System.Drawing.SystemColors.ControlDarkDark; autoHideStripSkin1.TabGradient = tabGradient1; autoHideStripSkin1.TextFont = new System.Drawing.Font("微软雅黑", 9F); dockPanelSkin1.AutoHideStripSkin = autoHideStripSkin1; tabGradient2.EndColor = System.Drawing.SystemColors.ControlLightLight; tabGradient2.StartColor = System.Drawing.SystemColors.ControlLightLight; tabGradient2.TextColor = System.Drawing.SystemColors.ControlText; dockPaneStripGradient1.ActiveTabGradient = tabGradient2; dockPanelGradient2.EndColor = System.Drawing.SystemColors.Control; dockPanelGradient2.StartColor = System.Drawing.SystemColors.Control; dockPaneStripGradient1.DockStripGradient = dockPanelGradient2; tabGradient3.EndColor = System.Drawing.SystemColors.ControlLight; tabGradient3.StartColor = System.Drawing.SystemColors.ControlLight; tabGradient3.TextColor = System.Drawing.SystemColors.ControlText; dockPaneStripGradient1.InactiveTabGradient = tabGradient3; dockPaneStripSkin1.DocumentGradient = dockPaneStripGradient1; dockPaneStripSkin1.TextFont = new System.Drawing.Font("微软雅黑", 9F); tabGradient4.EndColor = System.Drawing.SystemColors.ActiveCaption; tabGradient4.LinearGradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; tabGradient4.StartColor = System.Drawing.SystemColors.GradientActiveCaption; tabGradient4.TextColor = System.Drawing.SystemColors.ActiveCaptionText; dockPaneStripToolWindowGradient1.ActiveCaptionGradient = tabGradient4; tabGradient5.EndColor = System.Drawing.SystemColors.Control; tabGradient5.StartColor = System.Drawing.SystemColors.Control; tabGradient5.TextColor = System.Drawing.SystemColors.ControlText; dockPaneStripToolWindowGradient1.ActiveTabGradient = tabGradient5; dockPanelGradient3.EndColor = System.Drawing.SystemColors.ControlLight; dockPanelGradient3.StartColor = System.Drawing.SystemColors.ControlLight; dockPaneStripToolWindowGradient1.DockStripGradient = dockPanelGradient3; tabGradient6.EndColor = System.Drawing.SystemColors.InactiveCaption; tabGradient6.LinearGradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; tabGradient6.StartColor = System.Drawing.SystemColors.GradientInactiveCaption; tabGradient6.TextColor = System.Drawing.SystemColors.InactiveCaptionText; dockPaneStripToolWindowGradient1.InactiveCaptionGradient = tabGradient6; tabGradient7.EndColor = System.Drawing.Color.Transparent; tabGradient7.StartColor = System.Drawing.Color.Transparent; tabGradient7.TextColor = System.Drawing.SystemColors.ControlDarkDark; dockPaneStripToolWindowGradient1.InactiveTabGradient = tabGradient7; dockPaneStripSkin1.ToolWindowGradient = dockPaneStripToolWindowGradient1; dockPanelSkin1.DockPaneStripSkin = dockPaneStripSkin1; this.dockPanel1.Skin = dockPanelSkin1; this.dockPanel1.TabIndex = 0; // // FormMain // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(861, 473); this.Controls.Add(this.dockPanel1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; this.IsMdiContainer = true; this.Name = "FormMain"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "主窗体"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Load += new System.EventHandler(this.FormMain_Load); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); WeifenLuo.WinFormsUI.Docking.DockPanelSkin dockPanelSkin1 = new WeifenLuo.WinFormsUI.Docking.DockPanelSkin(); WeifenLuo.WinFormsUI.Docking.AutoHideStripSkin autoHideStripSkin1 = new WeifenLuo.WinFormsUI.Docking.AutoHideStripSkin(); WeifenLuo.WinFormsUI.Docking.DockPanelGradient dockPanelGradient1 = new WeifenLuo.WinFormsUI.Docking.DockPanelGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient1 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); WeifenLuo.WinFormsUI.Docking.DockPaneStripSkin dockPaneStripSkin1 = new WeifenLuo.WinFormsUI.Docking.DockPaneStripSkin(); WeifenLuo.WinFormsUI.Docking.DockPaneStripGradient dockPaneStripGradient1 = new WeifenLuo.WinFormsUI.Docking.DockPaneStripGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient2 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); WeifenLuo.WinFormsUI.Docking.DockPanelGradient dockPanelGradient2 = new WeifenLuo.WinFormsUI.Docking.DockPanelGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient3 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); WeifenLuo.WinFormsUI.Docking.DockPaneStripToolWindowGradient dockPaneStripToolWindowGradient1 = new WeifenLuo.WinFormsUI.Docking.DockPaneStripToolWindowGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient4 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient5 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); WeifenLuo.WinFormsUI.Docking.DockPanelGradient dockPanelGradient3 = new WeifenLuo.WinFormsUI.Docking.DockPanelGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient6 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient7 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainFormMdi)); this.dockPanel = new WeifenLuo.WinFormsUI.Docking.DockPanel(); this.ssMain = new System.Windows.Forms.StatusStrip(); this.tsslConnectionState = new System.Windows.Forms.ToolStripStatusLabel(); this.tsslDataSource = new System.Windows.Forms.ToolStripStatusLabel(); this.tsMain = new System.Windows.Forms.ToolStrip(); this.tsbConnectToServer = new System.Windows.Forms.ToolStripButton(); this.tssbQuickDependencyCheck = new System.Windows.Forms.ToolStripSplitButton(); this.startSearchWizardToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); this.toolStripButtonWebsite = new System.Windows.Forms.ToolStripButton(); this.msMain = new System.Windows.Forms.MenuStrip(); this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.connectToServerToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.newToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.dependencyCheckWizardToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripMenuItem3 = new System.Windows.Forms.ToolStripSeparator(); this.exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.viewToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.childrenSummaryToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.databasesToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); this.dataPreviewToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.objectDefinitionToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.outputToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.propertiesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.cacheToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.topObjectsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.tOOLSToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.optionsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.helpToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.aboutToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.visitProjectWebsiteToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.mySqlServer1 = new AdvancedSqlServerDependencies.SqlServer.MySqlServer(this.components); this.ssMain.SuspendLayout(); this.tsMain.SuspendLayout(); this.msMain.SuspendLayout(); this.SuspendLayout(); // // dockPanel // this.dockPanel.Dock = System.Windows.Forms.DockStyle.Fill; this.dockPanel.DocumentStyle = WeifenLuo.WinFormsUI.Docking.DocumentStyle.DockingWindow; this.dockPanel.Location = new System.Drawing.Point(0, 49); this.dockPanel.Name = "dockPanel"; this.dockPanel.Size = new System.Drawing.Size(784, 488); dockPanelGradient1.EndColor = System.Drawing.SystemColors.ControlLight; dockPanelGradient1.StartColor = System.Drawing.SystemColors.ControlLight; autoHideStripSkin1.DockStripGradient = dockPanelGradient1; tabGradient1.EndColor = System.Drawing.SystemColors.Control; tabGradient1.StartColor = System.Drawing.SystemColors.Control; tabGradient1.TextColor = System.Drawing.SystemColors.ControlDarkDark; autoHideStripSkin1.TabGradient = tabGradient1; autoHideStripSkin1.TextFont = new System.Drawing.Font("Segoe UI", 9F); dockPanelSkin1.AutoHideStripSkin = autoHideStripSkin1; tabGradient2.EndColor = System.Drawing.SystemColors.ControlLightLight; tabGradient2.StartColor = System.Drawing.SystemColors.ControlLightLight; tabGradient2.TextColor = System.Drawing.SystemColors.ControlText; dockPaneStripGradient1.ActiveTabGradient = tabGradient2; dockPanelGradient2.EndColor = System.Drawing.SystemColors.Control; dockPanelGradient2.StartColor = System.Drawing.SystemColors.Control; dockPaneStripGradient1.DockStripGradient = dockPanelGradient2; tabGradient3.EndColor = System.Drawing.SystemColors.ControlLight; tabGradient3.StartColor = System.Drawing.SystemColors.ControlLight; tabGradient3.TextColor = System.Drawing.SystemColors.ControlText; dockPaneStripGradient1.InactiveTabGradient = tabGradient3; dockPaneStripSkin1.DocumentGradient = dockPaneStripGradient1; dockPaneStripSkin1.TextFont = new System.Drawing.Font("Segoe UI", 9F); tabGradient4.EndColor = System.Drawing.SystemColors.ActiveCaption; tabGradient4.LinearGradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; tabGradient4.StartColor = System.Drawing.SystemColors.GradientActiveCaption; tabGradient4.TextColor = System.Drawing.SystemColors.ActiveCaptionText; dockPaneStripToolWindowGradient1.ActiveCaptionGradient = tabGradient4; tabGradient5.EndColor = System.Drawing.SystemColors.Control; tabGradient5.StartColor = System.Drawing.SystemColors.Control; tabGradient5.TextColor = System.Drawing.SystemColors.ControlText; dockPaneStripToolWindowGradient1.ActiveTabGradient = tabGradient5; dockPanelGradient3.EndColor = System.Drawing.SystemColors.ControlLight; dockPanelGradient3.StartColor = System.Drawing.SystemColors.ControlLight; dockPaneStripToolWindowGradient1.DockStripGradient = dockPanelGradient3; tabGradient6.EndColor = System.Drawing.SystemColors.InactiveCaption; tabGradient6.LinearGradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; tabGradient6.StartColor = System.Drawing.SystemColors.GradientInactiveCaption; tabGradient6.TextColor = System.Drawing.SystemColors.InactiveCaptionText; dockPaneStripToolWindowGradient1.InactiveCaptionGradient = tabGradient6; tabGradient7.EndColor = System.Drawing.Color.Transparent; tabGradient7.StartColor = System.Drawing.Color.Transparent; tabGradient7.TextColor = System.Drawing.SystemColors.ControlDarkDark; dockPaneStripToolWindowGradient1.InactiveTabGradient = tabGradient7; dockPaneStripSkin1.ToolWindowGradient = dockPaneStripToolWindowGradient1; dockPanelSkin1.DockPaneStripSkin = dockPaneStripSkin1; this.dockPanel.Skin = dockPanelSkin1; this.dockPanel.TabIndex = 2; // // ssMain // this.ssMain.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.tsslConnectionState, this.tsslDataSource }); this.ssMain.Location = new System.Drawing.Point(0, 537); this.ssMain.Name = "ssMain"; this.ssMain.ShowItemToolTips = true; this.ssMain.Size = new System.Drawing.Size(784, 25); this.ssMain.TabIndex = 0; this.ssMain.Text = "statusStrip1"; // // tsslConnectionState // this.tsslConnectionState.Image = global::AdvancedSqlServerDependencies.Properties.Resources.DataConnection_NotConnected_1059; this.tsslConnectionState.Name = "tsslConnectionState"; this.tsslConnectionState.Size = new System.Drawing.Size(16, 20); this.tsslConnectionState.ToolTipText = "Connection state"; // // tsslDataSource // this.tsslDataSource.BorderSides = System.Windows.Forms.ToolStripStatusLabelBorderSides.Right; this.tsslDataSource.Image = global::AdvancedSqlServerDependencies.Properties.Resources.DatabaseServer; this.tsslDataSource.ImageTransparentColor = System.Drawing.Color.Fuchsia; this.tsslDataSource.Name = "tsslDataSource"; this.tsslDataSource.Size = new System.Drawing.Size(122, 20); this.tsslDataSource.Text = "Server unavailable"; this.tsslDataSource.ToolTipText = "Database server name"; // // tsMain // this.tsMain.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.tsbConnectToServer, this.tssbQuickDependencyCheck, this.toolStripSeparator2, this.toolStripButtonWebsite }); this.tsMain.Location = new System.Drawing.Point(0, 24); this.tsMain.Name = "tsMain"; this.tsMain.Size = new System.Drawing.Size(784, 25); this.tsMain.TabIndex = 1; this.tsMain.Text = "toolStrip1"; // // tsbConnectToServer // this.tsbConnectToServer.Image = global::AdvancedSqlServerDependencies.Properties.Resources.AddConnection_477_32; this.tsbConnectToServer.ImageTransparentColor = System.Drawing.Color.White; this.tsbConnectToServer.Name = "tsbConnectToServer"; this.tsbConnectToServer.Size = new System.Drawing.Size(72, 22); this.tsbConnectToServer.Text = "Connect"; this.tsbConnectToServer.Click += new System.EventHandler(this.connect); // // tssbQuickDependencyCheck // this.tssbQuickDependencyCheck.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.startSearchWizardToolStripMenuItem }); this.tssbQuickDependencyCheck.Image = global::AdvancedSqlServerDependencies.Properties.Resources.Relation_8467_24; this.tssbQuickDependencyCheck.ImageTransparentColor = System.Drawing.Color.Magenta; this.tssbQuickDependencyCheck.Name = "tssbQuickDependencyCheck"; this.tssbQuickDependencyCheck.Size = new System.Drawing.Size(175, 22); this.tssbQuickDependencyCheck.Text = "Quick Dependency Check"; this.tssbQuickDependencyCheck.ButtonClick += new System.EventHandler(this.newDependencyCheck); // // startSearchWizardToolStripMenuItem // this.startSearchWizardToolStripMenuItem.Image = global::AdvancedSqlServerDependencies.Properties.Resources.wizard; this.startSearchWizardToolStripMenuItem.Name = "startSearchWizardToolStripMenuItem"; this.startSearchWizardToolStripMenuItem.Size = new System.Drawing.Size(215, 22); this.startSearchWizardToolStripMenuItem.Text = "Dependency Check Wizard"; this.startSearchWizardToolStripMenuItem.Click += new System.EventHandler(this.newDependencyCheck); // // toolStripSeparator2 // this.toolStripSeparator2.Name = "toolStripSeparator2"; this.toolStripSeparator2.Size = new System.Drawing.Size(6, 25); // // toolStripButtonWebsite // this.toolStripButtonWebsite.Image = global::AdvancedSqlServerDependencies.Properties.Resources.Web; this.toolStripButtonWebsite.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolStripButtonWebsite.Name = "toolStripButtonWebsite"; this.toolStripButtonWebsite.Size = new System.Drawing.Size(69, 22); this.toolStripButtonWebsite.Text = "Website"; this.toolStripButtonWebsite.Click += new System.EventHandler(this.visitProjectWebsiteToolStripMenuItem_Click); // // msMain // this.msMain.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.fileToolStripMenuItem, this.viewToolStripMenuItem, this.tOOLSToolStripMenuItem, this.helpToolStripMenuItem }); this.msMain.Location = new System.Drawing.Point(0, 0); this.msMain.Name = "msMain"; this.msMain.Size = new System.Drawing.Size(784, 24); this.msMain.TabIndex = 13; this.msMain.Text = "menuStrip1"; // // fileToolStripMenuItem // this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.connectToServerToolStripMenuItem, this.newToolStripMenuItem, this.dependencyCheckWizardToolStripMenuItem, this.toolStripMenuItem3, this.exitToolStripMenuItem }); this.fileToolStripMenuItem.Name = "fileToolStripMenuItem"; this.fileToolStripMenuItem.Size = new System.Drawing.Size(40, 20); this.fileToolStripMenuItem.Text = "&FILE"; // // connectToServerToolStripMenuItem // this.connectToServerToolStripMenuItem.Image = global::AdvancedSqlServerDependencies.Properties.Resources.AddConnection_477_32; this.connectToServerToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.White; this.connectToServerToolStripMenuItem.Name = "connectToServerToolStripMenuItem"; this.connectToServerToolStripMenuItem.Size = new System.Drawing.Size(260, 22); this.connectToServerToolStripMenuItem.Text = "&Connect"; this.connectToServerToolStripMenuItem.Click += new System.EventHandler(this.connect); // // newToolStripMenuItem // this.newToolStripMenuItem.Image = global::AdvancedSqlServerDependencies.Properties.Resources.Relation_8467_24; this.newToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.White; this.newToolStripMenuItem.Name = "newToolStripMenuItem"; this.newToolStripMenuItem.ShortcutKeyDisplayString = ""; this.newToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Q))); this.newToolStripMenuItem.Size = new System.Drawing.Size(260, 22); this.newToolStripMenuItem.Text = "&Quick Dependency Check"; this.newToolStripMenuItem.Click += new System.EventHandler(this.newDependencyCheck); // // dependencyCheckWizardToolStripMenuItem // this.dependencyCheckWizardToolStripMenuItem.Image = global::AdvancedSqlServerDependencies.Properties.Resources.wizard; this.dependencyCheckWizardToolStripMenuItem.Name = "dependencyCheckWizardToolStripMenuItem"; this.dependencyCheckWizardToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.W))); this.dependencyCheckWizardToolStripMenuItem.Size = new System.Drawing.Size(260, 22); this.dependencyCheckWizardToolStripMenuItem.Text = "Dependency Check &Wizard"; this.dependencyCheckWizardToolStripMenuItem.Click += new System.EventHandler(this.newDependencyCheck); // // toolStripMenuItem3 // this.toolStripMenuItem3.Name = "toolStripMenuItem3"; this.toolStripMenuItem3.Size = new System.Drawing.Size(257, 6); // // exitToolStripMenuItem // this.exitToolStripMenuItem.Name = "exitToolStripMenuItem"; this.exitToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Alt | System.Windows.Forms.Keys.F4))); this.exitToolStripMenuItem.Size = new System.Drawing.Size(260, 22); this.exitToolStripMenuItem.Text = "E&xit"; this.exitToolStripMenuItem.Click += new System.EventHandler(this.exitToolStripMenuItem_Click); // // viewToolStripMenuItem // this.viewToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.childrenSummaryToolStripMenuItem, this.databasesToolStripMenuItem1, this.dataPreviewToolStripMenuItem, this.objectDefinitionToolStripMenuItem, this.outputToolStripMenuItem, this.propertiesToolStripMenuItem, this.cacheToolStripMenuItem, this.topObjectsToolStripMenuItem }); this.viewToolStripMenuItem.Name = "viewToolStripMenuItem"; this.viewToolStripMenuItem.Size = new System.Drawing.Size(46, 20); this.viewToolStripMenuItem.Text = "&VIEW"; // // childrenSummaryToolStripMenuItem // this.childrenSummaryToolStripMenuItem.Image = global::AdvancedSqlServerDependencies.Properties.Resources.stock_sum1; this.childrenSummaryToolStripMenuItem.Name = "childrenSummaryToolStripMenuItem"; this.childrenSummaryToolStripMenuItem.Size = new System.Drawing.Size(173, 22); this.childrenSummaryToolStripMenuItem.Text = "Children &Summary"; this.childrenSummaryToolStripMenuItem.Click += new System.EventHandler(this.childrenSummaryToolStripMenuItem_Click); // // databasesToolStripMenuItem1 // this.databasesToolStripMenuItem1.Image = global::AdvancedSqlServerDependencies.Properties.Resources.database; this.databasesToolStripMenuItem1.ImageTransparentColor = System.Drawing.Color.Magenta; this.databasesToolStripMenuItem1.Name = "databasesToolStripMenuItem1"; this.databasesToolStripMenuItem1.Size = new System.Drawing.Size(173, 22); this.databasesToolStripMenuItem1.Text = "&Databases"; this.databasesToolStripMenuItem1.Click += new System.EventHandler(this.databasesToolStripMenuItem1_Click); // // dataPreviewToolStripMenuItem // this.dataPreviewToolStripMenuItem.Image = global::AdvancedSqlServerDependencies.Properties.Resources.search2; this.dataPreviewToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Magenta; this.dataPreviewToolStripMenuItem.Name = "dataPreviewToolStripMenuItem"; this.dataPreviewToolStripMenuItem.Size = new System.Drawing.Size(173, 22); this.dataPreviewToolStripMenuItem.Text = "&Data Preview"; this.dataPreviewToolStripMenuItem.Click += new System.EventHandler(this.dataPreviewToolStripMenuItem_Click); // // objectDefinitionToolStripMenuItem // this.objectDefinitionToolStripMenuItem.Image = global::AdvancedSqlServerDependencies.Properties.Resources.script; this.objectDefinitionToolStripMenuItem.Name = "objectDefinitionToolStripMenuItem"; this.objectDefinitionToolStripMenuItem.Size = new System.Drawing.Size(173, 22); this.objectDefinitionToolStripMenuItem.Text = "Object De&finition"; this.objectDefinitionToolStripMenuItem.Click += new System.EventHandler(this.objectDefinitionToolStripMenuItem_Click); // // outputToolStripMenuItem // this.outputToolStripMenuItem.Image = global::AdvancedSqlServerDependencies.Properties.Resources.sign_out; this.outputToolStripMenuItem.Name = "outputToolStripMenuItem"; this.outputToolStripMenuItem.Size = new System.Drawing.Size(173, 22); this.outputToolStripMenuItem.Text = "&Output"; this.outputToolStripMenuItem.Click += new System.EventHandler(this.outputToolStripMenuItem_Click); // // propertiesToolStripMenuItem // this.propertiesToolStripMenuItem.Image = global::AdvancedSqlServerDependencies.Properties.Resources.property1; this.propertiesToolStripMenuItem.Name = "propertiesToolStripMenuItem"; this.propertiesToolStripMenuItem.Size = new System.Drawing.Size(173, 22); this.propertiesToolStripMenuItem.Text = "&Properties"; this.propertiesToolStripMenuItem.Click += new System.EventHandler(this.propertiesToolStripMenuItem_Click); // // cacheToolStripMenuItem // this.cacheToolStripMenuItem.Image = global::AdvancedSqlServerDependencies.Properties.Resources.ram_or_hardware1; this.cacheToolStripMenuItem.Name = "cacheToolStripMenuItem"; this.cacheToolStripMenuItem.Size = new System.Drawing.Size(173, 22); this.cacheToolStripMenuItem.Text = "Cache"; this.cacheToolStripMenuItem.Click += new System.EventHandler(this.cacheToolStripMenuItem_Click); // // topObjectsToolStripMenuItem // this.topObjectsToolStripMenuItem.Image = global::AdvancedSqlServerDependencies.Properties.Resources.knewstuff; this.topObjectsToolStripMenuItem.Name = "topObjectsToolStripMenuItem"; this.topObjectsToolStripMenuItem.Size = new System.Drawing.Size(173, 22); this.topObjectsToolStripMenuItem.Text = "&Top Objects"; // // tOOLSToolStripMenuItem // this.tOOLSToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.optionsToolStripMenuItem }); this.tOOLSToolStripMenuItem.Name = "tOOLSToolStripMenuItem"; this.tOOLSToolStripMenuItem.Size = new System.Drawing.Size(56, 20); this.tOOLSToolStripMenuItem.Text = "&TOOLS"; // // optionsToolStripMenuItem // this.optionsToolStripMenuItem.Name = "optionsToolStripMenuItem"; this.optionsToolStripMenuItem.Size = new System.Drawing.Size(116, 22); this.optionsToolStripMenuItem.Text = "&Options"; this.optionsToolStripMenuItem.Click += new System.EventHandler(this.optionsToolStripMenuItem_Click); // // helpToolStripMenuItem // this.helpToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.aboutToolStripMenuItem, this.visitProjectWebsiteToolStripMenuItem }); this.helpToolStripMenuItem.Name = "helpToolStripMenuItem"; this.helpToolStripMenuItem.Size = new System.Drawing.Size(47, 20); this.helpToolStripMenuItem.Text = "&HELP"; // // aboutToolStripMenuItem // this.aboutToolStripMenuItem.Name = "aboutToolStripMenuItem"; this.aboutToolStripMenuItem.Size = new System.Drawing.Size(181, 22); this.aboutToolStripMenuItem.Text = "&About"; this.aboutToolStripMenuItem.Click += new System.EventHandler(this.aboutToolStripMenuItem_Click); // // visitProjectWebsiteToolStripMenuItem // this.visitProjectWebsiteToolStripMenuItem.Image = global::AdvancedSqlServerDependencies.Properties.Resources.Web; this.visitProjectWebsiteToolStripMenuItem.Name = "visitProjectWebsiteToolStripMenuItem"; this.visitProjectWebsiteToolStripMenuItem.Size = new System.Drawing.Size(181, 22); this.visitProjectWebsiteToolStripMenuItem.Text = "Visit Project Website"; this.visitProjectWebsiteToolStripMenuItem.Click += new System.EventHandler(this.visitProjectWebsiteToolStripMenuItem_Click); // // mySqlServer1 // this.mySqlServer1.OnMainConnectionChangedEvent += new AdvancedSqlServerDependencies.SqlServer.MySqlServer.MainConnectionChangedEventHandler(this.mySqlServer1_OnMainConnectionChangedEvent); this.mySqlServer1.OnDataChanged += new AdvancedSqlServerDependencies.SqlServer.MySqlServer.DataChangedEventHandler(this.mySqlServer1_OnDataChanged); this.mySqlServer1.OnCheckedDatabasesChanged += new AdvancedSqlServerDependencies.SqlServer.MySqlServer.CheckedDatabasesChangedEventHandler(this.mySqlServer1_OnCheckedDatabasesChanged); // // MainFormMdi // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(784, 562); this.Controls.Add(this.dockPanel); this.Controls.Add(this.tsMain); this.Controls.Add(this.ssMain); this.Controls.Add(this.msMain); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.IsMdiContainer = true; this.Name = "MainFormMdi"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Advanced SQL Server Dependencies"; this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.MainForm_FormClosing); this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.MainFormMdi_FormClosed); this.Load += new System.EventHandler(this.MainForm_Load); this.Resize += new System.EventHandler(this.MainFormMdi_Resize); this.ssMain.ResumeLayout(false); this.ssMain.PerformLayout(); this.tsMain.ResumeLayout(false); this.tsMain.PerformLayout(); this.msMain.ResumeLayout(false); this.msMain.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); }
public static DockPanelSkin CreateVisualStudio2012Light() { var dot = Color.FromArgb(80, 170, 220); var skin = new DockPanelSkin(); if (Type.GetType("Mono.Runtime") == null) { skin.AutoHideStripSkin.DockStripGradient.StartColor = SystemColors.ActiveCaption; skin.AutoHideStripSkin.DockStripGradient.EndColor = SystemColors.ActiveCaption; skin.AutoHideStripSkin.TabGradient.StartColor = SystemColors.ActiveCaption; skin.AutoHideStripSkin.TabGradient.EndColor = SystemColors.ActiveCaption; skin.AutoHideStripSkin.TabGradient.TextColor = SystemColors.ActiveCaptionText; skin.AutoHideStripSkin.DockStripBackground.StartColor = SystemColors.ActiveCaption; skin.AutoHideStripSkin.DockStripBackground.EndColor = SystemColors.ActiveCaption; } else { skin.AutoHideStripSkin.DockStripGradient.StartColor = SystemColors.InactiveCaption; skin.AutoHideStripSkin.DockStripGradient.EndColor = SystemColors.InactiveCaption; skin.AutoHideStripSkin.TabGradient.StartColor = SystemColors.InactiveCaption; skin.AutoHideStripSkin.TabGradient.EndColor = SystemColors.InactiveCaption; skin.AutoHideStripSkin.TabGradient.TextColor = SystemColors.InactiveCaptionText; skin.AutoHideStripSkin.DockStripBackground.StartColor = SystemColors.InactiveCaption; skin.AutoHideStripSkin.DockStripBackground.EndColor = SystemColors.InactiveCaption; } skin.DockPaneStripSkin.DocumentGradient.DockStripGradient.StartColor = SystemColors.Control; skin.DockPaneStripSkin.DocumentGradient.DockStripGradient.EndColor = SystemColors.Control; skin.DockPaneStripSkin.DocumentGradient.ActiveTabGradient.StartColor = SystemColors.ActiveCaption; skin.DockPaneStripSkin.DocumentGradient.ActiveTabGradient.EndColor = SystemColors.ActiveCaption; skin.DockPaneStripSkin.DocumentGradient.InactiveTabGradient.StartColor = SystemColors.InactiveCaption; skin.DockPaneStripSkin.DocumentGradient.InactiveTabGradient.EndColor = SystemColors.InactiveCaption; skin.DockPaneStripSkin.DocumentGradient.ActiveTabGradient.TextColor = SystemColors.ActiveCaptionText; skin.DockPaneStripSkin.DocumentGradient.InactiveTabGradient.TextColor = SystemColors.InactiveCaptionText; skin.DockPaneStripSkin.ToolWindowGradient.DockStripGradient.StartColor = SystemColors.Control; skin.DockPaneStripSkin.ToolWindowGradient.DockStripGradient.EndColor = SystemColors.Control; if (Type.GetType("Mono.Runtime") == null) { skin.DockPaneStripSkin.ToolWindowGradient.ActiveTabGradient.StartColor = SystemColors.ControlLightLight; skin.DockPaneStripSkin.ToolWindowGradient.ActiveTabGradient.EndColor = SystemColors.ControlLightLight; skin.DockPaneStripSkin.ToolWindowGradient.ActiveTabGradient.TextColor = SystemColors.ActiveCaptionText; } else { skin.DockPaneStripSkin.ToolWindowGradient.ActiveTabGradient.StartColor = SystemColors.ActiveCaption; skin.DockPaneStripSkin.ToolWindowGradient.ActiveTabGradient.EndColor = SystemColors.ActiveCaption; skin.DockPaneStripSkin.ToolWindowGradient.ActiveTabGradient.TextColor = SystemColors.ActiveCaptionText; } if (Type.GetType("Mono.Runtime") == null) { skin.DockPaneStripSkin.ToolWindowGradient.InactiveTabGradient.StartColor = SystemColors.Control; skin.DockPaneStripSkin.ToolWindowGradient.InactiveTabGradient.EndColor = SystemColors.Control; skin.DockPaneStripSkin.ToolWindowGradient.InactiveTabGradient.TextColor = SystemColors.InactiveCaptionText; } else { skin.DockPaneStripSkin.ToolWindowGradient.InactiveTabGradient.StartColor = SystemColors.InactiveCaption; skin.DockPaneStripSkin.ToolWindowGradient.InactiveTabGradient.EndColor = SystemColors.InactiveCaption; skin.DockPaneStripSkin.ToolWindowGradient.InactiveTabGradient.TextColor = SystemColors.InactiveCaptionText; } skin.DockPaneStripSkin.ToolWindowGradient.ActiveCaptionGradient.StartColor = SystemColors.ActiveCaption; skin.DockPaneStripSkin.ToolWindowGradient.ActiveCaptionGradient.EndColor = SystemColors.ActiveCaptionText; skin.DockPaneStripSkin.ToolWindowGradient.ActiveCaptionGradient.LinearGradientMode = LinearGradientMode.Vertical; skin.DockPaneStripSkin.ToolWindowGradient.InactiveCaptionGradient.StartColor = SystemColors.InactiveCaption; skin.DockPaneStripSkin.ToolWindowGradient.InactiveCaptionGradient.EndColor = SystemColors.InactiveCaptionText; skin.DockPaneStripSkin.ToolWindowGradient.InactiveCaptionGradient.LinearGradientMode = LinearGradientMode.Vertical; if (Type.GetType("Mono.Runtime") == null) { skin.DockPaneStripSkin.ToolWindowGradient.ActiveCaptionGradient.TextColor = SystemColors.ActiveCaptionText; skin.DockPaneStripSkin.ToolWindowGradient.InactiveCaptionGradient.TextColor = SystemColors.InactiveCaptionText; } else { skin.DockPaneStripSkin.ToolWindowGradient.ActiveCaptionGradient.TextColor = SystemColors.ActiveCaption; skin.DockPaneStripSkin.ToolWindowGradient.InactiveCaptionGradient.TextColor = SystemColors.InactiveCaption; } if (Type.GetType("Mono.Runtime") != null) { skin.DockPaneStripSkin.TextFont = SystemFonts.DefaultFont; } return(skin); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { WeifenLuo.WinFormsUI.Docking.DockPanelSkin dockPanelSkin2 = new WeifenLuo.WinFormsUI.Docking.DockPanelSkin(); WeifenLuo.WinFormsUI.Docking.AutoHideStripSkin autoHideStripSkin2 = new WeifenLuo.WinFormsUI.Docking.AutoHideStripSkin(); WeifenLuo.WinFormsUI.Docking.DockPanelGradient dockPanelGradient4 = new WeifenLuo.WinFormsUI.Docking.DockPanelGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient8 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); WeifenLuo.WinFormsUI.Docking.DockPaneStripSkin dockPaneStripSkin2 = new WeifenLuo.WinFormsUI.Docking.DockPaneStripSkin(); WeifenLuo.WinFormsUI.Docking.DockPaneStripGradient dockPaneStripGradient2 = new WeifenLuo.WinFormsUI.Docking.DockPaneStripGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient9 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); WeifenLuo.WinFormsUI.Docking.DockPanelGradient dockPanelGradient5 = new WeifenLuo.WinFormsUI.Docking.DockPanelGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient10 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); WeifenLuo.WinFormsUI.Docking.DockPaneStripToolWindowGradient dockPaneStripToolWindowGradient2 = new WeifenLuo.WinFormsUI.Docking.DockPaneStripToolWindowGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient11 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient12 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); WeifenLuo.WinFormsUI.Docking.DockPanelGradient dockPanelGradient6 = new WeifenLuo.WinFormsUI.Docking.DockPanelGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient13 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient14 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm)); this.msMenu = new System.Windows.Forms.MenuStrip(); this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.mapToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); this.loadMapToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.newMapToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.particleEffectToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.loadPEToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.newPEToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.closeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.viewToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.selectedMapObjectsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.grhDatasToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.npcChatEditorToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.skeletonEditorToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.dbEditorToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.musicEditorToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.soundEditorToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.bodyEditorToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.mapToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.shiftContentsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.ssStatus = new System.Windows.Forms.StatusStrip(); this.tssInfo = new System.Windows.Forms.ToolStripStatusLabel(); this.tssWorldPos = new System.Windows.Forms.ToolStripStatusLabel(); this.tssScreenPos = new System.Windows.Forms.ToolStripStatusLabel(); this.dockPanel = new WeifenLuo.WinFormsUI.Docking.DockPanel(); this.tbMap = new NetGore.Editor.EditorTool.ToolBar(); this.tbGlobal = new NetGore.Editor.EditorTool.ToolBar(); this.panel1 = new System.Windows.Forms.Panel(); this.lblDepth = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label(); this.cmbLayer = new System.Windows.Forms.ComboBox(); this.label2 = new System.Windows.Forms.Label(); this.trackBarDepth = new System.Windows.Forms.TrackBar(); this.grhTilesetViewMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.msMenu.SuspendLayout(); this.ssStatus.SuspendLayout(); this.panel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.trackBarDepth)).BeginInit(); this.SuspendLayout(); // // msMenu // this.msMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.fileToolStripMenuItem, this.viewToolStripMenuItem, this.toolsToolStripMenuItem}); resources.ApplyResources(this.msMenu, "msMenu"); this.msMenu.Name = "msMenu"; // // fileToolStripMenuItem // this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.mapToolStripMenuItem1, this.particleEffectToolStripMenuItem, this.closeToolStripMenuItem}); this.fileToolStripMenuItem.Name = "fileToolStripMenuItem"; resources.ApplyResources(this.fileToolStripMenuItem, "fileToolStripMenuItem"); // // mapToolStripMenuItem1 // this.mapToolStripMenuItem1.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.loadMapToolStripMenuItem, this.newMapToolStripMenuItem}); this.mapToolStripMenuItem1.Name = "mapToolStripMenuItem1"; resources.ApplyResources(this.mapToolStripMenuItem1, "mapToolStripMenuItem1"); // // loadMapToolStripMenuItem // this.loadMapToolStripMenuItem.Name = "loadMapToolStripMenuItem"; resources.ApplyResources(this.loadMapToolStripMenuItem, "loadMapToolStripMenuItem"); this.loadMapToolStripMenuItem.Click += new System.EventHandler(this.loadMapToolStripMenuItem_Click); // // newMapToolStripMenuItem // this.newMapToolStripMenuItem.Name = "newMapToolStripMenuItem"; resources.ApplyResources(this.newMapToolStripMenuItem, "newMapToolStripMenuItem"); this.newMapToolStripMenuItem.Click += new System.EventHandler(this.newMapToolStripMenuItem_Click); // // particleEffectToolStripMenuItem // this.particleEffectToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.loadPEToolStripMenuItem, this.newPEToolStripMenuItem}); this.particleEffectToolStripMenuItem.Name = "particleEffectToolStripMenuItem"; resources.ApplyResources(this.particleEffectToolStripMenuItem, "particleEffectToolStripMenuItem"); // // loadPEToolStripMenuItem // this.loadPEToolStripMenuItem.Name = "loadPEToolStripMenuItem"; resources.ApplyResources(this.loadPEToolStripMenuItem, "loadPEToolStripMenuItem"); this.loadPEToolStripMenuItem.Click += new System.EventHandler(this.loadPEToolStripMenuItem_Click); // // newPEToolStripMenuItem // this.newPEToolStripMenuItem.Name = "newPEToolStripMenuItem"; resources.ApplyResources(this.newPEToolStripMenuItem, "newPEToolStripMenuItem"); this.newPEToolStripMenuItem.Click += new System.EventHandler(this.newPEToolStripMenuItem_Click); // // closeToolStripMenuItem // this.closeToolStripMenuItem.Name = "closeToolStripMenuItem"; resources.ApplyResources(this.closeToolStripMenuItem, "closeToolStripMenuItem"); this.closeToolStripMenuItem.Click += new System.EventHandler(this.closeToolStripMenuItem_Click); // // viewToolStripMenuItem // this.viewToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.selectedMapObjectsToolStripMenuItem, this.grhTilesetViewMenuItem, this.grhDatasToolStripMenuItem, this.npcChatEditorToolStripMenuItem, this.skeletonEditorToolStripMenuItem, this.dbEditorToolStripMenuItem, this.musicEditorToolStripMenuItem, this.soundEditorToolStripMenuItem, this.bodyEditorToolStripMenuItem}); this.viewToolStripMenuItem.Name = "viewToolStripMenuItem"; resources.ApplyResources(this.viewToolStripMenuItem, "viewToolStripMenuItem"); // // selectedMapObjectsToolStripMenuItem // this.selectedMapObjectsToolStripMenuItem.CheckOnClick = true; this.selectedMapObjectsToolStripMenuItem.Name = "selectedMapObjectsToolStripMenuItem"; resources.ApplyResources(this.selectedMapObjectsToolStripMenuItem, "selectedMapObjectsToolStripMenuItem"); this.selectedMapObjectsToolStripMenuItem.Click += new System.EventHandler(this.selectedMapObjectsToolStripMenuItem_CheckedChanged); // // grhDatasToolStripMenuItem // this.grhDatasToolStripMenuItem.CheckOnClick = true; this.grhDatasToolStripMenuItem.Name = "grhDatasToolStripMenuItem"; resources.ApplyResources(this.grhDatasToolStripMenuItem, "grhDatasToolStripMenuItem"); this.grhDatasToolStripMenuItem.Click += new System.EventHandler(this.grhDatasToolStripMenuItem_Click); // // npcChatEditorToolStripMenuItem // this.npcChatEditorToolStripMenuItem.CheckOnClick = true; this.npcChatEditorToolStripMenuItem.Name = "npcChatEditorToolStripMenuItem"; resources.ApplyResources(this.npcChatEditorToolStripMenuItem, "npcChatEditorToolStripMenuItem"); this.npcChatEditorToolStripMenuItem.Click += new System.EventHandler(this.npcChatEditorToolStripMenuItem_Click); // // skeletonEditorToolStripMenuItem // this.skeletonEditorToolStripMenuItem.CheckOnClick = true; this.skeletonEditorToolStripMenuItem.Name = "skeletonEditorToolStripMenuItem"; resources.ApplyResources(this.skeletonEditorToolStripMenuItem, "skeletonEditorToolStripMenuItem"); this.skeletonEditorToolStripMenuItem.Click += new System.EventHandler(this.skeletonEditorToolStripMenuItem_Click); // // dbEditorToolStripMenuItem // this.dbEditorToolStripMenuItem.CheckOnClick = true; this.dbEditorToolStripMenuItem.Name = "dbEditorToolStripMenuItem"; resources.ApplyResources(this.dbEditorToolStripMenuItem, "dbEditorToolStripMenuItem"); this.dbEditorToolStripMenuItem.Click += new System.EventHandler(this.dbEditorToolStripMenuItem_Click); // // musicEditorToolStripMenuItem // this.musicEditorToolStripMenuItem.CheckOnClick = true; this.musicEditorToolStripMenuItem.Name = "musicEditorToolStripMenuItem"; resources.ApplyResources(this.musicEditorToolStripMenuItem, "musicEditorToolStripMenuItem"); this.musicEditorToolStripMenuItem.Click += new System.EventHandler(this.musicEditorToolStripMenuItem_Click); // // soundEditorToolStripMenuItem // this.soundEditorToolStripMenuItem.CheckOnClick = true; this.soundEditorToolStripMenuItem.Name = "soundEditorToolStripMenuItem"; resources.ApplyResources(this.soundEditorToolStripMenuItem, "soundEditorToolStripMenuItem"); this.soundEditorToolStripMenuItem.Click += new System.EventHandler(this.soundEditorToolStripMenuItem_Click); // // bodyEditorToolStripMenuItem // this.bodyEditorToolStripMenuItem.CheckOnClick = true; this.bodyEditorToolStripMenuItem.Name = "bodyEditorToolStripMenuItem"; resources.ApplyResources(this.bodyEditorToolStripMenuItem, "bodyEditorToolStripMenuItem"); this.bodyEditorToolStripMenuItem.Click += new System.EventHandler(this.bodyEditorToolStripMenuItem_Click); // // toolsToolStripMenuItem // this.toolsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.mapToolStripMenuItem}); this.toolsToolStripMenuItem.Name = "toolsToolStripMenuItem"; resources.ApplyResources(this.toolsToolStripMenuItem, "toolsToolStripMenuItem"); // // mapToolStripMenuItem // this.mapToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.shiftContentsToolStripMenuItem}); this.mapToolStripMenuItem.Name = "mapToolStripMenuItem"; resources.ApplyResources(this.mapToolStripMenuItem, "mapToolStripMenuItem"); this.mapToolStripMenuItem.Paint += new System.Windows.Forms.PaintEventHandler(this.mapToolStripMenuItem_Paint); // // shiftContentsToolStripMenuItem // this.shiftContentsToolStripMenuItem.Name = "shiftContentsToolStripMenuItem"; resources.ApplyResources(this.shiftContentsToolStripMenuItem, "shiftContentsToolStripMenuItem"); this.shiftContentsToolStripMenuItem.Click += new System.EventHandler(this.shiftContentsToolStripMenuItem_Click); // // ssStatus // this.ssStatus.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.tssInfo, this.tssWorldPos, this.tssScreenPos}); resources.ApplyResources(this.ssStatus, "ssStatus"); this.ssStatus.Name = "ssStatus"; // // tssInfo // this.tssInfo.Name = "tssInfo"; resources.ApplyResources(this.tssInfo, "tssInfo"); this.tssInfo.Spring = true; // // tssWorldPos // this.tssWorldPos.Name = "tssWorldPos"; resources.ApplyResources(this.tssWorldPos, "tssWorldPos"); // // tssScreenPos // this.tssScreenPos.Name = "tssScreenPos"; resources.ApplyResources(this.tssScreenPos, "tssScreenPos"); // // dockPanel // this.dockPanel.BackColor = System.Drawing.SystemColors.AppWorkspace; resources.ApplyResources(this.dockPanel, "dockPanel"); this.dockPanel.DockBackColor = System.Drawing.SystemColors.AppWorkspace; this.dockPanel.Name = "dockPanel"; dockPanelGradient4.EndColor = System.Drawing.SystemColors.ControlLight; dockPanelGradient4.StartColor = System.Drawing.SystemColors.ControlLight; autoHideStripSkin2.DockStripGradient = dockPanelGradient4; tabGradient8.EndColor = System.Drawing.SystemColors.Control; tabGradient8.StartColor = System.Drawing.SystemColors.Control; tabGradient8.TextColor = System.Drawing.SystemColors.ControlDarkDark; autoHideStripSkin2.TabGradient = tabGradient8; autoHideStripSkin2.TextFont = new System.Drawing.Font("Segoe UI", 9F); dockPanelSkin2.AutoHideStripSkin = autoHideStripSkin2; tabGradient9.EndColor = System.Drawing.SystemColors.ControlLightLight; tabGradient9.StartColor = System.Drawing.SystemColors.ControlLightLight; tabGradient9.TextColor = System.Drawing.SystemColors.ControlText; dockPaneStripGradient2.ActiveTabGradient = tabGradient9; dockPanelGradient5.EndColor = System.Drawing.SystemColors.Control; dockPanelGradient5.StartColor = System.Drawing.SystemColors.Control; dockPaneStripGradient2.DockStripGradient = dockPanelGradient5; tabGradient10.EndColor = System.Drawing.SystemColors.ControlLight; tabGradient10.StartColor = System.Drawing.SystemColors.ControlLight; tabGradient10.TextColor = System.Drawing.SystemColors.ControlText; dockPaneStripGradient2.InactiveTabGradient = tabGradient10; dockPaneStripSkin2.DocumentGradient = dockPaneStripGradient2; dockPaneStripSkin2.TextFont = new System.Drawing.Font("Segoe UI", 9F); tabGradient11.EndColor = System.Drawing.SystemColors.ActiveCaption; tabGradient11.LinearGradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; tabGradient11.StartColor = System.Drawing.SystemColors.GradientActiveCaption; tabGradient11.TextColor = System.Drawing.SystemColors.ActiveCaptionText; dockPaneStripToolWindowGradient2.ActiveCaptionGradient = tabGradient11; tabGradient12.EndColor = System.Drawing.SystemColors.Control; tabGradient12.StartColor = System.Drawing.SystemColors.Control; tabGradient12.TextColor = System.Drawing.SystemColors.ControlText; dockPaneStripToolWindowGradient2.ActiveTabGradient = tabGradient12; dockPanelGradient6.EndColor = System.Drawing.SystemColors.ControlLight; dockPanelGradient6.StartColor = System.Drawing.SystemColors.ControlLight; dockPaneStripToolWindowGradient2.DockStripGradient = dockPanelGradient6; tabGradient13.EndColor = System.Drawing.SystemColors.GradientInactiveCaption; tabGradient13.LinearGradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; tabGradient13.StartColor = System.Drawing.SystemColors.GradientInactiveCaption; tabGradient13.TextColor = System.Drawing.SystemColors.ControlText; dockPaneStripToolWindowGradient2.InactiveCaptionGradient = tabGradient13; tabGradient14.EndColor = System.Drawing.Color.Transparent; tabGradient14.StartColor = System.Drawing.Color.Transparent; tabGradient14.TextColor = System.Drawing.SystemColors.ControlDarkDark; dockPaneStripToolWindowGradient2.InactiveTabGradient = tabGradient14; dockPaneStripSkin2.ToolWindowGradient = dockPaneStripToolWindowGradient2; dockPanelSkin2.DockPaneStripSkin = dockPaneStripSkin2; this.dockPanel.Skin = dockPanelSkin2; this.dockPanel.Click += new System.EventHandler(this.dockPanel_Click); // // tbMap // this.tbMap.AllowItemReorder = true; this.tbMap.DisplayObject = null; resources.ApplyResources(this.tbMap, "tbMap"); this.tbMap.Name = "tbMap"; // // tbGlobal // this.tbGlobal.AllowItemReorder = true; this.tbGlobal.DisplayObject = null; resources.ApplyResources(this.tbGlobal, "tbGlobal"); this.tbGlobal.Name = "tbGlobal"; // // panel1 // this.panel1.Controls.Add(this.lblDepth); this.panel1.Controls.Add(this.label1); this.panel1.Controls.Add(this.cmbLayer); this.panel1.Controls.Add(this.label2); this.panel1.Controls.Add(this.trackBarDepth); resources.ApplyResources(this.panel1, "panel1"); this.panel1.Name = "panel1"; // // lblDepth // resources.ApplyResources(this.lblDepth, "lblDepth"); this.lblDepth.Name = "lblDepth"; // // label1 // resources.ApplyResources(this.label1, "label1"); this.label1.Name = "label1"; // // cmbLayer // this.cmbLayer.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cmbLayer.Items.AddRange(new object[] { resources.GetString("cmbLayer.Items"), resources.GetString("cmbLayer.Items1"), resources.GetString("cmbLayer.Items2")}); resources.ApplyResources(this.cmbLayer, "cmbLayer"); this.cmbLayer.Name = "cmbLayer"; this.cmbLayer.SelectedValueChanged += new System.EventHandler(this.cmbLayer_SelectedValueChanged); // // label2 // resources.ApplyResources(this.label2, "label2"); this.label2.Name = "label2"; // // trackBarDepth // resources.ApplyResources(this.trackBarDepth, "trackBarDepth"); this.trackBarDepth.LargeChange = 10; this.trackBarDepth.Minimum = -10; this.trackBarDepth.Name = "trackBarDepth"; this.trackBarDepth.Scroll += new System.EventHandler(this.trackBarDepth_Scroll); this.trackBarDepth.MouseDown += new System.Windows.Forms.MouseEventHandler(this.trackBarDepth_MouseDown); // // grhTilesetViewMenuItem // this.grhTilesetViewMenuItem.CheckOnClick = true; this.grhTilesetViewMenuItem.Name = "grhTilesetViewMenuItem"; resources.ApplyResources(this.grhTilesetViewMenuItem, "grhTilesetViewMenuItem"); this.grhTilesetViewMenuItem.Click += new System.EventHandler(this.grhTilesetViewMenuItem_Click); // // MainForm // resources.ApplyResources(this, "$this"); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.Controls.Add(this.panel1); this.Controls.Add(this.dockPanel); this.Controls.Add(this.tbMap); this.Controls.Add(this.tbGlobal); this.Controls.Add(this.ssStatus); this.Controls.Add(this.msMenu); this.IsMdiContainer = true; this.KeyPreview = true; this.MainMenuStrip = this.msMenu; this.Name = "MainForm"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.msMenu.ResumeLayout(false); this.msMenu.PerformLayout(); this.ssStatus.ResumeLayout(false); this.ssStatus.PerformLayout(); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.trackBarDepth)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { WeifenLuo.WinFormsUI.Docking.DockPanelSkin dockPanelSkin1 = new WeifenLuo.WinFormsUI.Docking.DockPanelSkin(); WeifenLuo.WinFormsUI.Docking.AutoHideStripSkin autoHideStripSkin1 = new WeifenLuo.WinFormsUI.Docking.AutoHideStripSkin(); WeifenLuo.WinFormsUI.Docking.DockPanelGradient dockPanelGradient1 = new WeifenLuo.WinFormsUI.Docking.DockPanelGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient1 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); WeifenLuo.WinFormsUI.Docking.DockPaneStripSkin dockPaneStripSkin1 = new WeifenLuo.WinFormsUI.Docking.DockPaneStripSkin(); WeifenLuo.WinFormsUI.Docking.DockPaneStripGradient dockPaneStripGradient1 = new WeifenLuo.WinFormsUI.Docking.DockPaneStripGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient2 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); WeifenLuo.WinFormsUI.Docking.DockPanelGradient dockPanelGradient2 = new WeifenLuo.WinFormsUI.Docking.DockPanelGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient3 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); WeifenLuo.WinFormsUI.Docking.DockPaneStripToolWindowGradient dockPaneStripToolWindowGradient1 = new WeifenLuo.WinFormsUI.Docking.DockPaneStripToolWindowGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient4 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient5 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); WeifenLuo.WinFormsUI.Docking.DockPanelGradient dockPanelGradient3 = new WeifenLuo.WinFormsUI.Docking.DockPanelGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient6 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient7 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmMain)); this.dockPanel = new WeifenLuo.WinFormsUI.Docking.DockPanel(); this.vS2012LightTheme1 = new WeifenLuo.WinFormsUI.Docking.VS2012LightTheme(); this.toolBar = new Soul.MapEditor.UI.Menu.ToolBar(); this.tsbNew = new System.Windows.Forms.ToolStripButton(); this.tsbOpen = new System.Windows.Forms.ToolStripButton(); this.tsbSave = new System.Windows.Forms.ToolStripButton(); this.tsbCompile = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); this.tsbPencil = new System.Windows.Forms.ToolStripButton(); this.tsbFill = new System.Windows.Forms.ToolStripButton(); this.tsbErase = new System.Windows.Forms.ToolStripButton(); this.tsbSelect = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); this.tsbTeste = new System.Windows.Forms.ToolStripButton(); this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.tsmNew = new System.Windows.Forms.ToolStripMenuItem(); this.tsmOpen = new System.Windows.Forms.ToolStripMenuItem(); this.tsmSave = new System.Windows.Forms.ToolStripMenuItem(); this.tsmCompile = new System.Windows.Forms.ToolStripMenuItem(); this.tsmExit = new System.Windows.Forms.ToolStripMenuItem(); this.objectsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.tilesetToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.menu = new Soul.MapEditor.UI.Menu.Menu(); this.toolBar.SuspendLayout(); this.menu.SuspendLayout(); this.SuspendLayout(); // // dockPanel // this.dockPanel.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.dockPanel.DefaultFloatWindowSize = new System.Drawing.Size(200, 200); this.dockPanel.DockBottomPortion = 150D; this.dockPanel.DockLeftPortion = 150D; this.dockPanel.DockRightPortion = 150D; this.dockPanel.DockTopPortion = 150D; this.dockPanel.DocumentStyle = WeifenLuo.WinFormsUI.Docking.DocumentStyle.DockingWindow; this.dockPanel.Location = new System.Drawing.Point(0, 67); this.dockPanel.Name = "dockPanel"; this.dockPanel.Size = new System.Drawing.Size(835, 467); dockPanelGradient1.EndColor = System.Drawing.SystemColors.ControlLight; dockPanelGradient1.StartColor = System.Drawing.SystemColors.ControlLight; autoHideStripSkin1.DockStripGradient = dockPanelGradient1; tabGradient1.EndColor = System.Drawing.SystemColors.Control; tabGradient1.StartColor = System.Drawing.SystemColors.Control; tabGradient1.TextColor = System.Drawing.SystemColors.ControlDarkDark; autoHideStripSkin1.TabGradient = tabGradient1; autoHideStripSkin1.TextFont = new System.Drawing.Font("Segoe UI", 9F); dockPanelSkin1.AutoHideStripSkin = autoHideStripSkin1; tabGradient2.EndColor = System.Drawing.SystemColors.ControlLightLight; tabGradient2.StartColor = System.Drawing.SystemColors.ControlLightLight; tabGradient2.TextColor = System.Drawing.SystemColors.ControlText; dockPaneStripGradient1.ActiveTabGradient = tabGradient2; dockPanelGradient2.EndColor = System.Drawing.SystemColors.Control; dockPanelGradient2.StartColor = System.Drawing.SystemColors.Control; dockPaneStripGradient1.DockStripGradient = dockPanelGradient2; tabGradient3.EndColor = System.Drawing.SystemColors.ControlLight; tabGradient3.StartColor = System.Drawing.SystemColors.ControlLight; tabGradient3.TextColor = System.Drawing.SystemColors.ControlText; dockPaneStripGradient1.InactiveTabGradient = tabGradient3; dockPaneStripSkin1.DocumentGradient = dockPaneStripGradient1; dockPaneStripSkin1.TextFont = new System.Drawing.Font("Segoe UI", 9F); tabGradient4.EndColor = System.Drawing.SystemColors.ActiveCaption; tabGradient4.LinearGradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; tabGradient4.StartColor = System.Drawing.SystemColors.GradientActiveCaption; tabGradient4.TextColor = System.Drawing.SystemColors.ActiveCaptionText; dockPaneStripToolWindowGradient1.ActiveCaptionGradient = tabGradient4; tabGradient5.EndColor = System.Drawing.SystemColors.Control; tabGradient5.StartColor = System.Drawing.SystemColors.Control; tabGradient5.TextColor = System.Drawing.SystemColors.ControlText; dockPaneStripToolWindowGradient1.ActiveTabGradient = tabGradient5; dockPanelGradient3.EndColor = System.Drawing.SystemColors.ControlLight; dockPanelGradient3.StartColor = System.Drawing.SystemColors.ControlLight; dockPaneStripToolWindowGradient1.DockStripGradient = dockPanelGradient3; tabGradient6.EndColor = System.Drawing.SystemColors.InactiveCaption; tabGradient6.LinearGradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; tabGradient6.StartColor = System.Drawing.SystemColors.GradientInactiveCaption; tabGradient6.TextColor = System.Drawing.SystemColors.InactiveCaptionText; dockPaneStripToolWindowGradient1.InactiveCaptionGradient = tabGradient6; tabGradient7.EndColor = System.Drawing.Color.Transparent; tabGradient7.StartColor = System.Drawing.Color.Transparent; tabGradient7.TextColor = System.Drawing.SystemColors.ControlDarkDark; dockPaneStripToolWindowGradient1.InactiveTabGradient = tabGradient7; dockPaneStripSkin1.ToolWindowGradient = dockPaneStripToolWindowGradient1; dockPanelSkin1.DockPaneStripSkin = dockPaneStripSkin1; this.dockPanel.Skin = dockPanelSkin1; this.dockPanel.TabIndex = 1; this.dockPanel.Theme = this.dockPanel.Theme; // // toolBar // this.toolBar.AutoSize = false; this.toolBar.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.toolBar.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.tsbNew, this.tsbOpen, this.tsbSave, this.tsbCompile, this.toolStripSeparator1, this.tsbPencil, this.tsbFill, this.tsbErase, this.tsbSelect, this.toolStripSeparator2, this.tsbTeste}); this.toolBar.Location = new System.Drawing.Point(0, 29); this.toolBar.Name = "toolBar"; this.toolBar.RenderBackground = true; this.toolBar.Size = new System.Drawing.Size(836, 38); this.toolBar.TabIndex = 3; this.toolBar.Text = "toolBar1"; // // tsbNew // this.tsbNew.AutoSize = false; this.tsbNew.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.tsbNew.Image = ((System.Drawing.Image)(resources.GetObject("tsbNew.Image"))); this.tsbNew.ImageTransparentColor = System.Drawing.Color.Magenta; this.tsbNew.Name = "tsbNew"; this.tsbNew.Size = new System.Drawing.Size(30, 30); this.tsbNew.Text = "toolStripButton1"; this.tsbNew.Click += new System.EventHandler(this.NewMap_Click); // // tsbOpen // this.tsbOpen.AutoSize = false; this.tsbOpen.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.tsbOpen.Image = ((System.Drawing.Image)(resources.GetObject("tsbOpen.Image"))); this.tsbOpen.ImageTransparentColor = System.Drawing.Color.Magenta; this.tsbOpen.Name = "tsbOpen"; this.tsbOpen.Size = new System.Drawing.Size(30, 30); this.tsbOpen.Text = "toolStripButton2"; this.tsbOpen.Click += new System.EventHandler(this.Open_Click); // // tsbSave // this.tsbSave.AutoSize = false; this.tsbSave.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.tsbSave.Image = ((System.Drawing.Image)(resources.GetObject("tsbSave.Image"))); this.tsbSave.ImageTransparentColor = System.Drawing.Color.Magenta; this.tsbSave.Name = "tsbSave"; this.tsbSave.Size = new System.Drawing.Size(30, 30); this.tsbSave.Text = "toolStripButton3"; this.tsbSave.Click += new System.EventHandler(this.Save_Click); // // tsbCompile // this.tsbCompile.AutoSize = false; this.tsbCompile.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.tsbCompile.Image = ((System.Drawing.Image)(resources.GetObject("tsbCompile.Image"))); this.tsbCompile.ImageTransparentColor = System.Drawing.Color.Magenta; this.tsbCompile.Name = "tsbCompile"; this.tsbCompile.Size = new System.Drawing.Size(30, 30); this.tsbCompile.Text = "toolStripButton1"; this.tsbCompile.Click += new System.EventHandler(this.Compile_Click); // // toolStripSeparator1 // this.toolStripSeparator1.AutoSize = false; this.toolStripSeparator1.Name = "toolStripSeparator1"; this.toolStripSeparator1.Size = new System.Drawing.Size(30, 30); // // tsbPencil // this.tsbPencil.AutoSize = false; this.tsbPencil.CheckOnClick = true; this.tsbPencil.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.tsbPencil.Image = ((System.Drawing.Image)(resources.GetObject("tsbPencil.Image"))); this.tsbPencil.ImageTransparentColor = System.Drawing.Color.Magenta; this.tsbPencil.Name = "tsbPencil"; this.tsbPencil.Size = new System.Drawing.Size(30, 30); this.tsbPencil.Text = "toolStripButton1"; this.tsbPencil.Click += new System.EventHandler(this.tsbPencil_Click); // // tsbFill // this.tsbFill.AutoSize = false; this.tsbFill.CheckOnClick = true; this.tsbFill.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.tsbFill.Image = ((System.Drawing.Image)(resources.GetObject("tsbFill.Image"))); this.tsbFill.ImageTransparentColor = System.Drawing.Color.Magenta; this.tsbFill.Name = "tsbFill"; this.tsbFill.Size = new System.Drawing.Size(30, 27); this.tsbFill.Text = "toolStripButton1"; this.tsbFill.Click += new System.EventHandler(this.tsbFill_Click); // // tsbErase // this.tsbErase.AutoSize = false; this.tsbErase.CheckOnClick = true; this.tsbErase.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.tsbErase.Image = ((System.Drawing.Image)(resources.GetObject("tsbErase.Image"))); this.tsbErase.ImageTransparentColor = System.Drawing.Color.Magenta; this.tsbErase.Name = "tsbErase"; this.tsbErase.Size = new System.Drawing.Size(30, 30); this.tsbErase.Text = "toolStripButton2"; this.tsbErase.Click += new System.EventHandler(this.tsbErase_Click); // // tsbSelect // this.tsbSelect.AutoSize = false; this.tsbSelect.CheckOnClick = true; this.tsbSelect.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.tsbSelect.Image = ((System.Drawing.Image)(resources.GetObject("tsbSelect.Image"))); this.tsbSelect.ImageTransparentColor = System.Drawing.Color.Magenta; this.tsbSelect.Name = "tsbSelect"; this.tsbSelect.Size = new System.Drawing.Size(30, 30); this.tsbSelect.Text = "toolStripButton3"; this.tsbSelect.Click += new System.EventHandler(this.tsbSelect_Click); // // toolStripSeparator2 // this.toolStripSeparator2.AutoSize = false; this.toolStripSeparator2.Name = "toolStripSeparator2"; this.toolStripSeparator2.Size = new System.Drawing.Size(30, 30); // // tsbTeste // this.tsbTeste.AutoSize = false; this.tsbTeste.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.tsbTeste.Image = ((System.Drawing.Image)(resources.GetObject("tsbTeste.Image"))); this.tsbTeste.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; this.tsbTeste.ImageTransparentColor = System.Drawing.Color.Magenta; this.tsbTeste.Name = "tsbTeste"; this.tsbTeste.Size = new System.Drawing.Size(50, 30); // // fileToolStripMenuItem // this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.tsmNew, this.tsmOpen, this.tsmSave, this.tsmCompile, this.tsmExit}); this.fileToolStripMenuItem.Name = "fileToolStripMenuItem"; this.fileToolStripMenuItem.Size = new System.Drawing.Size(37, 19); this.fileToolStripMenuItem.Text = "File"; // // tsmNew // this.tsmNew.Name = "tsmNew"; this.tsmNew.Size = new System.Drawing.Size(119, 22); this.tsmNew.Text = "New"; this.tsmNew.Click += new System.EventHandler(this.NewMap_Click); // // tsmOpen // this.tsmOpen.Name = "tsmOpen"; this.tsmOpen.Size = new System.Drawing.Size(119, 22); this.tsmOpen.Text = "Open"; this.tsmOpen.Click += new System.EventHandler(this.Open_Click); // // tsmSave // this.tsmSave.Name = "tsmSave"; this.tsmSave.Size = new System.Drawing.Size(119, 22); this.tsmSave.Text = "Save"; this.tsmSave.Click += new System.EventHandler(this.Save_Click); // // tsmCompile // this.tsmCompile.Name = "tsmCompile"; this.tsmCompile.Size = new System.Drawing.Size(119, 22); this.tsmCompile.Text = "Compile"; this.tsmCompile.Click += new System.EventHandler(this.Compile_Click); // // tsmExit // this.tsmExit.Name = "tsmExit"; this.tsmExit.Size = new System.Drawing.Size(119, 22); this.tsmExit.Text = "Exit"; // // objectsToolStripMenuItem // this.objectsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.tilesetToolStripMenuItem}); this.objectsToolStripMenuItem.Name = "objectsToolStripMenuItem"; this.objectsToolStripMenuItem.Size = new System.Drawing.Size(59, 19); this.objectsToolStripMenuItem.Text = "Objects"; // // tilesetToolStripMenuItem // this.tilesetToolStripMenuItem.Name = "tilesetToolStripMenuItem"; this.tilesetToolStripMenuItem.Size = new System.Drawing.Size(135, 22); this.tilesetToolStripMenuItem.Text = "New Tileset"; this.tilesetToolStripMenuItem.Click += new System.EventHandler(this.NewTileset_Click); // // menu // this.menu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.fileToolStripMenuItem, this.objectsToolStripMenuItem}); this.menu.LayoutStyle = System.Windows.Forms.ToolStripLayoutStyle.HorizontalStackWithOverflow; this.menu.Location = new System.Drawing.Point(0, 0); this.menu.Name = "menu"; this.menu.Padding = new System.Windows.Forms.Padding(5); this.menu.RenderBackground = true; this.menu.Size = new System.Drawing.Size(836, 29); this.menu.TabIndex = 8; // // FrmMain // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(836, 536); this.Controls.Add(this.toolBar); this.Controls.Add(this.menu); this.Controls.Add(this.dockPanel); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.IsMdiContainer = true; this.Name = "FrmMain"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Map Editor ~ Pokemon Soul"; this.Load += new System.EventHandler(this.frmMain_Load); this.toolBar.ResumeLayout(false); this.toolBar.PerformLayout(); this.menu.ResumeLayout(false); this.menu.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); }
public static DockPanelSkin CreateVisualStudio2012Light() { var dot = Color.FromArgb(80, 170, 220); var skin = new DockPanelSkin(); if (Type.GetType("Mono.Runtime") == null) { skin.AutoHideStripSkin.DockStripGradient.StartColor = SystemColors.ActiveCaption; skin.AutoHideStripSkin.DockStripGradient.EndColor = SystemColors.ActiveCaption; skin.AutoHideStripSkin.TabGradient.StartColor = SystemColors.ActiveCaption; skin.AutoHideStripSkin.TabGradient.EndColor = SystemColors.ActiveCaption; skin.AutoHideStripSkin.TabGradient.TextColor = SystemColors.ActiveCaptionText; skin.AutoHideStripSkin.DockStripBackground.StartColor = SystemColors.ActiveCaption; skin.AutoHideStripSkin.DockStripBackground.EndColor = SystemColors.ActiveCaption; } else { skin.AutoHideStripSkin.DockStripGradient.StartColor = SystemColors.InactiveCaption; skin.AutoHideStripSkin.DockStripGradient.EndColor = SystemColors.InactiveCaption; skin.AutoHideStripSkin.TabGradient.StartColor = SystemColors.InactiveCaption; skin.AutoHideStripSkin.TabGradient.EndColor = SystemColors.InactiveCaption; skin.AutoHideStripSkin.TabGradient.TextColor = SystemColors.InactiveCaptionText; skin.AutoHideStripSkin.DockStripBackground.StartColor = SystemColors.InactiveCaption; skin.AutoHideStripSkin.DockStripBackground.EndColor = SystemColors.InactiveCaption; } skin.DockPaneStripSkin.DocumentGradient.DockStripGradient.StartColor = SystemColors.Control; skin.DockPaneStripSkin.DocumentGradient.DockStripGradient.EndColor = SystemColors.Control; skin.DockPaneStripSkin.DocumentGradient.ActiveTabGradient.StartColor = SystemColors.ActiveCaption; skin.DockPaneStripSkin.DocumentGradient.ActiveTabGradient.EndColor = SystemColors.ActiveCaption; skin.DockPaneStripSkin.DocumentGradient.InactiveTabGradient.StartColor = SystemColors.InactiveCaption; skin.DockPaneStripSkin.DocumentGradient.InactiveTabGradient.EndColor = SystemColors.InactiveCaption; skin.DockPaneStripSkin.DocumentGradient.ActiveTabGradient.TextColor = SystemColors.ActiveCaptionText; skin.DockPaneStripSkin.DocumentGradient.InactiveTabGradient.TextColor = SystemColors.InactiveCaptionText; skin.DockPaneStripSkin.ToolWindowGradient.DockStripGradient.StartColor = SystemColors.Control; skin.DockPaneStripSkin.ToolWindowGradient.DockStripGradient.EndColor = SystemColors.Control; if (Type.GetType("Mono.Runtime") == null) { skin.DockPaneStripSkin.ToolWindowGradient.ActiveTabGradient.StartColor = SystemColors.ControlLightLight; skin.DockPaneStripSkin.ToolWindowGradient.ActiveTabGradient.EndColor = SystemColors.ControlLightLight; skin.DockPaneStripSkin.ToolWindowGradient.ActiveTabGradient.TextColor = SystemColors.ActiveCaptionText; } else { skin.DockPaneStripSkin.ToolWindowGradient.ActiveTabGradient.StartColor = SystemColors.ActiveCaption; skin.DockPaneStripSkin.ToolWindowGradient.ActiveTabGradient.EndColor = SystemColors.ActiveCaption; skin.DockPaneStripSkin.ToolWindowGradient.ActiveTabGradient.TextColor = SystemColors.ActiveCaptionText; } if (Type.GetType("Mono.Runtime") == null) { skin.DockPaneStripSkin.ToolWindowGradient.InactiveTabGradient.StartColor = SystemColors.Control; skin.DockPaneStripSkin.ToolWindowGradient.InactiveTabGradient.EndColor = SystemColors.Control; skin.DockPaneStripSkin.ToolWindowGradient.InactiveTabGradient.TextColor = SystemColors.InactiveCaptionText; } else { skin.DockPaneStripSkin.ToolWindowGradient.InactiveTabGradient.StartColor = SystemColors.InactiveCaption; skin.DockPaneStripSkin.ToolWindowGradient.InactiveTabGradient.EndColor = SystemColors.InactiveCaption; skin.DockPaneStripSkin.ToolWindowGradient.InactiveTabGradient.TextColor = SystemColors.InactiveCaptionText; } skin.DockPaneStripSkin.ToolWindowGradient.ActiveCaptionGradient.StartColor = SystemColors.ActiveCaption; skin.DockPaneStripSkin.ToolWindowGradient.ActiveCaptionGradient.EndColor = SystemColors.ActiveCaptionText; skin.DockPaneStripSkin.ToolWindowGradient.ActiveCaptionGradient.LinearGradientMode = LinearGradientMode.Vertical; skin.DockPaneStripSkin.ToolWindowGradient.InactiveCaptionGradient.StartColor = SystemColors.InactiveCaption; skin.DockPaneStripSkin.ToolWindowGradient.InactiveCaptionGradient.EndColor = SystemColors.InactiveCaptionText; skin.DockPaneStripSkin.ToolWindowGradient.InactiveCaptionGradient.LinearGradientMode = LinearGradientMode.Vertical; if (Type.GetType("Mono.Runtime") == null) { skin.DockPaneStripSkin.ToolWindowGradient.ActiveCaptionGradient.TextColor = SystemColors.ActiveCaptionText; skin.DockPaneStripSkin.ToolWindowGradient.InactiveCaptionGradient.TextColor = SystemColors.InactiveCaptionText; } else { skin.DockPaneStripSkin.ToolWindowGradient.ActiveCaptionGradient.TextColor = SystemColors.ActiveCaption; skin.DockPaneStripSkin.ToolWindowGradient.InactiveCaptionGradient.TextColor = SystemColors.InactiveCaption; } if (Type.GetType("Mono.Runtime") != null) { skin.DockPaneStripSkin.TextFont = SystemFonts.DefaultFont; } return skin; }
/// <summary> /// 设计器支持所需的方法 - 不要 /// 使用代码编辑器修改此方法的内容。 /// </summary> private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MakerView)); WeifenLuo.WinFormsUI.Docking.DockPanelSkin dockPanelSkin2 = new WeifenLuo.WinFormsUI.Docking.DockPanelSkin(); WeifenLuo.WinFormsUI.Docking.AutoHideStripSkin autoHideStripSkin2 = new WeifenLuo.WinFormsUI.Docking.AutoHideStripSkin(); WeifenLuo.WinFormsUI.Docking.DockPanelGradient dockPanelGradient4 = new WeifenLuo.WinFormsUI.Docking.DockPanelGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient8 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); WeifenLuo.WinFormsUI.Docking.DockPaneStripSkin dockPaneStripSkin2 = new WeifenLuo.WinFormsUI.Docking.DockPaneStripSkin(); WeifenLuo.WinFormsUI.Docking.DockPaneStripGradient dockPaneStripGradient2 = new WeifenLuo.WinFormsUI.Docking.DockPaneStripGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient9 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); WeifenLuo.WinFormsUI.Docking.DockPanelGradient dockPanelGradient5 = new WeifenLuo.WinFormsUI.Docking.DockPanelGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient10 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); WeifenLuo.WinFormsUI.Docking.DockPaneStripToolWindowGradient dockPaneStripToolWindowGradient2 = new WeifenLuo.WinFormsUI.Docking.DockPaneStripToolWindowGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient11 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient12 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); WeifenLuo.WinFormsUI.Docking.DockPanelGradient dockPanelGradient6 = new WeifenLuo.WinFormsUI.Docking.DockPanelGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient13 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient14 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); this.contextMenuStrip = new System.Windows.Forms.ContextMenuStrip(); this.fileDropDownButton = new System.Windows.Forms.ToolStripDropDownButton(); this.newStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.openStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.saveStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.saveAsStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); this.aboutStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.exitStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.tsbSave = new System.Windows.Forms.ToolStripButton(); this.tsbRecord = new System.Windows.Forms.ToolStripButton(); this.tsbStop = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator = new System.Windows.Forms.ToolStripSeparator(); this.tsbRunCurrent = new System.Windows.Forms.ToolStripButton(); this.stepRunBtn = new System.Windows.Forms.ToolStripButton(); this.tsbRunStop = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator9 = new System.Windows.Forms.ToolStripSeparator(); this.tsbAddAction = new System.Windows.Forms.ToolStripSplitButton(); this.tsbFirst = new System.Windows.Forms.ToolStripButton(); this.tsbPrevious = new System.Windows.Forms.ToolStripButton(); this.tsbNext = new System.Windows.Forms.ToolStripButton(); this.tsbLast = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator(); this.helpStripButton = new System.Windows.Forms.ToolStripButton(); this.toolStrip1 = new System.Windows.Forms.ToolStrip(); this.newToolStripButton = new System.Windows.Forms.ToolStripButton(); this.tsbBreakPoint = new System.Windows.Forms.ToolStripButton(); this.feedbackButton = new System.Windows.Forms.ToolStripButton(); this.updateBtn = new System.Windows.Forms.ToolStripButton(); this.dockPanel = new WeifenLuo.WinFormsUI.Docking.DockPanel(); this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); this.toolStrip1.SuspendLayout(); this.SuspendLayout(); // // browserToolbar // this.browserToolbar.Size = new System.Drawing.Size(725, 32); // // contextMenuStrip // this.contextMenuStrip.Name = "contextMenuStrip"; this.contextMenuStrip.Size = new System.Drawing.Size(61, 4); // // fileDropDownButton // this.fileDropDownButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.fileDropDownButton.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.newStripMenuItem, this.openStripMenuItem, this.saveStripMenuItem, this.saveAsStripMenuItem, this.toolStripSeparator2, this.aboutStripMenuItem, this.exitStripMenuItem }); this.fileDropDownButton.Image = ((System.Drawing.Image)(resources.GetObject("fileDropDownButton.Image"))); this.fileDropDownButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.fileDropDownButton.Name = "fileDropDownButton"; this.fileDropDownButton.Size = new System.Drawing.Size(34, 25); this.fileDropDownButton.Text = "文件"; this.fileDropDownButton.Visible = false; // // newStripMenuItem // this.newStripMenuItem.Name = "newStripMenuItem"; this.newStripMenuItem.Size = new System.Drawing.Size(121, 22); this.newStripMenuItem.Text = "新建"; this.newStripMenuItem.Click += new System.EventHandler(this.newStripMenuItem_Click); // // openStripMenuItem // this.openStripMenuItem.Name = "openStripMenuItem"; this.openStripMenuItem.Size = new System.Drawing.Size(121, 22); this.openStripMenuItem.Text = "打开"; this.openStripMenuItem.Click += new System.EventHandler(this.openStripMenuItem_Click); // // saveStripMenuItem // this.saveStripMenuItem.Name = "saveStripMenuItem"; this.saveStripMenuItem.Size = new System.Drawing.Size(121, 22); this.saveStripMenuItem.Text = "保存"; this.saveStripMenuItem.Click += new System.EventHandler(this.saveStripMenuItem_Click); // // saveAsStripMenuItem // this.saveAsStripMenuItem.Name = "saveAsStripMenuItem"; this.saveAsStripMenuItem.Size = new System.Drawing.Size(121, 22); this.saveAsStripMenuItem.Text = "另存为..."; this.saveAsStripMenuItem.Click += new System.EventHandler(this.saveAsStripMenuItem_Click); // // toolStripSeparator2 // this.toolStripSeparator2.Name = "toolStripSeparator2"; this.toolStripSeparator2.Size = new System.Drawing.Size(118, 6); // // aboutStripMenuItem // this.aboutStripMenuItem.Name = "aboutStripMenuItem"; this.aboutStripMenuItem.Size = new System.Drawing.Size(121, 22); this.aboutStripMenuItem.Text = "关于"; this.aboutStripMenuItem.Visible = false; this.aboutStripMenuItem.Click += new System.EventHandler(this.aboutStripMenuItem_Click); // // exitStripMenuItem // this.exitStripMenuItem.Name = "exitStripMenuItem"; this.exitStripMenuItem.Size = new System.Drawing.Size(121, 22); this.exitStripMenuItem.Text = "退出"; this.exitStripMenuItem.Click += new System.EventHandler(this.exitStripMenuItem_Click); // // tsbSave // this.tsbSave.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.tsbSave.Enabled = false; this.tsbSave.Image = ((System.Drawing.Image)(resources.GetObject("tsbSave.Image"))); this.tsbSave.ImageTransparentColor = System.Drawing.Color.Magenta; this.tsbSave.Name = "tsbSave"; this.tsbSave.Size = new System.Drawing.Size(25, 25); this.tsbSave.Text = "保存脚本"; this.tsbSave.Click += new System.EventHandler(this.tsbSave_Click); // // tsbRecord // this.tsbRecord.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.tsbRecord.Enabled = false; this.tsbRecord.Image = ((System.Drawing.Image)(resources.GetObject("tsbRecord.Image"))); this.tsbRecord.ImageTransparentColor = System.Drawing.Color.Magenta; this.tsbRecord.Name = "tsbRecord"; this.tsbRecord.Size = new System.Drawing.Size(25, 25); this.tsbRecord.Text = "开始录制"; this.tsbRecord.Click += new System.EventHandler(this.tsbRecord_Click); // // tsbStop // this.tsbStop.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.tsbStop.Enabled = false; this.tsbStop.Image = ((System.Drawing.Image)(resources.GetObject("tsbStop.Image"))); this.tsbStop.ImageTransparentColor = System.Drawing.Color.Magenta; this.tsbStop.Name = "tsbStop"; this.tsbStop.Size = new System.Drawing.Size(25, 25); this.tsbStop.Text = "停止录制"; this.tsbStop.Click += new System.EventHandler(this.tsbStop_Click); // // toolStripSeparator // this.toolStripSeparator.Name = "toolStripSeparator"; this.toolStripSeparator.Size = new System.Drawing.Size(6, 28); // // tsbRunCurrent // this.tsbRunCurrent.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.tsbRunCurrent.Enabled = false; this.tsbRunCurrent.Image = ((System.Drawing.Image)(resources.GetObject("tsbRunCurrent.Image"))); this.tsbRunCurrent.ImageTransparentColor = System.Drawing.Color.Magenta; this.tsbRunCurrent.Name = "tsbRunCurrent"; this.tsbRunCurrent.Size = new System.Drawing.Size(25, 25); this.tsbRunCurrent.Text = "运行"; this.tsbRunCurrent.Click += new System.EventHandler(this.tsbRunCurrent_Click); // // stepRunBtn // this.stepRunBtn.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.stepRunBtn.Enabled = false; this.stepRunBtn.Image = ((System.Drawing.Image)(resources.GetObject("stepRunBtn.Image"))); this.stepRunBtn.ImageTransparentColor = System.Drawing.Color.Magenta; this.stepRunBtn.Name = "stepRunBtn"; this.stepRunBtn.Size = new System.Drawing.Size(25, 25); this.stepRunBtn.Text = "单步执行"; this.stepRunBtn.Click += new System.EventHandler(this.stepRunBtn_Click); // // tsbRunStop // this.tsbRunStop.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.tsbRunStop.Enabled = false; this.tsbRunStop.Image = ((System.Drawing.Image)(resources.GetObject("tsbRunStop.Image"))); this.tsbRunStop.ImageTransparentColor = System.Drawing.Color.Magenta; this.tsbRunStop.Name = "tsbRunStop"; this.tsbRunStop.Size = new System.Drawing.Size(25, 25); this.tsbRunStop.ToolTipText = "停止运行"; this.tsbRunStop.Click += new System.EventHandler(this.tsbRunStop_Click); // // toolStripSeparator9 // this.toolStripSeparator9.Name = "toolStripSeparator9"; this.toolStripSeparator9.Size = new System.Drawing.Size(6, 28); // // tsbAddAction // this.tsbAddAction.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; this.tsbAddAction.BackColor = System.Drawing.SystemColors.Control; this.tsbAddAction.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.tsbAddAction.Image = ((System.Drawing.Image)(resources.GetObject("tsbAddAction.Image"))); this.tsbAddAction.ImageTransparentColor = System.Drawing.Color.Magenta; this.tsbAddAction.Name = "tsbAddAction"; this.tsbAddAction.Size = new System.Drawing.Size(37, 25); this.tsbAddAction.Text = "添加活动"; // // tsbFirst // this.tsbFirst.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.tsbFirst.Image = ((System.Drawing.Image)(resources.GetObject("tsbFirst.Image"))); this.tsbFirst.ImageTransparentColor = System.Drawing.Color.Magenta; this.tsbFirst.Name = "tsbFirst"; this.tsbFirst.Size = new System.Drawing.Size(25, 25); this.tsbFirst.Text = "第一行"; // // tsbPrevious // this.tsbPrevious.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.tsbPrevious.Image = ((System.Drawing.Image)(resources.GetObject("tsbPrevious.Image"))); this.tsbPrevious.ImageTransparentColor = System.Drawing.Color.Magenta; this.tsbPrevious.Name = "tsbPrevious"; this.tsbPrevious.Size = new System.Drawing.Size(25, 25); this.tsbPrevious.Text = "上一行"; // // tsbNext // this.tsbNext.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.tsbNext.Image = ((System.Drawing.Image)(resources.GetObject("tsbNext.Image"))); this.tsbNext.ImageTransparentColor = System.Drawing.Color.Magenta; this.tsbNext.Name = "tsbNext"; this.tsbNext.Size = new System.Drawing.Size(25, 25); this.tsbNext.Text = "下一行"; // // tsbLast // this.tsbLast.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.tsbLast.Image = ((System.Drawing.Image)(resources.GetObject("tsbLast.Image"))); this.tsbLast.ImageTransparentColor = System.Drawing.Color.Magenta; this.tsbLast.Name = "tsbLast"; this.tsbLast.Size = new System.Drawing.Size(25, 25); this.tsbLast.Text = "最后一行"; // // toolStripSeparator3 // this.toolStripSeparator3.Name = "toolStripSeparator3"; this.toolStripSeparator3.Size = new System.Drawing.Size(6, 28); // // helpStripButton // this.helpStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.helpStripButton.Image = ((System.Drawing.Image)(resources.GetObject("helpStripButton.Image"))); this.helpStripButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.helpStripButton.Name = "helpStripButton"; this.helpStripButton.Size = new System.Drawing.Size(25, 25); this.helpStripButton.ToolTipText = "关于"; this.helpStripButton.Click += new System.EventHandler(this.helpStripButton_Click); // // toolStrip1 // this.toolStrip1.ImageScalingSize = new System.Drawing.Size(21, 21); this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.fileDropDownButton, this.newToolStripButton, this.tsbSave, this.tsbRecord, this.tsbStop, this.toolStripSeparator, this.tsbRunCurrent, this.stepRunBtn, this.tsbBreakPoint, this.tsbRunStop, this.toolStripSeparator9, this.tsbAddAction, this.tsbFirst, this.tsbPrevious, this.tsbNext, this.tsbLast, this.toolStripSeparator3, this.toolStripSeparator1, this.feedbackButton, this.helpStripButton, this.updateBtn }); this.toolStrip1.Location = new System.Drawing.Point(0, 32); this.toolStrip1.Margin = new System.Windows.Forms.Padding(0, 0, 0, 5); this.toolStrip1.Name = "toolStrip1"; this.toolStrip1.Padding = new System.Windows.Forms.Padding(0); this.toolStrip1.RenderMode = System.Windows.Forms.ToolStripRenderMode.Professional; this.toolStrip1.Size = new System.Drawing.Size(725, 28); this.toolStrip1.TabIndex = 18; // // newToolStripButton // this.newToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.newToolStripButton.Image = ((System.Drawing.Image)(resources.GetObject("newToolStripButton.Image"))); this.newToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.newToolStripButton.Name = "newToolStripButton"; this.newToolStripButton.Size = new System.Drawing.Size(25, 25); this.newToolStripButton.Text = "新建项目"; this.newToolStripButton.Click += new System.EventHandler(this.newToolStripButton_Click); // // tsbBreakPoint // this.tsbBreakPoint.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.tsbBreakPoint.Image = ((System.Drawing.Image)(resources.GetObject("tsbBreakPoint.Image"))); this.tsbBreakPoint.ImageTransparentColor = System.Drawing.Color.Magenta; this.tsbBreakPoint.Name = "tsbBreakPoint"; this.tsbBreakPoint.Size = new System.Drawing.Size(25, 25); this.tsbBreakPoint.Text = "设置断点"; this.tsbBreakPoint.Click += new System.EventHandler(this.breakPoint_Click); // // feedbackButton // this.feedbackButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.feedbackButton.Image = ((System.Drawing.Image)(resources.GetObject("feedbackButton.Image"))); this.feedbackButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.feedbackButton.Name = "feedbackButton"; this.feedbackButton.Size = new System.Drawing.Size(25, 25); this.feedbackButton.Text = "意见反馈"; this.feedbackButton.Click += new System.EventHandler(this.feedbackButton_Click); // // updateBtn // this.updateBtn.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.updateBtn.Image = ((System.Drawing.Image)(resources.GetObject("updateBtn.Image"))); this.updateBtn.ImageTransparentColor = System.Drawing.Color.Magenta; this.updateBtn.Name = "updateBtn"; this.updateBtn.Size = new System.Drawing.Size(25, 25); this.updateBtn.Text = "系统升级"; this.updateBtn.Click += new System.EventHandler(this.updateBtn_Click); // // dockPanel // this.dockPanel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.dockPanel.Dock = System.Windows.Forms.DockStyle.Fill; this.dockPanel.DockBackColor = System.Drawing.SystemColors.AppWorkspace; this.dockPanel.DockBottomPortion = 150D; this.dockPanel.DockLeftPortion = 400D; this.dockPanel.DockRightPortion = 200D; this.dockPanel.DockTopPortion = 150D; this.dockPanel.Location = new System.Drawing.Point(0, 60); this.dockPanel.Margin = new System.Windows.Forms.Padding(7); this.dockPanel.Name = "dockPanel"; this.dockPanel.Size = new System.Drawing.Size(725, 284); dockPanelGradient4.EndColor = System.Drawing.SystemColors.ControlLight; dockPanelGradient4.StartColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(122)))), ((int)(((byte)(204))))); autoHideStripSkin2.DockStripGradient = dockPanelGradient4; tabGradient8.EndColor = System.Drawing.SystemColors.Control; tabGradient8.StartColor = System.Drawing.SystemColors.Control; tabGradient8.TextColor = System.Drawing.SystemColors.ControlDarkDark; autoHideStripSkin2.TabGradient = tabGradient8; autoHideStripSkin2.TextFont = new System.Drawing.Font("微软雅黑", 9F); dockPanelSkin2.AutoHideStripSkin = autoHideStripSkin2; tabGradient9.EndColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(122)))), ((int)(((byte)(204))))); tabGradient9.StartColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(122)))), ((int)(((byte)(204))))); tabGradient9.TextColor = System.Drawing.Color.White; dockPaneStripGradient2.ActiveTabGradient = tabGradient9; dockPanelGradient5.EndColor = System.Drawing.SystemColors.Control; dockPanelGradient5.StartColor = System.Drawing.SystemColors.Control; dockPaneStripGradient2.DockStripGradient = dockPanelGradient5; tabGradient10.EndColor = System.Drawing.SystemColors.InactiveCaption; tabGradient10.StartColor = System.Drawing.SystemColors.Control; tabGradient10.TextColor = System.Drawing.SystemColors.GrayText; dockPaneStripGradient2.InactiveTabGradient = tabGradient10; dockPaneStripSkin2.DocumentGradient = dockPaneStripGradient2; dockPaneStripSkin2.TextFont = new System.Drawing.Font("微软雅黑", 9F); tabGradient11.EndColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(170)))), ((int)(((byte)(220))))); tabGradient11.LinearGradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; tabGradient11.StartColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(122)))), ((int)(((byte)(204))))); tabGradient11.TextColor = System.Drawing.Color.White; dockPaneStripToolWindowGradient2.ActiveCaptionGradient = tabGradient11; tabGradient12.EndColor = System.Drawing.SystemColors.ControlLightLight; tabGradient12.StartColor = System.Drawing.SystemColors.ControlLightLight; tabGradient12.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(122)))), ((int)(((byte)(204))))); dockPaneStripToolWindowGradient2.ActiveTabGradient = tabGradient12; dockPanelGradient6.EndColor = System.Drawing.SystemColors.Control; dockPanelGradient6.StartColor = System.Drawing.SystemColors.Control; dockPaneStripToolWindowGradient2.DockStripGradient = dockPanelGradient6; tabGradient13.EndColor = System.Drawing.SystemColors.ControlDark; tabGradient13.LinearGradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; tabGradient13.StartColor = System.Drawing.SystemColors.Control; tabGradient13.TextColor = System.Drawing.SystemColors.GrayText; dockPaneStripToolWindowGradient2.InactiveCaptionGradient = tabGradient13; tabGradient14.EndColor = System.Drawing.SystemColors.Control; tabGradient14.StartColor = System.Drawing.SystemColors.Control; tabGradient14.TextColor = System.Drawing.SystemColors.GrayText; dockPaneStripToolWindowGradient2.InactiveTabGradient = tabGradient14; dockPaneStripSkin2.ToolWindowGradient = dockPaneStripToolWindowGradient2; dockPanelSkin2.DockPaneStripSkin = dockPaneStripSkin2; this.dockPanel.Skin = dockPanelSkin2; this.dockPanel.TabIndex = 20; // // toolStripSeparator1 // this.toolStripSeparator1.Name = "toolStripSeparator1"; this.toolStripSeparator1.Size = new System.Drawing.Size(6, 28); // // MakerView // this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit; this.BackColor = System.Drawing.SystemColors.Control; this.ClientSize = new System.Drawing.Size(725, 369); this.Controls.Add(this.dockPanel); this.Controls.Add(this.toolStrip1); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Name = "MakerView"; this.Text = "Bitrun"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Controls.SetChildIndex(this.browserToolbar, 0); this.Controls.SetChildIndex(this.toolStrip1, 0); this.Controls.SetChildIndex(this.dockPanel, 0); this.toolStrip1.ResumeLayout(false); this.toolStrip1.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Editor)); WeifenLuo.WinFormsUI.Docking.DockPanelSkin dockPanelSkin2 = new WeifenLuo.WinFormsUI.Docking.DockPanelSkin(); WeifenLuo.WinFormsUI.Docking.AutoHideStripSkin autoHideStripSkin2 = new WeifenLuo.WinFormsUI.Docking.AutoHideStripSkin(); WeifenLuo.WinFormsUI.Docking.DockPanelGradient dockPanelGradient4 = new WeifenLuo.WinFormsUI.Docking.DockPanelGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient8 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); WeifenLuo.WinFormsUI.Docking.DockPaneStripSkin dockPaneStripSkin2 = new WeifenLuo.WinFormsUI.Docking.DockPaneStripSkin(); WeifenLuo.WinFormsUI.Docking.DockPaneStripGradient dockPaneStripGradient2 = new WeifenLuo.WinFormsUI.Docking.DockPaneStripGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient9 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); WeifenLuo.WinFormsUI.Docking.DockPanelGradient dockPanelGradient5 = new WeifenLuo.WinFormsUI.Docking.DockPanelGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient10 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); WeifenLuo.WinFormsUI.Docking.DockPaneStripToolWindowGradient dockPaneStripToolWindowGradient2 = new WeifenLuo.WinFormsUI.Docking.DockPaneStripToolWindowGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient11 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient12 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); WeifenLuo.WinFormsUI.Docking.DockPanelGradient dockPanelGradient6 = new WeifenLuo.WinFormsUI.Docking.DockPanelGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient13 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient14 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); this.menuStrip1 = new System.Windows.Forms.MenuStrip(); this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.newToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.openToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.saveToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); this.quitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.zoomToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.x0_5ToolStripMenuItem2 = new System.Windows.Forms.ToolStripMenuItem(); this.defaultToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.x2ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.x4ToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); this.alignmentToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.noneToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.x48ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.x32ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.x24ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.x16ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.x8ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); this.x120ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.viewToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.availableSpritesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.tilePropertiesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.changeSpritesFolderToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.refreshAvailableSpritesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.changeTransparentColorToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator(); this.exportMapAsPNGToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.exportMapAsTGAToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.exportMapAsCSourceToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.exportMapAsBINImageToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.exportMapAsRaw15BitsImageToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.exportMapAsJoEngineTilesetStructToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator(); this.dToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.colladaToJoEngine3DToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.wavefrontobjToJoEngineSourceFileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.aboutToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.joMapEditorToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.helpToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.statusStrip1 = new System.Windows.Forms.StatusStrip(); this.InfoToolStripStatusLabel = new System.Windows.Forms.ToolStripStatusLabel(); this.dockPanel1 = new WeifenLuo.WinFormsUI.Docking.DockPanel(); this.menuStrip1.SuspendLayout(); this.statusStrip1.SuspendLayout(); this.SuspendLayout(); // // menuStrip1 // this.menuStrip1.BackColor = System.Drawing.Color.LightBlue; this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.fileToolStripMenuItem, this.zoomToolStripMenuItem, this.alignmentToolStripMenuItem, this.viewToolStripMenuItem, this.toolsToolStripMenuItem, this.dToolStripMenuItem, this.aboutToolStripMenuItem }); this.menuStrip1.Location = new System.Drawing.Point(0, 0); this.menuStrip1.Name = "menuStrip1"; this.menuStrip1.Size = new System.Drawing.Size(984, 24); this.menuStrip1.TabIndex = 0; this.menuStrip1.Text = "menuStrip1"; // // fileToolStripMenuItem // this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.newToolStripMenuItem, this.openToolStripMenuItem, this.saveToolStripMenuItem, this.toolStripSeparator2, this.quitToolStripMenuItem }); this.fileToolStripMenuItem.Image = global::JoMapEditor.Properties.Resources.file; this.fileToolStripMenuItem.Name = "fileToolStripMenuItem"; this.fileToolStripMenuItem.Size = new System.Drawing.Size(53, 20); this.fileToolStripMenuItem.Text = "File"; // // newToolStripMenuItem // this.newToolStripMenuItem.Image = global::JoMapEditor.Properties.Resources.file; this.newToolStripMenuItem.Name = "newToolStripMenuItem"; this.newToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.N))); this.newToolStripMenuItem.Size = new System.Drawing.Size(146, 22); this.newToolStripMenuItem.Text = "New"; this.newToolStripMenuItem.Click += new System.EventHandler(this.newToolStripMenuItem_Click); // // openToolStripMenuItem // this.openToolStripMenuItem.Image = global::JoMapEditor.Properties.Resources.openFolder; this.openToolStripMenuItem.Name = "openToolStripMenuItem"; this.openToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.O))); this.openToolStripMenuItem.Size = new System.Drawing.Size(146, 22); this.openToolStripMenuItem.Text = "Open"; this.openToolStripMenuItem.Click += new System.EventHandler(this.openToolStripMenuItem_Click); // // saveToolStripMenuItem // this.saveToolStripMenuItem.Image = global::JoMapEditor.Properties.Resources.save; this.saveToolStripMenuItem.Name = "saveToolStripMenuItem"; this.saveToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.S))); this.saveToolStripMenuItem.Size = new System.Drawing.Size(146, 22); this.saveToolStripMenuItem.Text = "Save"; this.saveToolStripMenuItem.Click += new System.EventHandler(this.saveToolStripMenuItem_Click); // // toolStripSeparator2 // this.toolStripSeparator2.Name = "toolStripSeparator2"; this.toolStripSeparator2.Size = new System.Drawing.Size(143, 6); // // quitToolStripMenuItem // this.quitToolStripMenuItem.Image = global::JoMapEditor.Properties.Resources.exitApplication; this.quitToolStripMenuItem.Name = "quitToolStripMenuItem"; this.quitToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Q))); this.quitToolStripMenuItem.Size = new System.Drawing.Size(146, 22); this.quitToolStripMenuItem.Text = "Quit"; this.quitToolStripMenuItem.Click += new System.EventHandler(this.quitToolStripMenuItem_Click); // // zoomToolStripMenuItem // this.zoomToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.x0_5ToolStripMenuItem2, this.defaultToolStripMenuItem, this.x2ToolStripMenuItem, this.x4ToolStripMenuItem1 }); this.zoomToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("zoomToolStripMenuItem.Image"))); this.zoomToolStripMenuItem.Name = "zoomToolStripMenuItem"; this.zoomToolStripMenuItem.Size = new System.Drawing.Size(67, 20); this.zoomToolStripMenuItem.Text = "Zoom"; // // x0_5ToolStripMenuItem2 // this.x0_5ToolStripMenuItem2.Name = "x0_5ToolStripMenuItem2"; this.x0_5ToolStripMenuItem2.Size = new System.Drawing.Size(137, 22); this.x0_5ToolStripMenuItem2.Text = "0.5 x"; this.x0_5ToolStripMenuItem2.Click += new System.EventHandler(this.x0_5ToolStripMenuItem2_Click); // // defaultToolStripMenuItem // this.defaultToolStripMenuItem.Checked = true; this.defaultToolStripMenuItem.CheckState = System.Windows.Forms.CheckState.Checked; this.defaultToolStripMenuItem.Name = "defaultToolStripMenuItem"; this.defaultToolStripMenuItem.Size = new System.Drawing.Size(137, 22); this.defaultToolStripMenuItem.Text = "1 x (Default)"; this.defaultToolStripMenuItem.Click += new System.EventHandler(this.defaultToolStripMenuItem_Click); // // x2ToolStripMenuItem // this.x2ToolStripMenuItem.Name = "x2ToolStripMenuItem"; this.x2ToolStripMenuItem.Size = new System.Drawing.Size(137, 22); this.x2ToolStripMenuItem.Text = "2 x"; this.x2ToolStripMenuItem.Click += new System.EventHandler(this.xToolStripMenuItem_Click); // // x4ToolStripMenuItem1 // this.x4ToolStripMenuItem1.Name = "x4ToolStripMenuItem1"; this.x4ToolStripMenuItem1.Size = new System.Drawing.Size(137, 22); this.x4ToolStripMenuItem1.Text = "4 x"; this.x4ToolStripMenuItem1.Click += new System.EventHandler(this.x4ToolStripMenuItem1_Click); // // alignmentToolStripMenuItem // this.alignmentToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.noneToolStripMenuItem, this.x48ToolStripMenuItem, this.x32ToolStripMenuItem, this.x24ToolStripMenuItem, this.x16ToolStripMenuItem, this.x8ToolStripMenuItem, this.toolStripSeparator1, this.x120ToolStripMenuItem }); this.alignmentToolStripMenuItem.Image = global::JoMapEditor.Properties.Resources.grid; this.alignmentToolStripMenuItem.Name = "alignmentToolStripMenuItem"; this.alignmentToolStripMenuItem.Size = new System.Drawing.Size(91, 20); this.alignmentToolStripMenuItem.Text = "Alignment"; // // noneToolStripMenuItem // this.noneToolStripMenuItem.Name = "noneToolStripMenuItem"; this.noneToolStripMenuItem.Size = new System.Drawing.Size(121, 22); this.noneToolStripMenuItem.Text = "None"; this.noneToolStripMenuItem.Click += new System.EventHandler(this.noneToolStripMenuItem_Click); // // x48ToolStripMenuItem // this.x48ToolStripMenuItem.Name = "x48ToolStripMenuItem"; this.x48ToolStripMenuItem.Size = new System.Drawing.Size(121, 22); this.x48ToolStripMenuItem.Text = "48 x 48"; this.x48ToolStripMenuItem.Click += new System.EventHandler(this.x48ToolStripMenuItem_Click); // // x32ToolStripMenuItem // this.x32ToolStripMenuItem.Name = "x32ToolStripMenuItem"; this.x32ToolStripMenuItem.Size = new System.Drawing.Size(121, 22); this.x32ToolStripMenuItem.Text = "32 x 32"; this.x32ToolStripMenuItem.Click += new System.EventHandler(this.x32ToolStripMenuItem_Click); // // x24ToolStripMenuItem // this.x24ToolStripMenuItem.Name = "x24ToolStripMenuItem"; this.x24ToolStripMenuItem.Size = new System.Drawing.Size(121, 22); this.x24ToolStripMenuItem.Text = "24 x 24"; this.x24ToolStripMenuItem.Click += new System.EventHandler(this.x24ToolStripMenuItem_Click); // // x16ToolStripMenuItem // this.x16ToolStripMenuItem.Name = "x16ToolStripMenuItem"; this.x16ToolStripMenuItem.Size = new System.Drawing.Size(121, 22); this.x16ToolStripMenuItem.Text = "16 x 16"; this.x16ToolStripMenuItem.Click += new System.EventHandler(this.x16ToolStripMenuItem_Click); // // x8ToolStripMenuItem // this.x8ToolStripMenuItem.Checked = true; this.x8ToolStripMenuItem.CheckState = System.Windows.Forms.CheckState.Checked; this.x8ToolStripMenuItem.Name = "x8ToolStripMenuItem"; this.x8ToolStripMenuItem.Size = new System.Drawing.Size(121, 22); this.x8ToolStripMenuItem.Text = "8 x 8"; this.x8ToolStripMenuItem.Click += new System.EventHandler(this.x8ToolStripMenuItem_Click); // // toolStripSeparator1 // this.toolStripSeparator1.Name = "toolStripSeparator1"; this.toolStripSeparator1.Size = new System.Drawing.Size(118, 6); // // x120ToolStripMenuItem // this.x120ToolStripMenuItem.Name = "x120ToolStripMenuItem"; this.x120ToolStripMenuItem.Size = new System.Drawing.Size(121, 22); this.x120ToolStripMenuItem.Text = "160 x 120"; this.x120ToolStripMenuItem.Click += new System.EventHandler(this.x120ToolStripMenuItem_Click); // // viewToolStripMenuItem // this.viewToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.availableSpritesToolStripMenuItem, this.tilePropertiesToolStripMenuItem }); this.viewToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("viewToolStripMenuItem.Image"))); this.viewToolStripMenuItem.Name = "viewToolStripMenuItem"; this.viewToolStripMenuItem.Size = new System.Drawing.Size(60, 20); this.viewToolStripMenuItem.Text = "View"; // // availableSpritesToolStripMenuItem // this.availableSpritesToolStripMenuItem.Enabled = false; this.availableSpritesToolStripMenuItem.Image = global::JoMapEditor.Properties.Resources.gif; this.availableSpritesToolStripMenuItem.Name = "availableSpritesToolStripMenuItem"; this.availableSpritesToolStripMenuItem.Size = new System.Drawing.Size(159, 22); this.availableSpritesToolStripMenuItem.Text = "Available sprites"; this.availableSpritesToolStripMenuItem.Click += new System.EventHandler(this.availableSpritesToolStripMenuItem_Click); // // tilePropertiesToolStripMenuItem // this.tilePropertiesToolStripMenuItem.Enabled = false; this.tilePropertiesToolStripMenuItem.Image = global::JoMapEditor.Properties.Resources.property; this.tilePropertiesToolStripMenuItem.Name = "tilePropertiesToolStripMenuItem"; this.tilePropertiesToolStripMenuItem.Size = new System.Drawing.Size(159, 22); this.tilePropertiesToolStripMenuItem.Text = "Tile properties"; this.tilePropertiesToolStripMenuItem.Click += new System.EventHandler(this.tilePropertiesToolStripMenuItem_Click); // // toolsToolStripMenuItem // this.toolsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.changeSpritesFolderToolStripMenuItem, this.refreshAvailableSpritesToolStripMenuItem, this.changeTransparentColorToolStripMenuItem, this.toolStripSeparator3, this.exportMapAsPNGToolStripMenuItem, this.exportMapAsTGAToolStripMenuItem, this.exportMapAsCSourceToolStripMenuItem, this.exportMapAsBINImageToolStripMenuItem, this.exportMapAsRaw15BitsImageToolStripMenuItem, this.exportMapAsJoEngineTilesetStructToolStripMenuItem, this.toolStripSeparator4 }); this.toolsToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("toolsToolStripMenuItem.Image"))); this.toolsToolStripMenuItem.Name = "toolsToolStripMenuItem"; this.toolsToolStripMenuItem.Size = new System.Drawing.Size(63, 20); this.toolsToolStripMenuItem.Text = "Tools"; this.toolsToolStripMenuItem.DropDownOpening += new System.EventHandler(this.toolsToolStripMenuItem_DropDownOpening); // // changeSpritesFolderToolStripMenuItem // this.changeSpritesFolderToolStripMenuItem.Image = global::JoMapEditor.Properties.Resources.imageFolder; this.changeSpritesFolderToolStripMenuItem.Name = "changeSpritesFolderToolStripMenuItem"; this.changeSpritesFolderToolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.F10; this.changeSpritesFolderToolStripMenuItem.Size = new System.Drawing.Size(268, 22); this.changeSpritesFolderToolStripMenuItem.Text = "Change sprites folder"; this.changeSpritesFolderToolStripMenuItem.Click += new System.EventHandler(this.changeSpritesFolderToolStripMenuItem_Click); // // refreshAvailableSpritesToolStripMenuItem // this.refreshAvailableSpritesToolStripMenuItem.Enabled = false; this.refreshAvailableSpritesToolStripMenuItem.Image = global::JoMapEditor.Properties.Resources.refresh; this.refreshAvailableSpritesToolStripMenuItem.Name = "refreshAvailableSpritesToolStripMenuItem"; this.refreshAvailableSpritesToolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.F5; this.refreshAvailableSpritesToolStripMenuItem.Size = new System.Drawing.Size(268, 22); this.refreshAvailableSpritesToolStripMenuItem.Text = "Refresh available sprites"; this.refreshAvailableSpritesToolStripMenuItem.Click += new System.EventHandler(this.refreshAvailableSpritesToolStripMenuItem_Click); // // changeTransparentColorToolStripMenuItem // this.changeTransparentColorToolStripMenuItem.Name = "changeTransparentColorToolStripMenuItem"; this.changeTransparentColorToolStripMenuItem.Size = new System.Drawing.Size(268, 22); this.changeTransparentColorToolStripMenuItem.Text = "Change transparent color"; this.changeTransparentColorToolStripMenuItem.Click += new System.EventHandler(this.changeTransparentColorToolStripMenuItem_Click); // // toolStripSeparator3 // this.toolStripSeparator3.Name = "toolStripSeparator3"; this.toolStripSeparator3.Size = new System.Drawing.Size(265, 6); // // exportMapAsPNGToolStripMenuItem // this.exportMapAsPNGToolStripMenuItem.Enabled = false; this.exportMapAsPNGToolStripMenuItem.Image = global::JoMapEditor.Properties.Resources.gif; this.exportMapAsPNGToolStripMenuItem.Name = "exportMapAsPNGToolStripMenuItem"; this.exportMapAsPNGToolStripMenuItem.Size = new System.Drawing.Size(268, 22); this.exportMapAsPNGToolStripMenuItem.Text = "Export map as PNG"; this.exportMapAsPNGToolStripMenuItem.Click += new System.EventHandler(this.exportMapAsPNGToolStripMenuItem_Click); // // exportMapAsTGAToolStripMenuItem // this.exportMapAsTGAToolStripMenuItem.Enabled = false; this.exportMapAsTGAToolStripMenuItem.Image = global::JoMapEditor.Properties.Resources.tga; this.exportMapAsTGAToolStripMenuItem.Name = "exportMapAsTGAToolStripMenuItem"; this.exportMapAsTGAToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.E))); this.exportMapAsTGAToolStripMenuItem.Size = new System.Drawing.Size(268, 22); this.exportMapAsTGAToolStripMenuItem.Text = "Export map as 24 bits TGA"; this.exportMapAsTGAToolStripMenuItem.Click += new System.EventHandler(this.exportMapAsTGAToolStripMenuItem_Click); // // exportMapAsCSourceToolStripMenuItem // this.exportMapAsCSourceToolStripMenuItem.Enabled = false; this.exportMapAsCSourceToolStripMenuItem.Image = global::JoMapEditor.Properties.Resources.c_lg; this.exportMapAsCSourceToolStripMenuItem.Name = "exportMapAsCSourceToolStripMenuItem"; this.exportMapAsCSourceToolStripMenuItem.Size = new System.Drawing.Size(268, 22); this.exportMapAsCSourceToolStripMenuItem.Text = "Export map as C source file"; this.exportMapAsCSourceToolStripMenuItem.Click += new System.EventHandler(this.exportMapAsCSourceToolStripMenuItem_Click); // // exportMapAsBINImageToolStripMenuItem // this.exportMapAsBINImageToolStripMenuItem.Enabled = false; this.exportMapAsBINImageToolStripMenuItem.Image = global::JoMapEditor.Properties.Resources.script; this.exportMapAsBINImageToolStripMenuItem.Name = "exportMapAsBINImageToolStripMenuItem"; this.exportMapAsBINImageToolStripMenuItem.Size = new System.Drawing.Size(268, 22); this.exportMapAsBINImageToolStripMenuItem.Text = "Export map as Jo Engine Bin file"; this.exportMapAsBINImageToolStripMenuItem.Click += new System.EventHandler(this.exportMapAsBINImageToolStripMenuItem_Click); // // exportMapAsRaw15BitsImageToolStripMenuItem // this.exportMapAsRaw15BitsImageToolStripMenuItem.Enabled = false; this.exportMapAsRaw15BitsImageToolStripMenuItem.Image = global::JoMapEditor.Properties.Resources.colorPicker; this.exportMapAsRaw15BitsImageToolStripMenuItem.Name = "exportMapAsRaw15BitsImageToolStripMenuItem"; this.exportMapAsRaw15BitsImageToolStripMenuItem.Size = new System.Drawing.Size(268, 22); this.exportMapAsRaw15BitsImageToolStripMenuItem.Text = "Export map as raw 15 bits image"; this.exportMapAsRaw15BitsImageToolStripMenuItem.Click += new System.EventHandler(this.exportMapAsRaw15BitsImageToolStripMenuItem_Click); // // exportMapAsJoEngineTilesetStructToolStripMenuItem // this.exportMapAsJoEngineTilesetStructToolStripMenuItem.Enabled = false; this.exportMapAsJoEngineTilesetStructToolStripMenuItem.Image = global::JoMapEditor.Properties.Resources.tileset; this.exportMapAsJoEngineTilesetStructToolStripMenuItem.Name = "exportMapAsJoEngineTilesetStructToolStripMenuItem"; this.exportMapAsJoEngineTilesetStructToolStripMenuItem.Size = new System.Drawing.Size(268, 22); this.exportMapAsJoEngineTilesetStructToolStripMenuItem.Text = "Export map as Jo Engine tileset struct"; this.exportMapAsJoEngineTilesetStructToolStripMenuItem.Click += new System.EventHandler(this.exportMapAsJoEngineTilesetStructToolStripMenuItem_Click); // // toolStripSeparator4 // this.toolStripSeparator4.Name = "toolStripSeparator4"; this.toolStripSeparator4.Size = new System.Drawing.Size(265, 6); // // dToolStripMenuItem // this.dToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.colladaToJoEngine3DToolStripMenuItem, this.wavefrontobjToJoEngineSourceFileToolStripMenuItem }); this.dToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("dToolStripMenuItem.Image"))); this.dToolStripMenuItem.Name = "dToolStripMenuItem"; this.dToolStripMenuItem.Size = new System.Drawing.Size(49, 20); this.dToolStripMenuItem.Text = "3D"; // // colladaToJoEngine3DToolStripMenuItem // this.colladaToJoEngine3DToolStripMenuItem.Image = global::JoMapEditor.Properties.Resources.cube_tool_icon; this.colladaToJoEngine3DToolStripMenuItem.Name = "colladaToJoEngine3DToolStripMenuItem"; this.colladaToJoEngine3DToolStripMenuItem.Size = new System.Drawing.Size(284, 22); this.colladaToJoEngine3DToolStripMenuItem.Text = "Collada (.dae) to Jo Engine source file"; this.colladaToJoEngine3DToolStripMenuItem.Click += new System.EventHandler(this.colladaToJoEngine3DToolStripMenuItem_Click); // // wavefrontobjToJoEngineSourceFileToolStripMenuItem // this.wavefrontobjToJoEngineSourceFileToolStripMenuItem.Image = global::JoMapEditor.Properties.Resources.cube_tool_icon; this.wavefrontobjToJoEngineSourceFileToolStripMenuItem.Name = "wavefrontobjToJoEngineSourceFileToolStripMenuItem"; this.wavefrontobjToJoEngineSourceFileToolStripMenuItem.Size = new System.Drawing.Size(284, 22); this.wavefrontobjToJoEngineSourceFileToolStripMenuItem.Text = "Wavefront (.obj) to Jo Engine source file"; this.wavefrontobjToJoEngineSourceFileToolStripMenuItem.Click += new System.EventHandler(this.wavefrontobjToJoEngineSourceFileToolStripMenuItem_Click); // // aboutToolStripMenuItem // this.aboutToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.joMapEditorToolStripMenuItem, this.helpToolStripMenuItem }); this.aboutToolStripMenuItem.Image = global::JoMapEditor.Properties.Resources.question_blue; this.aboutToolStripMenuItem.Name = "aboutToolStripMenuItem"; this.aboutToolStripMenuItem.Size = new System.Drawing.Size(68, 20); this.aboutToolStripMenuItem.Text = "About"; // // joMapEditorToolStripMenuItem // this.joMapEditorToolStripMenuItem.Image = global::JoMapEditor.Properties.Resources.sega_saturn_32; this.joMapEditorToolStripMenuItem.Name = "joMapEditorToolStripMenuItem"; this.joMapEditorToolStripMenuItem.Size = new System.Drawing.Size(146, 22); this.joMapEditorToolStripMenuItem.Text = "Jo Map Editor"; this.joMapEditorToolStripMenuItem.Click += new System.EventHandler(this.joMapEditorToolStripMenuItem_Click); // // helpToolStripMenuItem // this.helpToolStripMenuItem.Image = global::JoMapEditor.Properties.Resources.question_blue; this.helpToolStripMenuItem.Name = "helpToolStripMenuItem"; this.helpToolStripMenuItem.Size = new System.Drawing.Size(146, 22); this.helpToolStripMenuItem.Text = "Help"; this.helpToolStripMenuItem.Click += new System.EventHandler(this.helpToolStripMenuItem_Click); // // statusStrip1 // this.statusStrip1.BackColor = System.Drawing.SystemColors.Control; this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.InfoToolStripStatusLabel }); this.statusStrip1.Location = new System.Drawing.Point(0, 540); this.statusStrip1.Name = "statusStrip1"; this.statusStrip1.Size = new System.Drawing.Size(984, 22); this.statusStrip1.TabIndex = 1; this.statusStrip1.Text = "statusStrip1"; // // InfoToolStripStatusLabel // this.InfoToolStripStatusLabel.IsLink = true; this.InfoToolStripStatusLabel.Name = "InfoToolStripStatusLabel"; this.InfoToolStripStatusLabel.Size = new System.Drawing.Size(52, 17); this.InfoToolStripStatusLabel.Text = "File path"; this.InfoToolStripStatusLabel.Click += new System.EventHandler(this.InfoToolStripStatusLabel_Click); // // dockPanel1 // this.dockPanel1.ActiveAutoHideContent = null; this.dockPanel1.AllowDrop = true; this.dockPanel1.BackColor = System.Drawing.Color.White; this.dockPanel1.BackgroundImage = global::JoMapEditor.Properties.Resources.SegaSaturnLogo; this.dockPanel1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center; this.dockPanel1.Dock = System.Windows.Forms.DockStyle.Fill; this.dockPanel1.DockBackColor = System.Drawing.Color.Transparent; this.dockPanel1.Location = new System.Drawing.Point(0, 24); this.dockPanel1.Name = "dockPanel1"; this.dockPanel1.Size = new System.Drawing.Size(984, 516); dockPanelGradient4.EndColor = System.Drawing.SystemColors.ControlLight; dockPanelGradient4.StartColor = System.Drawing.SystemColors.ControlLight; autoHideStripSkin2.DockStripGradient = dockPanelGradient4; tabGradient8.EndColor = System.Drawing.SystemColors.Control; tabGradient8.StartColor = System.Drawing.SystemColors.Control; tabGradient8.TextColor = System.Drawing.SystemColors.ControlDarkDark; autoHideStripSkin2.TabGradient = tabGradient8; dockPanelSkin2.AutoHideStripSkin = autoHideStripSkin2; tabGradient9.EndColor = System.Drawing.SystemColors.ControlLightLight; tabGradient9.StartColor = System.Drawing.SystemColors.ControlLightLight; tabGradient9.TextColor = System.Drawing.SystemColors.ControlText; dockPaneStripGradient2.ActiveTabGradient = tabGradient9; dockPanelGradient5.EndColor = System.Drawing.SystemColors.Control; dockPanelGradient5.StartColor = System.Drawing.SystemColors.Control; dockPaneStripGradient2.DockStripGradient = dockPanelGradient5; tabGradient10.EndColor = System.Drawing.SystemColors.ControlLight; tabGradient10.StartColor = System.Drawing.SystemColors.ControlLight; tabGradient10.TextColor = System.Drawing.SystemColors.ControlText; dockPaneStripGradient2.InactiveTabGradient = tabGradient10; dockPaneStripSkin2.DocumentGradient = dockPaneStripGradient2; tabGradient11.EndColor = System.Drawing.SystemColors.ActiveCaption; tabGradient11.LinearGradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; tabGradient11.StartColor = System.Drawing.SystemColors.GradientActiveCaption; tabGradient11.TextColor = System.Drawing.SystemColors.ActiveCaptionText; dockPaneStripToolWindowGradient2.ActiveCaptionGradient = tabGradient11; tabGradient12.EndColor = System.Drawing.SystemColors.Control; tabGradient12.StartColor = System.Drawing.SystemColors.Control; tabGradient12.TextColor = System.Drawing.SystemColors.ControlText; dockPaneStripToolWindowGradient2.ActiveTabGradient = tabGradient12; dockPanelGradient6.EndColor = System.Drawing.SystemColors.ControlLight; dockPanelGradient6.StartColor = System.Drawing.SystemColors.ControlLight; dockPaneStripToolWindowGradient2.DockStripGradient = dockPanelGradient6; tabGradient13.EndColor = System.Drawing.SystemColors.GradientInactiveCaption; tabGradient13.LinearGradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; tabGradient13.StartColor = System.Drawing.SystemColors.GradientInactiveCaption; tabGradient13.TextColor = System.Drawing.SystemColors.ControlText; dockPaneStripToolWindowGradient2.InactiveCaptionGradient = tabGradient13; tabGradient14.EndColor = System.Drawing.Color.Transparent; tabGradient14.StartColor = System.Drawing.Color.Transparent; tabGradient14.TextColor = System.Drawing.SystemColors.ControlDarkDark; dockPaneStripToolWindowGradient2.InactiveTabGradient = tabGradient14; dockPaneStripSkin2.ToolWindowGradient = dockPaneStripToolWindowGradient2; dockPanelSkin2.DockPaneStripSkin = dockPaneStripSkin2; this.dockPanel1.Skin = dockPanelSkin2; this.dockPanel1.TabIndex = 0; this.dockPanel1.ActiveDocumentChanged += new System.EventHandler(this.dockPanel1_ActiveDocumentChanged); this.dockPanel1.DragDrop += new System.Windows.Forms.DragEventHandler(this.dockPanel1_DragDrop); this.dockPanel1.DragEnter += new System.Windows.Forms.DragEventHandler(this.dockPanel1_DragEnter); // // Editor // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.BackColor = System.Drawing.Color.White; this.ClientSize = new System.Drawing.Size(984, 562); this.Controls.Add(this.dockPanel1); this.Controls.Add(this.statusStrip1); this.Controls.Add(this.menuStrip1); this.DoubleBuffered = true; this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.IsMdiContainer = true; this.KeyPreview = true; this.MainMenuStrip = this.menuStrip1; this.MinimumSize = new System.Drawing.Size(500, 200); this.Name = "Editor"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Jo Map Editor v6.2"; this.menuStrip1.ResumeLayout(false); this.menuStrip1.PerformLayout(); this.statusStrip1.ResumeLayout(false); this.statusStrip1.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); }
private void InitializeComponent() { WeifenLuo.WinFormsUI.Docking.DockPanelSkin dockPanelSkin1 = new WeifenLuo.WinFormsUI.Docking.DockPanelSkin(); WeifenLuo.WinFormsUI.Docking.AutoHideStripSkin autoHideStripSkin1 = new WeifenLuo.WinFormsUI.Docking.AutoHideStripSkin(); WeifenLuo.WinFormsUI.Docking.DockPanelGradient dockPanelGradient1 = new WeifenLuo.WinFormsUI.Docking.DockPanelGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient1 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); WeifenLuo.WinFormsUI.Docking.DockPaneStripSkin dockPaneStripSkin1 = new WeifenLuo.WinFormsUI.Docking.DockPaneStripSkin(); WeifenLuo.WinFormsUI.Docking.DockPaneStripGradient dockPaneStripGradient1 = new WeifenLuo.WinFormsUI.Docking.DockPaneStripGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient2 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); WeifenLuo.WinFormsUI.Docking.DockPanelGradient dockPanelGradient2 = new WeifenLuo.WinFormsUI.Docking.DockPanelGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient3 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); WeifenLuo.WinFormsUI.Docking.DockPaneStripToolWindowGradient dockPaneStripToolWindowGradient1 = new WeifenLuo.WinFormsUI.Docking.DockPaneStripToolWindowGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient4 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient5 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); WeifenLuo.WinFormsUI.Docking.DockPanelGradient dockPanelGradient3 = new WeifenLuo.WinFormsUI.Docking.DockPanelGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient6 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient7 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); this.dockPanel = new WeifenLuo.WinFormsUI.Docking.DockPanel(); this.button1 = new System.Windows.Forms.Button(); this.textBox1 = new System.Windows.Forms.TextBox(); this.SuspendLayout(); // // dockPanel // this.dockPanel.Dock = System.Windows.Forms.DockStyle.Fill; this.dockPanel.Location = new System.Drawing.Point(0, 0); this.dockPanel.Name = "dockPanel"; this.dockPanel.Size = new System.Drawing.Size(408, 270); dockPanelGradient1.EndColor = System.Drawing.SystemColors.ControlLight; dockPanelGradient1.StartColor = System.Drawing.SystemColors.ControlLight; autoHideStripSkin1.DockStripGradient = dockPanelGradient1; tabGradient1.EndColor = System.Drawing.SystemColors.Control; tabGradient1.StartColor = System.Drawing.SystemColors.Control; tabGradient1.TextColor = System.Drawing.SystemColors.ControlDarkDark; autoHideStripSkin1.TabGradient = tabGradient1; autoHideStripSkin1.TextFont = new System.Drawing.Font("Segoe UI", 9F); dockPanelSkin1.AutoHideStripSkin = autoHideStripSkin1; tabGradient2.EndColor = System.Drawing.SystemColors.ControlLightLight; tabGradient2.StartColor = System.Drawing.SystemColors.ControlLightLight; tabGradient2.TextColor = System.Drawing.SystemColors.ControlText; dockPaneStripGradient1.ActiveTabGradient = tabGradient2; dockPanelGradient2.EndColor = System.Drawing.SystemColors.Control; dockPanelGradient2.StartColor = System.Drawing.SystemColors.Control; dockPaneStripGradient1.DockStripGradient = dockPanelGradient2; tabGradient3.EndColor = System.Drawing.SystemColors.ControlLight; tabGradient3.StartColor = System.Drawing.SystemColors.ControlLight; tabGradient3.TextColor = System.Drawing.SystemColors.ControlText; dockPaneStripGradient1.InactiveTabGradient = tabGradient3; dockPaneStripSkin1.DocumentGradient = dockPaneStripGradient1; dockPaneStripSkin1.TextFont = new System.Drawing.Font("Segoe UI", 9F); tabGradient4.EndColor = System.Drawing.SystemColors.ActiveCaption; tabGradient4.LinearGradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; tabGradient4.StartColor = System.Drawing.SystemColors.GradientActiveCaption; tabGradient4.TextColor = System.Drawing.SystemColors.ActiveCaptionText; dockPaneStripToolWindowGradient1.ActiveCaptionGradient = tabGradient4; tabGradient5.EndColor = System.Drawing.SystemColors.Control; tabGradient5.StartColor = System.Drawing.SystemColors.Control; tabGradient5.TextColor = System.Drawing.SystemColors.ControlText; dockPaneStripToolWindowGradient1.ActiveTabGradient = tabGradient5; dockPanelGradient3.EndColor = System.Drawing.SystemColors.ControlLight; dockPanelGradient3.StartColor = System.Drawing.SystemColors.ControlLight; dockPaneStripToolWindowGradient1.DockStripGradient = dockPanelGradient3; tabGradient6.EndColor = System.Drawing.SystemColors.InactiveCaption; tabGradient6.LinearGradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; tabGradient6.StartColor = System.Drawing.SystemColors.GradientInactiveCaption; tabGradient6.TextColor = System.Drawing.SystemColors.InactiveCaptionText; dockPaneStripToolWindowGradient1.InactiveCaptionGradient = tabGradient6; tabGradient7.EndColor = System.Drawing.Color.Transparent; tabGradient7.StartColor = System.Drawing.Color.Transparent; tabGradient7.TextColor = System.Drawing.SystemColors.ControlDarkDark; dockPaneStripToolWindowGradient1.InactiveTabGradient = tabGradient7; dockPaneStripSkin1.ToolWindowGradient = dockPaneStripToolWindowGradient1; dockPanelSkin1.DockPaneStripSkin = dockPaneStripSkin1; this.dockPanel.Skin = dockPanelSkin1; this.dockPanel.TabIndex = 0; this.button1.Location = new System.Drawing.Point(193, 211); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(75, 23); this.button1.TabIndex = 2; this.button1.Text = "button1"; this.button1.UseVisualStyleBackColor = true; this.textBox1.Location = new System.Drawing.Point(36, 12); this.textBox1.Multiline = true; this.textBox1.Name = "textBox1"; this.textBox1.Size = new System.Drawing.Size(331, 167); this.textBox1.TabIndex = 3; this.ClientSize = new System.Drawing.Size(408, 270); this.Controls.Add(this.textBox1); this.Controls.Add(this.button1); this.Controls.Add(this.dockPanel); this.Name = "MainForm"; this.ResumeLayout(false); this.PerformLayout(); DatabaseManager dm = new DatabaseManager("Default.sqlite"); // // This code will get moved to the GUI to support a "Gui Command Line" // Console.WriteLine ("type '@' to quit..."); // string line = ""; // while (true) { // line = Console.ReadLine (); // if (line.Contains ("@")) { // break; // } // GrammerLexer lex = new GrammerLexer (new ANTLRStringStream (line + Environment.NewLine)); // CommonTokenStream tokens = new CommonTokenStream (lex); // GrammerParser parser = new GrammerParser (tokens); // try { // ClauseNode p = parser.clause(); // PrinterVisitor pr = new PrinterVisitor(Console.Out); // //XMLPrinterVisitor xpr = new XMLPrinterVisitor(Console.Out); // DatabaseSaverVisitor dsv = new DatabaseSaverVisitor(dm); // // p.Accept(pr); // //p.Accept(xpr); // p.Accept(dsv); // } catch (TreeNodeException e) { // String hdr = parser.GetErrorHeader (e.recognitionException); // String msg = parser.GetErrorMessage (e.recognitionException, e.tokenNames); // // for (int i = 0; i < e.recognitionException.CharPositionInLine; i++) { // Console.Write (" "); // } // Console.WriteLine("^"); // Console.WriteLine("An error occured on: " + hdr + " " + msg); // } // } }
public static DockPanelSkin CreateVisualStudio2012Light() { var specialBlue = SystemColors.ActiveCaption; // Color.FromArgb(0xFF, 0x00, 0x7A, 0xCC); var dot = Color.FromArgb(80, 170, 220); var activeTab = SystemColors.ActiveCaption; var mouseHoverTab = SystemColors.Highlight; //Color.FromArgb(0xFF, 28, 151, 234); var inactiveTab = SystemColors.ActiveCaption; var lostFocusTab = Color.FromArgb(0xFF, 204, 206, 219); var skin = new DockPanelSkin(); if (Type.GetType("Mono.Runtime") == null) { skin.AutoHideStripSkin.DockStripGradient.StartColor = SystemColors.ControlLightLight; skin.AutoHideStripSkin.DockStripGradient.EndColor = SystemColors.ControlLight; skin.AutoHideStripSkin.TabGradient.TextColor = SystemColors.ActiveCaptionText; } else { skin.AutoHideStripSkin.DockStripGradient.StartColor = SystemColors.InactiveCaption; skin.AutoHideStripSkin.DockStripGradient.EndColor = SystemColors.InactiveCaption; skin.AutoHideStripSkin.TabGradient.TextColor = SystemColors.InactiveCaptionText; } skin.DockPaneStripSkin.DocumentGradient.DockStripGradient.StartColor = SystemColors.Control; skin.DockPaneStripSkin.DocumentGradient.DockStripGradient.EndColor = SystemColors.Control; skin.DockPaneStripSkin.DocumentGradient.ActiveTabGradient.StartColor = activeTab; skin.DockPaneStripSkin.DocumentGradient.ActiveTabGradient.EndColor = lostFocusTab; skin.DockPaneStripSkin.DocumentGradient.InactiveTabGradient.StartColor = inactiveTab; skin.DockPaneStripSkin.DocumentGradient.InactiveTabGradient.EndColor = mouseHoverTab; skin.DockPaneStripSkin.DocumentGradient.ActiveTabGradient.TextColor = SystemColors.ActiveCaptionText; skin.DockPaneStripSkin.DocumentGradient.InactiveTabGradient.TextColor = SystemColors.InactiveCaptionText; skin.DockPaneStripSkin.ToolWindowGradient.DockStripGradient.StartColor = SystemColors.Control; skin.DockPaneStripSkin.ToolWindowGradient.DockStripGradient.EndColor = SystemColors.Control; if (Type.GetType("Mono.Runtime") == null) { skin.DockPaneStripSkin.ToolWindowGradient.ActiveTabGradient.StartColor = SystemColors.ControlLightLight; skin.DockPaneStripSkin.ToolWindowGradient.ActiveTabGradient.EndColor = SystemColors.ControlLightLight; skin.DockPaneStripSkin.ToolWindowGradient.ActiveTabGradient.TextColor = SystemColors.ActiveCaptionText; } else { skin.DockPaneStripSkin.ToolWindowGradient.ActiveTabGradient.StartColor = SystemColors.ActiveCaption; skin.DockPaneStripSkin.ToolWindowGradient.ActiveTabGradient.EndColor = SystemColors.ActiveCaption; skin.DockPaneStripSkin.ToolWindowGradient.ActiveTabGradient.TextColor = SystemColors.ActiveCaptionText; } if (Type.GetType("Mono.Runtime") == null) { skin.DockPaneStripSkin.ToolWindowGradient.InactiveTabGradient.StartColor = SystemColors.Control; skin.DockPaneStripSkin.ToolWindowGradient.InactiveTabGradient.EndColor = SystemColors.Control; skin.DockPaneStripSkin.ToolWindowGradient.InactiveTabGradient.TextColor = SystemColors.InactiveCaptionText; } else { skin.DockPaneStripSkin.ToolWindowGradient.InactiveTabGradient.StartColor = SystemColors.InactiveCaption; skin.DockPaneStripSkin.ToolWindowGradient.InactiveTabGradient.EndColor = SystemColors.InactiveCaption; skin.DockPaneStripSkin.ToolWindowGradient.InactiveTabGradient.TextColor = SystemColors.InactiveCaptionText; } skin.DockPaneStripSkin.ToolWindowGradient.ActiveCaptionGradient.StartColor = specialBlue; skin.DockPaneStripSkin.ToolWindowGradient.ActiveCaptionGradient.EndColor = dot; skin.DockPaneStripSkin.ToolWindowGradient.ActiveCaptionGradient.LinearGradientMode = LinearGradientMode.Vertical; skin.DockPaneStripSkin.ToolWindowGradient.InactiveCaptionGradient.StartColor = SystemColors.Control; skin.DockPaneStripSkin.ToolWindowGradient.InactiveCaptionGradient.EndColor = SystemColors.ControlDark; skin.DockPaneStripSkin.ToolWindowGradient.InactiveCaptionGradient.LinearGradientMode = LinearGradientMode.Vertical; if (Type.GetType("Mono.Runtime") == null) { skin.DockPaneStripSkin.ToolWindowGradient.ActiveCaptionGradient.TextColor = SystemColors.ActiveCaptionText; skin.DockPaneStripSkin.ToolWindowGradient.InactiveCaptionGradient.TextColor = SystemColors.InactiveCaptionText; } else { skin.DockPaneStripSkin.ToolWindowGradient.ActiveCaptionGradient.TextColor = SystemColors.ActiveCaption; skin.DockPaneStripSkin.ToolWindowGradient.InactiveCaptionGradient.TextColor = SystemColors.InactiveCaption; } if (Type.GetType("Mono.Runtime") != null) { skin.DockPaneStripSkin.TextFont = SystemFonts.DefaultFont; } return(skin); }
public static DockPanelSkin CreateVisualStudio2010() { var skin = new DockPanelSkin(); skin.DockPaneStripSkin.DocumentGradient.ActiveTabGradient.TextColor = Color.Black; skin.DockPaneStripSkin.DocumentGradient.InactiveTabGradient.TextColor = Color.White; skin.DockPaneStripSkin.ToolWindowGradient.ActiveTabGradient.TextColor = Color.Black; skin.DockPaneStripSkin.ToolWindowGradient.InactiveTabGradient.TextColor = Color.White; skin.DockPaneStripSkin.ToolWindowGradient.ActiveCaptionGradient.TextColor = Color.Black; skin.DockPaneStripSkin.ToolWindowGradient.InactiveCaptionGradient.TextColor = Color.White; skin.AutoHideStripSkin.TabGradient.TextColor = Color.White; return skin; }
private static DockPanelSkin CreateAEGIS() { DockPanelSkin skin = new DockPanelSkin(); skin.AutoHideStripSkin.DockStripGradient.StartColor = Color.FromArgb(255, 233, 236, 250); skin.AutoHideStripSkin.DockStripGradient.EndColor = SystemColors.ControlLight; skin.AutoHideStripSkin.TabGradient.TextColor = SystemColors.ControlDarkDark; skin.DockPaneStripSkin.DocumentGradient.DockStripGradient.StartColor = SystemColors.Control; skin.DockPaneStripSkin.DocumentGradient.DockStripGradient.EndColor = SystemColors.Control; skin.DockPaneStripSkin.DocumentGradient.ActiveTabGradient.StartColor = SystemColors.ControlLightLight; skin.DockPaneStripSkin.DocumentGradient.ActiveTabGradient.EndColor = SystemColors.ControlLightLight; skin.DockPaneStripSkin.DocumentGradient.InactiveTabGradient.StartColor = SystemColors.ControlLight; skin.DockPaneStripSkin.DocumentGradient.InactiveTabGradient.EndColor = SystemColors.ControlLight; skin.DockPaneStripSkin.ToolWindowGradient.DockStripGradient.StartColor = SystemColors.ControlLight; skin.DockPaneStripSkin.ToolWindowGradient.DockStripGradient.EndColor = SystemColors.ControlLight; skin.DockPaneStripSkin.ToolWindowGradient.ActiveTabGradient.StartColor = SystemColors.Control; skin.DockPaneStripSkin.ToolWindowGradient.ActiveTabGradient.EndColor = SystemColors.Control; skin.DockPaneStripSkin.ToolWindowGradient.InactiveTabGradient.StartColor = Color.Transparent; skin.DockPaneStripSkin.ToolWindowGradient.InactiveTabGradient.EndColor = Color.Transparent; skin.DockPaneStripSkin.ToolWindowGradient.InactiveTabGradient.TextColor = SystemColors.ControlDarkDark; skin.DockPaneStripSkin.ToolWindowGradient.ActiveCaptionGradient.StartColor = SystemColors.GradientActiveCaption; skin.DockPaneStripSkin.ToolWindowGradient.ActiveCaptionGradient.EndColor = SystemColors.ActiveCaption; skin.DockPaneStripSkin.ToolWindowGradient.ActiveCaptionGradient.LinearGradientMode = LinearGradientMode.Vertical; skin.DockPaneStripSkin.ToolWindowGradient.ActiveCaptionGradient.TextColor = SystemColors.ActiveCaptionText; skin.DockPaneStripSkin.ToolWindowGradient.InactiveCaptionGradient.StartColor = SystemColors.GradientInactiveCaption; skin.DockPaneStripSkin.ToolWindowGradient.InactiveCaptionGradient.EndColor = SystemColors.InactiveCaption; skin.DockPaneStripSkin.ToolWindowGradient.InactiveCaptionGradient.LinearGradientMode = LinearGradientMode.Vertical; skin.DockPaneStripSkin.ToolWindowGradient.InactiveCaptionGradient.TextColor = SystemColors.InactiveCaptionText; return skin; }
/// <summary> /// 设计器支持所需的方法 - 不要 /// 使用代码编辑器修改此方法的内容。 /// </summary> private void InitializeComponent() { WeifenLuo.WinFormsUI.Docking.DockPanelSkin dockPanelSkin1 = new WeifenLuo.WinFormsUI.Docking.DockPanelSkin(); WeifenLuo.WinFormsUI.Docking.AutoHideStripSkin autoHideStripSkin1 = new WeifenLuo.WinFormsUI.Docking.AutoHideStripSkin(); WeifenLuo.WinFormsUI.Docking.DockPanelGradient dockPanelGradient1 = new WeifenLuo.WinFormsUI.Docking.DockPanelGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient1 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); WeifenLuo.WinFormsUI.Docking.DockPaneStripSkin dockPaneStripSkin1 = new WeifenLuo.WinFormsUI.Docking.DockPaneStripSkin(); WeifenLuo.WinFormsUI.Docking.DockPaneStripGradient dockPaneStripGradient1 = new WeifenLuo.WinFormsUI.Docking.DockPaneStripGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient2 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); WeifenLuo.WinFormsUI.Docking.DockPanelGradient dockPanelGradient2 = new WeifenLuo.WinFormsUI.Docking.DockPanelGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient3 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); WeifenLuo.WinFormsUI.Docking.DockPaneStripToolWindowGradient dockPaneStripToolWindowGradient1 = new WeifenLuo.WinFormsUI.Docking.DockPaneStripToolWindowGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient4 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient5 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); WeifenLuo.WinFormsUI.Docking.DockPanelGradient dockPanelGradient3 = new WeifenLuo.WinFormsUI.Docking.DockPanelGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient6 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient7 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); this.dockMain = new WeifenLuo.WinFormsUI.Docking.DockPanel(); this.menuStrip = new System.Windows.Forms.MenuStrip(); this.到货管理ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.到货信息录入ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.待处理物料检验ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.打印报检单ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.来料检验结果录入ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.来料检验结果查询ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.出库管理ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.出库发料单生成以及打印ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.出库管理ToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); this.原材料出库ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.半成品出库明细ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.成品出库明细ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.menuStrip.SuspendLayout(); this.SuspendLayout(); // // dockMain // this.dockMain.ActiveAutoHideContent = null; this.dockMain.Dock = System.Windows.Forms.DockStyle.Fill; this.dockMain.DockBackColor = System.Drawing.SystemColors.Control; this.dockMain.DocumentStyle = WeifenLuo.WinFormsUI.Docking.DocumentStyle.DockingWindow; this.dockMain.Location = new System.Drawing.Point(0, 33); this.dockMain.Name = "dockMain"; this.dockMain.Size = new System.Drawing.Size(1276, 693); dockPanelGradient1.EndColor = System.Drawing.SystemColors.ControlLight; dockPanelGradient1.StartColor = System.Drawing.SystemColors.ControlLight; autoHideStripSkin1.DockStripGradient = dockPanelGradient1; tabGradient1.EndColor = System.Drawing.SystemColors.Control; tabGradient1.StartColor = System.Drawing.SystemColors.Control; tabGradient1.TextColor = System.Drawing.SystemColors.ControlDarkDark; autoHideStripSkin1.TabGradient = tabGradient1; autoHideStripSkin1.TextFont = new System.Drawing.Font("微软雅黑", 9F); dockPanelSkin1.AutoHideStripSkin = autoHideStripSkin1; tabGradient2.EndColor = System.Drawing.SystemColors.ControlLightLight; tabGradient2.StartColor = System.Drawing.SystemColors.ControlLightLight; tabGradient2.TextColor = System.Drawing.SystemColors.ControlText; dockPaneStripGradient1.ActiveTabGradient = tabGradient2; dockPanelGradient2.EndColor = System.Drawing.SystemColors.Control; dockPanelGradient2.StartColor = System.Drawing.SystemColors.Control; dockPaneStripGradient1.DockStripGradient = dockPanelGradient2; tabGradient3.EndColor = System.Drawing.SystemColors.ControlLight; tabGradient3.StartColor = System.Drawing.SystemColors.ControlLight; tabGradient3.TextColor = System.Drawing.SystemColors.ControlText; dockPaneStripGradient1.InactiveTabGradient = tabGradient3; dockPaneStripSkin1.DocumentGradient = dockPaneStripGradient1; dockPaneStripSkin1.TextFont = new System.Drawing.Font("微软雅黑", 9F); tabGradient4.EndColor = System.Drawing.SystemColors.ActiveCaption; tabGradient4.LinearGradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; tabGradient4.StartColor = System.Drawing.SystemColors.GradientActiveCaption; tabGradient4.TextColor = System.Drawing.SystemColors.ActiveCaptionText; dockPaneStripToolWindowGradient1.ActiveCaptionGradient = tabGradient4; tabGradient5.EndColor = System.Drawing.SystemColors.Control; tabGradient5.StartColor = System.Drawing.SystemColors.Control; tabGradient5.TextColor = System.Drawing.SystemColors.ControlText; dockPaneStripToolWindowGradient1.ActiveTabGradient = tabGradient5; dockPanelGradient3.EndColor = System.Drawing.SystemColors.ControlLight; dockPanelGradient3.StartColor = System.Drawing.SystemColors.ControlLight; dockPaneStripToolWindowGradient1.DockStripGradient = dockPanelGradient3; tabGradient6.EndColor = System.Drawing.SystemColors.InactiveCaption; tabGradient6.LinearGradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; tabGradient6.StartColor = System.Drawing.SystemColors.GradientInactiveCaption; tabGradient6.TextColor = System.Drawing.SystemColors.InactiveCaptionText; dockPaneStripToolWindowGradient1.InactiveCaptionGradient = tabGradient6; tabGradient7.EndColor = System.Drawing.Color.Transparent; tabGradient7.StartColor = System.Drawing.Color.Transparent; tabGradient7.TextColor = System.Drawing.SystemColors.ControlDarkDark; dockPaneStripToolWindowGradient1.InactiveTabGradient = tabGradient7; dockPaneStripSkin1.ToolWindowGradient = dockPaneStripToolWindowGradient1; dockPanelSkin1.DockPaneStripSkin = dockPaneStripSkin1; this.dockMain.Skin = dockPanelSkin1; this.dockMain.TabIndex = 1; // // menuStrip // this.menuStrip.Font = new System.Drawing.Font("微软雅黑", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.menuStrip.GripStyle = System.Windows.Forms.ToolStripGripStyle.Visible; this.menuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.到货管理ToolStripMenuItem, this.待处理物料检验ToolStripMenuItem, this.出库管理ToolStripMenuItem, this.出库管理ToolStripMenuItem1 }); this.menuStrip.Location = new System.Drawing.Point(0, 0); this.menuStrip.Name = "menuStrip"; this.menuStrip.Size = new System.Drawing.Size(1276, 33); this.menuStrip.TabIndex = 0; this.menuStrip.Text = "menuStrip1"; // // 到货管理ToolStripMenuItem // this.到货管理ToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.到货信息录入ToolStripMenuItem }); this.到货管理ToolStripMenuItem.Name = "到货管理ToolStripMenuItem"; this.到货管理ToolStripMenuItem.Size = new System.Drawing.Size(138, 29); this.到货管理ToolStripMenuItem.Text = "到货信息管理"; // // 到货信息录入ToolStripMenuItem // this.到货信息录入ToolStripMenuItem.Name = "到货信息录入ToolStripMenuItem"; this.到货信息录入ToolStripMenuItem.Size = new System.Drawing.Size(293, 30); this.到货信息录入ToolStripMenuItem.Text = "到货信息查询及条码打印"; this.到货信息录入ToolStripMenuItem.Click += new System.EventHandler(this.ArriveRecode_Click); // // 待处理物料检验ToolStripMenuItem // this.待处理物料检验ToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.打印报检单ToolStripMenuItem, this.来料检验结果录入ToolStripMenuItem, this.来料检验结果查询ToolStripMenuItem }); this.待处理物料检验ToolStripMenuItem.Name = "待处理物料检验ToolStripMenuItem"; this.待处理物料检验ToolStripMenuItem.Size = new System.Drawing.Size(138, 29); this.待处理物料检验ToolStripMenuItem.Text = "物料检验管理"; // // 打印报检单ToolStripMenuItem // this.打印报检单ToolStripMenuItem.Name = "打印报检单ToolStripMenuItem"; this.打印报检单ToolStripMenuItem.Size = new System.Drawing.Size(236, 30); this.打印报检单ToolStripMenuItem.Text = "打印报检单"; this.打印报检单ToolStripMenuItem.Click += new System.EventHandler(this.PrintTestReport_Click); // // 来料检验结果录入ToolStripMenuItem // this.来料检验结果录入ToolStripMenuItem.Name = "来料检验结果录入ToolStripMenuItem"; this.来料检验结果录入ToolStripMenuItem.Size = new System.Drawing.Size(236, 30); this.来料检验结果录入ToolStripMenuItem.Text = "来料检验结果录入"; this.来料检验结果录入ToolStripMenuItem.Click += new System.EventHandler(this.AddTestRemark_Click); // // 来料检验结果查询ToolStripMenuItem // this.来料检验结果查询ToolStripMenuItem.Name = "来料检验结果查询ToolStripMenuItem"; this.来料检验结果查询ToolStripMenuItem.Size = new System.Drawing.Size(236, 30); this.来料检验结果查询ToolStripMenuItem.Text = "来料检验结果查询"; this.来料检验结果查询ToolStripMenuItem.Click += new System.EventHandler(this.QuaryTestRemark_Click); // // 出库管理ToolStripMenuItem // this.出库管理ToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.出库发料单生成以及打印ToolStripMenuItem }); this.出库管理ToolStripMenuItem.Name = "出库管理ToolStripMenuItem"; this.出库管理ToolStripMenuItem.Size = new System.Drawing.Size(100, 29); this.出库管理ToolStripMenuItem.Text = "入库管理"; // // 出库发料单生成以及打印ToolStripMenuItem // this.出库发料单生成以及打印ToolStripMenuItem.Name = "出库发料单生成以及打印ToolStripMenuItem"; this.出库发料单生成以及打印ToolStripMenuItem.Size = new System.Drawing.Size(331, 30); this.出库发料单生成以及打印ToolStripMenuItem.Text = "半成品信息录入以及条码打印"; this.出库发料单生成以及打印ToolStripMenuItem.Click += new System.EventHandler(this.SelfProduction_Click); // // 出库管理ToolStripMenuItem1 // this.出库管理ToolStripMenuItem1.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.原材料出库ToolStripMenuItem, this.半成品出库明细ToolStripMenuItem, this.成品出库明细ToolStripMenuItem }); this.出库管理ToolStripMenuItem1.Name = "出库管理ToolStripMenuItem1"; this.出库管理ToolStripMenuItem1.Size = new System.Drawing.Size(100, 29); this.出库管理ToolStripMenuItem1.Text = "出库管理"; // // 原材料出库ToolStripMenuItem // this.原材料出库ToolStripMenuItem.Name = "原材料出库ToolStripMenuItem"; this.原材料出库ToolStripMenuItem.Size = new System.Drawing.Size(217, 30); this.原材料出库ToolStripMenuItem.Text = "原材料出库明细"; this.原材料出库ToolStripMenuItem.Click += new System.EventHandler(this.原材料出库ToolStripMenuItem_Click); // // 半成品出库明细ToolStripMenuItem // this.半成品出库明细ToolStripMenuItem.Name = "半成品出库明细ToolStripMenuItem"; this.半成品出库明细ToolStripMenuItem.Size = new System.Drawing.Size(217, 30); this.半成品出库明细ToolStripMenuItem.Text = "半成品出库明细"; // // 成品出库明细ToolStripMenuItem // this.成品出库明细ToolStripMenuItem.Name = "成品出库明细ToolStripMenuItem"; this.成品出库明细ToolStripMenuItem.Size = new System.Drawing.Size(217, 30); this.成品出库明细ToolStripMenuItem.Text = "成品出库明细"; // // MainWindow // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(1276, 726); this.Controls.Add(this.dockMain); this.Controls.Add(this.menuStrip); this.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; this.MainMenuStrip = this.menuStrip; this.MaximizeBox = false; this.Name = "MainWindow"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "仓库管理系统"; this.Load += new System.EventHandler(this.MainWindow_Load); this.menuStrip.ResumeLayout(false); this.menuStrip.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); }
public void Attach(IWorkbench workbench) { wbForm = (DefaultWorkbench)workbench; wbForm.SuspendLayout(); wbForm.IsMdiContainer = true; dockPanel = new WeifenLuo.WinFormsUI.Docking.DockPanel(); dockPanel.ActiveAutoHideContent = null; WeifenLuo.WinFormsUI.Docking.DockPanelSkin dockPanelSkin1 = new WeifenLuo.WinFormsUI.Docking.DockPanelSkin(); WeifenLuo.WinFormsUI.Docking.AutoHideStripSkin autoHideStripSkin1 = new WeifenLuo.WinFormsUI.Docking.AutoHideStripSkin(); WeifenLuo.WinFormsUI.Docking.DockPanelGradient dockPanelGradient1 = new WeifenLuo.WinFormsUI.Docking.DockPanelGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient1 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); WeifenLuo.WinFormsUI.Docking.DockPaneStripSkin dockPaneStripSkin1 = new WeifenLuo.WinFormsUI.Docking.DockPaneStripSkin(); WeifenLuo.WinFormsUI.Docking.DockPaneStripGradient dockPaneStripGradient1 = new WeifenLuo.WinFormsUI.Docking.DockPaneStripGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient2 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); WeifenLuo.WinFormsUI.Docking.DockPanelGradient dockPanelGradient2 = new WeifenLuo.WinFormsUI.Docking.DockPanelGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient3 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); WeifenLuo.WinFormsUI.Docking.DockPaneStripToolWindowGradient dockPaneStripToolWindowGradient1 = new WeifenLuo.WinFormsUI.Docking.DockPaneStripToolWindowGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient4 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient5 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); WeifenLuo.WinFormsUI.Docking.DockPanelGradient dockPanelGradient3 = new WeifenLuo.WinFormsUI.Docking.DockPanelGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient6 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient7 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); this.dockPanel = new WeifenLuo.WinFormsUI.Docking.DockPanel(); this.dockPanel.ActiveAutoHideContent = null; this.dockPanel.Dock = System.Windows.Forms.DockStyle.Fill; this.dockPanel.DockBackColor = System.Drawing.SystemColors.Control; this.dockPanel.Location = new System.Drawing.Point(0, 49); this.dockPanel.Name = "dockPanel"; this.dockPanel.Size = new System.Drawing.Size(657, 264); dockPanelGradient1.EndColor = System.Drawing.SystemColors.ControlLight; dockPanelGradient1.StartColor = System.Drawing.SystemColors.ControlLight; autoHideStripSkin1.DockStripGradient = dockPanelGradient1; tabGradient1.EndColor = System.Drawing.SystemColors.Control; tabGradient1.StartColor = System.Drawing.SystemColors.Control; tabGradient1.TextColor = System.Drawing.SystemColors.ControlDarkDark; autoHideStripSkin1.TabGradient = tabGradient1; dockPanelSkin1.AutoHideStripSkin = autoHideStripSkin1; tabGradient2.EndColor = System.Drawing.SystemColors.ControlLightLight; tabGradient2.StartColor = System.Drawing.SystemColors.ControlLightLight; tabGradient2.TextColor = System.Drawing.SystemColors.ControlText; dockPaneStripGradient1.ActiveTabGradient = tabGradient2; dockPanelGradient2.EndColor = System.Drawing.SystemColors.Control; dockPanelGradient2.StartColor = System.Drawing.SystemColors.Control; dockPaneStripGradient1.DockStripGradient = dockPanelGradient2; tabGradient3.EndColor = System.Drawing.SystemColors.ControlLight; tabGradient3.StartColor = System.Drawing.SystemColors.ControlLight; tabGradient3.TextColor = System.Drawing.SystemColors.ControlText; dockPaneStripGradient1.InactiveTabGradient = tabGradient3; dockPaneStripSkin1.DocumentGradient = dockPaneStripGradient1; tabGradient4.EndColor = System.Drawing.SystemColors.ActiveCaption; tabGradient4.LinearGradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; tabGradient4.StartColor = System.Drawing.SystemColors.GradientActiveCaption; tabGradient4.TextColor = System.Drawing.SystemColors.ActiveCaptionText; dockPaneStripToolWindowGradient1.ActiveCaptionGradient = tabGradient4; tabGradient5.EndColor = System.Drawing.SystemColors.Control; tabGradient5.StartColor = System.Drawing.SystemColors.Control; tabGradient5.TextColor = System.Drawing.SystemColors.ControlText; dockPaneStripToolWindowGradient1.ActiveTabGradient = tabGradient5; dockPanelGradient3.EndColor = System.Drawing.SystemColors.ControlLight; dockPanelGradient3.StartColor = System.Drawing.SystemColors.ControlLight; dockPaneStripToolWindowGradient1.DockStripGradient = dockPanelGradient3; tabGradient6.EndColor = System.Drawing.SystemColors.GradientInactiveCaption; tabGradient6.LinearGradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; tabGradient6.StartColor = System.Drawing.SystemColors.GradientInactiveCaption; tabGradient6.TextColor = System.Drawing.SystemColors.ControlText; dockPaneStripToolWindowGradient1.InactiveCaptionGradient = tabGradient6; tabGradient7.EndColor = System.Drawing.Color.Transparent; tabGradient7.StartColor = System.Drawing.Color.Transparent; tabGradient7.TextColor = System.Drawing.SystemColors.ControlDarkDark; dockPaneStripToolWindowGradient1.InactiveTabGradient = tabGradient7; dockPaneStripSkin1.ToolWindowGradient = dockPaneStripToolWindowGradient1; dockPanelSkin1.DockPaneStripSkin = dockPaneStripSkin1; this.dockPanel.Skin = dockPanelSkin1; dockPanel.Dock = DockStyle.Fill; wbForm.Controls.Add(dockPanel); wbForm.Controls.Add(wbForm.TopToolStrip); //添加工具条 wbForm.Controls.Add(wbForm.TopMenu); //添加主菜单 LoadConfiguration(); ShowPads(); //ShowViewContents(); RedrawAllComponents(); wbForm.ResumeLayout(false); }
public DockingTheme() { Skin = new DockPanelSkin(); Palette.PropertyChanged += Palette_PropertyChanged; Palette_PropertyChanged(null, null); }
void InitailzeDock() { WeifenLuo.WinFormsUI.Docking.DockPanelSkin dockPanelSkin1 = new WeifenLuo.WinFormsUI.Docking.DockPanelSkin(); WeifenLuo.WinFormsUI.Docking.AutoHideStripSkin autoHideStripSkin1 = new WeifenLuo.WinFormsUI.Docking.AutoHideStripSkin(); WeifenLuo.WinFormsUI.Docking.DockPanelGradient dockPanelGradient1 = new WeifenLuo.WinFormsUI.Docking.DockPanelGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient1 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); WeifenLuo.WinFormsUI.Docking.DockPaneStripSkin dockPaneStripSkin1 = new WeifenLuo.WinFormsUI.Docking.DockPaneStripSkin(); WeifenLuo.WinFormsUI.Docking.DockPaneStripGradient dockPaneStripGradient1 = new WeifenLuo.WinFormsUI.Docking.DockPaneStripGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient2 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); WeifenLuo.WinFormsUI.Docking.DockPanelGradient dockPanelGradient2 = new WeifenLuo.WinFormsUI.Docking.DockPanelGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient3 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); WeifenLuo.WinFormsUI.Docking.DockPaneStripToolWindowGradient dockPaneStripToolWindowGradient1 = new WeifenLuo.WinFormsUI.Docking.DockPaneStripToolWindowGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient4 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient5 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); WeifenLuo.WinFormsUI.Docking.DockPanelGradient dockPanelGradient3 = new WeifenLuo.WinFormsUI.Docking.DockPanelGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient6 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient7 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); // // dockPanel // dockPanel.AccessibleDescription = null; dockPanel.AccessibleName = null; dockPanel.BackColor = System.Drawing.Color.Silver; dockPanel.BackgroundImage = null; dockPanel.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; dockPanel.DefaultFloatWindowSize = new System.Drawing.Size(500, 400); dockPanel.DocumentTabStripLocation = global::SS.Ynote.Classic.Properties.Settings.Default.TabLocation; dockPanel.Font = null; dockPanel.Dock = DockStyle.Fill; dockPanel.Name = "dockPanel"; dockPanel.ShowDocumentIcon = global::SS.Ynote.Classic.Properties.Settings.Default.ShowTabIcon; dockPanelGradient1.EndColor = System.Drawing.SystemColors.ControlLight; dockPanelGradient1.StartColor = System.Drawing.SystemColors.ControlLight; autoHideStripSkin1.DockStripGradient = dockPanelGradient1; tabGradient1.EndColor = System.Drawing.SystemColors.Control; tabGradient1.StartColor = System.Drawing.SystemColors.Control; tabGradient1.TextColor = System.Drawing.SystemColors.ControlDarkDark; autoHideStripSkin1.TabGradient = tabGradient1; autoHideStripSkin1.TextFont = new System.Drawing.Font("Segoe UI", 9F); dockPanelSkin1.AutoHideStripSkin = autoHideStripSkin1; tabGradient2.EndColor = System.Drawing.SystemColors.ControlLightLight; tabGradient2.StartColor = System.Drawing.SystemColors.ControlLightLight; tabGradient2.TextColor = System.Drawing.SystemColors.ControlText; dockPaneStripGradient1.ActiveTabGradient = tabGradient2; dockPanelGradient2.EndColor = System.Drawing.SystemColors.Control; dockPanelGradient2.StartColor = System.Drawing.SystemColors.Control; dockPaneStripGradient1.DockStripGradient = dockPanelGradient2; tabGradient3.EndColor = System.Drawing.SystemColors.ControlLight; tabGradient3.StartColor = System.Drawing.SystemColors.ControlLight; tabGradient3.TextColor = System.Drawing.SystemColors.ControlText; dockPaneStripGradient1.InactiveTabGradient = tabGradient3; dockPaneStripSkin1.DocumentGradient = dockPaneStripGradient1; dockPaneStripSkin1.TextFont = new System.Drawing.Font("Segoe UI", 9F); tabGradient4.EndColor = System.Drawing.SystemColors.ActiveCaption; tabGradient4.LinearGradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; tabGradient4.StartColor = System.Drawing.SystemColors.GradientActiveCaption; tabGradient4.TextColor = System.Drawing.SystemColors.ActiveCaptionText; dockPaneStripToolWindowGradient1.ActiveCaptionGradient = tabGradient4; tabGradient5.EndColor = System.Drawing.SystemColors.Control; tabGradient5.StartColor = System.Drawing.SystemColors.Control; tabGradient5.TextColor = System.Drawing.SystemColors.ControlText; dockPaneStripToolWindowGradient1.ActiveTabGradient = tabGradient5; dockPanelGradient3.EndColor = System.Drawing.SystemColors.ControlLight; dockPanelGradient3.StartColor = System.Drawing.SystemColors.ControlLight; dockPaneStripToolWindowGradient1.DockStripGradient = dockPanelGradient3; tabGradient6.EndColor = System.Drawing.SystemColors.InactiveCaption; tabGradient6.LinearGradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; tabGradient6.StartColor = System.Drawing.SystemColors.GradientInactiveCaption; tabGradient6.TextColor = System.Drawing.SystemColors.InactiveCaptionText; dockPaneStripToolWindowGradient1.InactiveCaptionGradient = tabGradient6; tabGradient7.EndColor = System.Drawing.Color.Transparent; tabGradient7.StartColor = System.Drawing.Color.Transparent; tabGradient7.TextColor = System.Drawing.SystemColors.ControlDarkDark; dockPaneStripToolWindowGradient1.InactiveTabGradient = tabGradient7; dockPaneStripSkin1.ToolWindowGradient = dockPaneStripToolWindowGradient1; dockPanelSkin1.DockPaneStripSkin = dockPaneStripSkin1; dockPanel.Skin = dockPanelSkin1; dockPanel.ActiveContentChanged += new System.EventHandler(this.dockPanel_ActiveContentChanged); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm)); WeifenLuo.WinFormsUI.Docking.DockPanelSkin dockPanelSkin1 = new WeifenLuo.WinFormsUI.Docking.DockPanelSkin(); WeifenLuo.WinFormsUI.Docking.AutoHideStripSkin autoHideStripSkin1 = new WeifenLuo.WinFormsUI.Docking.AutoHideStripSkin(); WeifenLuo.WinFormsUI.Docking.DockPanelGradient dockPanelGradient1 = new WeifenLuo.WinFormsUI.Docking.DockPanelGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient1 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); WeifenLuo.WinFormsUI.Docking.DockPaneStripSkin dockPaneStripSkin1 = new WeifenLuo.WinFormsUI.Docking.DockPaneStripSkin(); WeifenLuo.WinFormsUI.Docking.DockPaneStripGradient dockPaneStripGradient1 = new WeifenLuo.WinFormsUI.Docking.DockPaneStripGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient2 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); WeifenLuo.WinFormsUI.Docking.DockPanelGradient dockPanelGradient2 = new WeifenLuo.WinFormsUI.Docking.DockPanelGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient3 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); WeifenLuo.WinFormsUI.Docking.DockPaneStripToolWindowGradient dockPaneStripToolWindowGradient1 = new WeifenLuo.WinFormsUI.Docking.DockPaneStripToolWindowGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient4 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient5 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); WeifenLuo.WinFormsUI.Docking.DockPanelGradient dockPanelGradient3 = new WeifenLuo.WinFormsUI.Docking.DockPanelGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient6 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient7 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); this.statusStrip1 = new System.Windows.Forms.StatusStrip(); this.lblStatus = new System.Windows.Forms.ToolStripStatusLabel(); this.status_ = new System.Windows.Forms.ToolStripStatusLabel(); this.menuStrip = new System.Windows.Forms.MenuStrip(); this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.openDatabaseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.importToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripSeparator(); this.exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripMenuItem3 = new System.Windows.Forms.ToolStripSeparator(); this.pageSetupToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.printToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.printPreviewToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.viewToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.indexMenuItem_ = new System.Windows.Forms.ToolStripMenuItem(); this.searchMenuItem_ = new System.Windows.Forms.ToolStripMenuItem(); this.optionsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.fontMenuItem_ = new System.Windows.Forms.ToolStripMenuItem(); this.settingsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.wikiDomainToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.helpToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.donateToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripMenuItem2 = new System.Windows.Forms.ToolStripSeparator(); this.aboutToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.stripNavigation = new System.Windows.Forms.ToolStrip(); this.btnBack = new System.Windows.Forms.ToolStripButton(); this.btnForward = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); this.btnStop = new System.Windows.Forms.ToolStripButton(); this.lblNavigate = new System.Windows.Forms.ToolStripLabel(); this.cboNavigate = new System.Windows.Forms.ToolStripComboBox(); this.btnGo = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); this.toolStripLabel1 = new System.Windows.Forms.ToolStripLabel(); this.cboLanguage = new System.Windows.Forms.ToolStripComboBox(); this.openFileDialog = new System.Windows.Forms.OpenFileDialog(); this.dockPanel_ = new WeifenLuo.WinFormsUI.Docking.DockPanel(); this.dockContent_ = new WeifenLuo.WinFormsUI.Docking.DockContent(); this.statusStrip1.SuspendLayout(); this.menuStrip.SuspendLayout(); this.stripNavigation.SuspendLayout(); this.SuspendLayout(); // // statusStrip1 // this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.lblStatus, this.status_}); this.statusStrip1.Location = new System.Drawing.Point(0, 495); this.statusStrip1.Name = "statusStrip1"; this.statusStrip1.Size = new System.Drawing.Size(792, 22); this.statusStrip1.TabIndex = 2; this.statusStrip1.Text = "statusStrip1"; // // lblStatus // this.lblStatus.Name = "lblStatus"; this.lblStatus.Size = new System.Drawing.Size(0, 17); // // status_ // this.status_.Name = "status_"; this.status_.Size = new System.Drawing.Size(0, 17); // // menuStrip // this.menuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.fileToolStripMenuItem, this.viewToolStripMenuItem, this.optionsToolStripMenuItem, this.helpToolStripMenuItem}); this.menuStrip.Location = new System.Drawing.Point(0, 0); this.menuStrip.Name = "menuStrip"; this.menuStrip.Size = new System.Drawing.Size(792, 24); this.menuStrip.TabIndex = 3; this.menuStrip.Text = "menuStrip1"; // // fileToolStripMenuItem // this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.openDatabaseToolStripMenuItem, this.importToolStripMenuItem, this.toolStripMenuItem1, this.pageSetupToolStripMenuItem, this.printToolStripMenuItem, this.printPreviewToolStripMenuItem, this.toolStripMenuItem3, this.exitToolStripMenuItem}); this.fileToolStripMenuItem.Name = "fileToolStripMenuItem"; this.fileToolStripMenuItem.Size = new System.Drawing.Size(40, 20); this.fileToolStripMenuItem.Text = "&File"; // // openDatabaseToolStripMenuItem // this.openDatabaseToolStripMenuItem.Name = "openDatabaseToolStripMenuItem"; this.openDatabaseToolStripMenuItem.Size = new System.Drawing.Size(175, 22); this.openDatabaseToolStripMenuItem.Text = "&Open Database..."; this.openDatabaseToolStripMenuItem.Click += new System.EventHandler(this.OpenClick); // // importToolStripMenuItem // this.importToolStripMenuItem.Name = "importToolStripMenuItem"; this.importToolStripMenuItem.Size = new System.Drawing.Size(175, 22); this.importToolStripMenuItem.Text = "&Import..."; this.importToolStripMenuItem.Click += new System.EventHandler(this.importToolStripMenuItem_Click); // // toolStripMenuItem1 // this.toolStripMenuItem1.Name = "toolStripMenuItem1"; this.toolStripMenuItem1.Size = new System.Drawing.Size(172, 6); // // exitToolStripMenuItem // this.exitToolStripMenuItem.Name = "exitToolStripMenuItem"; this.exitToolStripMenuItem.Size = new System.Drawing.Size(175, 22); this.exitToolStripMenuItem.Text = "E&xit"; this.exitToolStripMenuItem.Click += new System.EventHandler(this.ExitClick); // // toolStripMenuItem3 // this.toolStripMenuItem3.Name = "toolStripMenuItem3"; this.toolStripMenuItem3.Size = new System.Drawing.Size(172, 6); // // pageSetupToolStripMenuItem // this.pageSetupToolStripMenuItem.Name = "pageSetupToolStripMenuItem"; this.pageSetupToolStripMenuItem.Size = new System.Drawing.Size(175, 22); this.pageSetupToolStripMenuItem.Text = "Page Setup..."; this.pageSetupToolStripMenuItem.Click += new System.EventHandler(this.pageSetupToolStripMenuItem_Click); // // printToolStripMenuItem // this.printToolStripMenuItem.Name = "printToolStripMenuItem"; this.printToolStripMenuItem.Size = new System.Drawing.Size(175, 22); this.printToolStripMenuItem.Text = "&Print..."; this.printToolStripMenuItem.Click += new System.EventHandler(this.printToolStripMenuItem_Click); // // printPreviewToolStripMenuItem // this.printPreviewToolStripMenuItem.Name = "printPreviewToolStripMenuItem"; this.printPreviewToolStripMenuItem.Size = new System.Drawing.Size(175, 22); this.printPreviewToolStripMenuItem.Text = "Print Preview..."; this.printPreviewToolStripMenuItem.Click += new System.EventHandler(this.printPreviewToolStripMenuItem_Click); // // viewToolStripMenuItem // this.viewToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.indexMenuItem_, this.searchMenuItem_}); this.viewToolStripMenuItem.Name = "viewToolStripMenuItem"; this.viewToolStripMenuItem.Size = new System.Drawing.Size(48, 20); this.viewToolStripMenuItem.Text = "&View"; this.viewToolStripMenuItem.DropDownOpening += new System.EventHandler(this.viewMenuItem_DropDownOpening); // // indexMenuItem_ // this.indexMenuItem_.CheckOnClick = true; this.indexMenuItem_.Name = "indexMenuItem_"; this.indexMenuItem_.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.I))); this.indexMenuItem_.Size = new System.Drawing.Size(147, 22); this.indexMenuItem_.Text = "&Index"; this.indexMenuItem_.Click += new System.EventHandler(this.indexMenuItem__Click); // // searchMenuItem_ // this.searchMenuItem_.Name = "searchMenuItem_"; this.searchMenuItem_.Size = new System.Drawing.Size(147, 22); this.searchMenuItem_.Text = "&Search"; this.searchMenuItem_.Click += new System.EventHandler(this.searchToolStripMenuItem_Click); // // optionsToolStripMenuItem // this.optionsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.fontMenuItem_, this.settingsToolStripMenuItem, this.wikiDomainToolStripMenuItem}); this.optionsToolStripMenuItem.Name = "optionsToolStripMenuItem"; this.optionsToolStripMenuItem.Size = new System.Drawing.Size(63, 20); this.optionsToolStripMenuItem.Text = "&Options"; // // fontMenuItem_ // this.fontMenuItem_.Name = "fontMenuItem_"; this.fontMenuItem_.Size = new System.Drawing.Size(165, 22); this.fontMenuItem_.Text = "&Font..."; this.fontMenuItem_.Click += new System.EventHandler(this.fontMenuItem__Click); // // settingsToolStripMenuItem // this.settingsToolStripMenuItem.Name = "settingsToolStripMenuItem"; this.settingsToolStripMenuItem.Size = new System.Drawing.Size(165, 22); this.settingsToolStripMenuItem.Text = "&Settings..."; this.settingsToolStripMenuItem.Click += new System.EventHandler(this.settingsToolStripMenuItem_Click); // // wikiDomainToolStripMenuItem // this.wikiDomainToolStripMenuItem.Name = "wikiDomainToolStripMenuItem"; this.wikiDomainToolStripMenuItem.Size = new System.Drawing.Size(165, 22); this.wikiDomainToolStripMenuItem.Text = "Wiki &Domains..."; this.wikiDomainToolStripMenuItem.Click += new System.EventHandler(this.wikiDomainToolStripMenuItem_Click); // // helpToolStripMenuItem // this.helpToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.donateToolStripMenuItem, this.toolStripMenuItem2, this.aboutToolStripMenuItem}); this.helpToolStripMenuItem.Name = "helpToolStripMenuItem"; this.helpToolStripMenuItem.Size = new System.Drawing.Size(45, 20); this.helpToolStripMenuItem.Text = "&Help"; // // donateToolStripMenuItem // this.donateToolStripMenuItem.Name = "donateToolStripMenuItem"; this.donateToolStripMenuItem.Size = new System.Drawing.Size(116, 22); this.donateToolStripMenuItem.Text = "&Donate"; // // toolStripMenuItem2 // this.toolStripMenuItem2.Name = "toolStripMenuItem2"; this.toolStripMenuItem2.Size = new System.Drawing.Size(113, 6); // // aboutToolStripMenuItem // this.aboutToolStripMenuItem.Name = "aboutToolStripMenuItem"; this.aboutToolStripMenuItem.Size = new System.Drawing.Size(116, 22); this.aboutToolStripMenuItem.Text = "&About"; // // stripNavigation // this.stripNavigation.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden; this.stripNavigation.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.btnBack, this.btnForward, this.toolStripSeparator1, this.btnStop, this.lblNavigate, this.cboNavigate, this.btnGo, this.toolStripSeparator2, this.toolStripLabel1, this.cboLanguage}); this.stripNavigation.Location = new System.Drawing.Point(0, 24); this.stripNavigation.Name = "stripNavigation"; this.stripNavigation.Size = new System.Drawing.Size(792, 25); this.stripNavigation.TabIndex = 4; this.stripNavigation.Resize += new System.EventHandler(this.stripNavigation_Resize); // // btnBack // this.btnBack.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.btnBack.Image = ((System.Drawing.Image)(resources.GetObject("btnBack.Image"))); this.btnBack.ImageTransparentColor = System.Drawing.Color.Magenta; this.btnBack.Name = "btnBack"; this.btnBack.Size = new System.Drawing.Size(23, 22); this.btnBack.Text = "toolStripButton1"; this.btnBack.ToolTipText = "Back"; this.btnBack.Click += new System.EventHandler(this.btnBack_Click); // // btnForward // this.btnForward.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.btnForward.Image = ((System.Drawing.Image)(resources.GetObject("btnForward.Image"))); this.btnForward.ImageTransparentColor = System.Drawing.Color.Magenta; this.btnForward.Name = "btnForward"; this.btnForward.Size = new System.Drawing.Size(23, 22); this.btnForward.Text = "toolStripButton1"; this.btnForward.ToolTipText = "Forward"; this.btnForward.Click += new System.EventHandler(this.btnForward_Click); // // toolStripSeparator1 // this.toolStripSeparator1.Name = "toolStripSeparator1"; this.toolStripSeparator1.Size = new System.Drawing.Size(6, 25); // // btnStop // this.btnStop.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.btnStop.Image = ((System.Drawing.Image)(resources.GetObject("btnStop.Image"))); this.btnStop.ImageTransparentColor = System.Drawing.Color.Magenta; this.btnStop.Name = "btnStop"; this.btnStop.Size = new System.Drawing.Size(23, 22); this.btnStop.Text = "toolStripButton1"; this.btnStop.Click += new System.EventHandler(this.btnStop_Click); // // lblNavigate // this.lblNavigate.Name = "lblNavigate"; this.lblNavigate.Size = new System.Drawing.Size(66, 22); this.lblNavigate.Text = "Navigate: "; // // cboNavigate // this.cboNavigate.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend; this.cboNavigate.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.CustomSource; this.cboNavigate.AutoToolTip = true; this.cboNavigate.DropDownHeight = 200; this.cboNavigate.DropDownWidth = 400; this.cboNavigate.IntegralHeight = false; this.cboNavigate.MaxDropDownItems = 16; this.cboNavigate.Name = "cboNavigate"; this.cboNavigate.Overflow = System.Windows.Forms.ToolStripItemOverflow.Never; this.cboNavigate.Size = new System.Drawing.Size(250, 25); this.cboNavigate.Sorted = true; this.cboNavigate.DropDownClosed += new System.EventHandler(this.Titles_SelectedIndexChanged); this.cboNavigate.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Navigation_KeyDown); // // btnGo // this.btnGo.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.btnGo.Image = ((System.Drawing.Image)(resources.GetObject("btnGo.Image"))); this.btnGo.ImageTransparentColor = System.Drawing.Color.Magenta; this.btnGo.Name = "btnGo"; this.btnGo.Size = new System.Drawing.Size(23, 22); this.btnGo.Text = "Go"; this.btnGo.Click += new System.EventHandler(this.btnGo_Click); // // toolStripSeparator2 // this.toolStripSeparator2.Name = "toolStripSeparator2"; this.toolStripSeparator2.Size = new System.Drawing.Size(6, 25); // // toolStripLabel1 // this.toolStripLabel1.Name = "toolStripLabel1"; this.toolStripLabel1.Size = new System.Drawing.Size(68, 22); this.toolStripLabel1.Text = "Language:"; // // cboLanguage // this.cboLanguage.DropDownHeight = 200; this.cboLanguage.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cboLanguage.IntegralHeight = false; this.cboLanguage.MaxDropDownItems = 16; this.cboLanguage.Name = "cboLanguage"; this.cboLanguage.Size = new System.Drawing.Size(250, 25); this.cboLanguage.SelectedIndexChanged += new System.EventHandler(this.cboLanguage_SelectedIndexChanged); // // dockPanel_ // this.dockPanel_.ActiveAutoHideContent = null; this.dockPanel_.Dock = System.Windows.Forms.DockStyle.Fill; this.dockPanel_.DockBackColor = System.Drawing.SystemColors.Control; this.dockPanel_.DockBottomPortion = 150D; this.dockPanel_.DockLeftPortion = 200D; this.dockPanel_.DockRightPortion = 200D; this.dockPanel_.DockTopPortion = 150D; this.dockPanel_.Font = new System.Drawing.Font("Tahoma", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.World, ((byte)(0))); this.dockPanel_.Location = new System.Drawing.Point(0, 49); this.dockPanel_.Name = "dockPanel_"; this.dockPanel_.RightToLeftLayout = true; this.dockPanel_.Size = new System.Drawing.Size(792, 446); dockPanelGradient1.EndColor = System.Drawing.SystemColors.ControlLight; dockPanelGradient1.StartColor = System.Drawing.SystemColors.ControlLight; autoHideStripSkin1.DockStripGradient = dockPanelGradient1; tabGradient1.EndColor = System.Drawing.SystemColors.Control; tabGradient1.StartColor = System.Drawing.SystemColors.Control; tabGradient1.TextColor = System.Drawing.SystemColors.ControlDarkDark; autoHideStripSkin1.TabGradient = tabGradient1; autoHideStripSkin1.TextFont = new System.Drawing.Font("Tahoma", 9.75F); dockPanelSkin1.AutoHideStripSkin = autoHideStripSkin1; tabGradient2.EndColor = System.Drawing.SystemColors.ControlLightLight; tabGradient2.StartColor = System.Drawing.SystemColors.ControlLightLight; tabGradient2.TextColor = System.Drawing.SystemColors.ControlText; dockPaneStripGradient1.ActiveTabGradient = tabGradient2; dockPanelGradient2.EndColor = System.Drawing.SystemColors.Control; dockPanelGradient2.StartColor = System.Drawing.SystemColors.Control; dockPaneStripGradient1.DockStripGradient = dockPanelGradient2; tabGradient3.EndColor = System.Drawing.SystemColors.ControlLight; tabGradient3.StartColor = System.Drawing.SystemColors.ControlLight; tabGradient3.TextColor = System.Drawing.SystemColors.ControlText; dockPaneStripGradient1.InactiveTabGradient = tabGradient3; dockPaneStripSkin1.DocumentGradient = dockPaneStripGradient1; dockPaneStripSkin1.TextFont = new System.Drawing.Font("Tahoma", 9.75F); tabGradient4.EndColor = System.Drawing.SystemColors.ActiveCaption; tabGradient4.LinearGradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; tabGradient4.StartColor = System.Drawing.SystemColors.GradientActiveCaption; tabGradient4.TextColor = System.Drawing.SystemColors.ActiveCaptionText; dockPaneStripToolWindowGradient1.ActiveCaptionGradient = tabGradient4; tabGradient5.EndColor = System.Drawing.SystemColors.Control; tabGradient5.StartColor = System.Drawing.SystemColors.Control; tabGradient5.TextColor = System.Drawing.SystemColors.ControlText; dockPaneStripToolWindowGradient1.ActiveTabGradient = tabGradient5; dockPanelGradient3.EndColor = System.Drawing.SystemColors.ControlLight; dockPanelGradient3.StartColor = System.Drawing.SystemColors.ControlLight; dockPaneStripToolWindowGradient1.DockStripGradient = dockPanelGradient3; tabGradient6.EndColor = System.Drawing.SystemColors.InactiveCaption; tabGradient6.LinearGradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; tabGradient6.StartColor = System.Drawing.SystemColors.GradientInactiveCaption; tabGradient6.TextColor = System.Drawing.SystemColors.InactiveCaptionText; dockPaneStripToolWindowGradient1.InactiveCaptionGradient = tabGradient6; tabGradient7.EndColor = System.Drawing.Color.Transparent; tabGradient7.StartColor = System.Drawing.Color.Transparent; tabGradient7.TextColor = System.Drawing.SystemColors.ControlDarkDark; dockPaneStripToolWindowGradient1.InactiveTabGradient = tabGradient7; dockPaneStripSkin1.ToolWindowGradient = dockPaneStripToolWindowGradient1; dockPanelSkin1.DockPaneStripSkin = dockPaneStripSkin1; this.dockPanel_.Skin = dockPanelSkin1; this.dockPanel_.TabIndex = 0; // // dockContent_ // this.dockContent_.ClientSize = new System.Drawing.Size(118, 0); this.dockContent_.DockPanel = null; this.dockContent_.DockState = WeifenLuo.WinFormsUI.Docking.DockState.Unknown; this.dockContent_.FloatPane = null; this.dockContent_.IsFloat = false; this.dockContent_.IsHidden = true; this.dockContent_.Location = new System.Drawing.Point(-32000, -32000); this.dockContent_.Name = "dockContent_"; this.dockContent_.Pane = null; this.dockContent_.PanelPane = null; this.dockContent_.Visible = false; this.dockContent_.VisibleState = WeifenLuo.WinFormsUI.Docking.DockState.Unknown; // // MainForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(792, 517); this.Controls.Add(this.dockPanel_); this.Controls.Add(this.stripNavigation); this.Controls.Add(this.menuStrip); this.Controls.Add(this.statusStrip1); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MainMenuStrip = this.menuStrip; this.Name = "MainForm"; this.Text = "Form1"; this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.MainForm_FormClosing); this.Load += new System.EventHandler(this.MainForm_Load); this.statusStrip1.ResumeLayout(false); this.statusStrip1.PerformLayout(); this.menuStrip.ResumeLayout(false); this.menuStrip.PerformLayout(); this.stripNavigation.ResumeLayout(false); this.stripNavigation.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm)); WeifenLuo.WinFormsUI.Docking.DockPanelSkin dockPanelSkin1 = new WeifenLuo.WinFormsUI.Docking.DockPanelSkin(); WeifenLuo.WinFormsUI.Docking.AutoHideStripSkin autoHideStripSkin1 = new WeifenLuo.WinFormsUI.Docking.AutoHideStripSkin(); WeifenLuo.WinFormsUI.Docking.DockPanelGradient dockPanelGradient1 = new WeifenLuo.WinFormsUI.Docking.DockPanelGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient1 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); WeifenLuo.WinFormsUI.Docking.DockPaneStripSkin dockPaneStripSkin1 = new WeifenLuo.WinFormsUI.Docking.DockPaneStripSkin(); WeifenLuo.WinFormsUI.Docking.DockPaneStripGradient dockPaneStripGradient1 = new WeifenLuo.WinFormsUI.Docking.DockPaneStripGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient2 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); WeifenLuo.WinFormsUI.Docking.DockPanelGradient dockPanelGradient2 = new WeifenLuo.WinFormsUI.Docking.DockPanelGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient3 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); WeifenLuo.WinFormsUI.Docking.DockPaneStripToolWindowGradient dockPaneStripToolWindowGradient1 = new WeifenLuo.WinFormsUI.Docking.DockPaneStripToolWindowGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient4 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient5 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); WeifenLuo.WinFormsUI.Docking.DockPanelGradient dockPanelGradient3 = new WeifenLuo.WinFormsUI.Docking.DockPanelGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient6 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient7 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); this.msMenu = new System.Windows.Forms.MenuStrip(); this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.mapToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); this.loadMapToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.newMapToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.particleEffectToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.loadPEToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.newPEToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.closeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.viewToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.selectedMapObjectsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.grhDatasToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.npcChatEditorToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.skeletonEditorToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.dbEditorToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.musicEditorToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.soundEditorToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.bodyEditorToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.mapToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.shiftContentsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.ssStatus = new System.Windows.Forms.StatusStrip(); this.tssInfo = new System.Windows.Forms.ToolStripStatusLabel(); this.tssWorldPos = new System.Windows.Forms.ToolStripStatusLabel(); this.tssScreenPos = new System.Windows.Forms.ToolStripStatusLabel(); this.dockPanel = new WeifenLuo.WinFormsUI.Docking.DockPanel(); this.tbMap = new NetGore.Editor.EditorTool.ToolBar(); this.tbGlobal = new NetGore.Editor.EditorTool.ToolBar(); this.panel1 = new System.Windows.Forms.Panel(); this.lblDepth = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label(); this.cmbLayer = new System.Windows.Forms.ComboBox(); this.label2 = new System.Windows.Forms.Label(); this.trackBarDepth = new System.Windows.Forms.TrackBar(); this.msMenu.SuspendLayout(); this.ssStatus.SuspendLayout(); this.panel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.trackBarDepth)).BeginInit(); this.SuspendLayout(); // // msMenu // this.msMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.fileToolStripMenuItem, this.viewToolStripMenuItem, this.toolsToolStripMenuItem }); resources.ApplyResources(this.msMenu, "msMenu"); this.msMenu.Name = "msMenu"; // // fileToolStripMenuItem // this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.mapToolStripMenuItem1, this.particleEffectToolStripMenuItem, this.closeToolStripMenuItem }); this.fileToolStripMenuItem.Name = "fileToolStripMenuItem"; resources.ApplyResources(this.fileToolStripMenuItem, "fileToolStripMenuItem"); // // mapToolStripMenuItem1 // this.mapToolStripMenuItem1.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.loadMapToolStripMenuItem, this.newMapToolStripMenuItem }); this.mapToolStripMenuItem1.Name = "mapToolStripMenuItem1"; resources.ApplyResources(this.mapToolStripMenuItem1, "mapToolStripMenuItem1"); // // loadMapToolStripMenuItem // this.loadMapToolStripMenuItem.Name = "loadMapToolStripMenuItem"; resources.ApplyResources(this.loadMapToolStripMenuItem, "loadMapToolStripMenuItem"); this.loadMapToolStripMenuItem.Click += new System.EventHandler(this.loadMapToolStripMenuItem_Click); // // newMapToolStripMenuItem // this.newMapToolStripMenuItem.Name = "newMapToolStripMenuItem"; resources.ApplyResources(this.newMapToolStripMenuItem, "newMapToolStripMenuItem"); this.newMapToolStripMenuItem.Click += new System.EventHandler(this.newMapToolStripMenuItem_Click); // // particleEffectToolStripMenuItem // this.particleEffectToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.loadPEToolStripMenuItem, this.newPEToolStripMenuItem }); this.particleEffectToolStripMenuItem.Name = "particleEffectToolStripMenuItem"; resources.ApplyResources(this.particleEffectToolStripMenuItem, "particleEffectToolStripMenuItem"); // // loadPEToolStripMenuItem // this.loadPEToolStripMenuItem.Name = "loadPEToolStripMenuItem"; resources.ApplyResources(this.loadPEToolStripMenuItem, "loadPEToolStripMenuItem"); this.loadPEToolStripMenuItem.Click += new System.EventHandler(this.loadPEToolStripMenuItem_Click); // // newPEToolStripMenuItem // this.newPEToolStripMenuItem.Name = "newPEToolStripMenuItem"; resources.ApplyResources(this.newPEToolStripMenuItem, "newPEToolStripMenuItem"); this.newPEToolStripMenuItem.Click += new System.EventHandler(this.newPEToolStripMenuItem_Click); // // closeToolStripMenuItem // this.closeToolStripMenuItem.Name = "closeToolStripMenuItem"; resources.ApplyResources(this.closeToolStripMenuItem, "closeToolStripMenuItem"); this.closeToolStripMenuItem.Click += new System.EventHandler(this.closeToolStripMenuItem_Click); // // viewToolStripMenuItem // this.viewToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.selectedMapObjectsToolStripMenuItem, this.grhDatasToolStripMenuItem, this.npcChatEditorToolStripMenuItem, this.skeletonEditorToolStripMenuItem, this.dbEditorToolStripMenuItem, this.musicEditorToolStripMenuItem, this.soundEditorToolStripMenuItem, this.bodyEditorToolStripMenuItem }); this.viewToolStripMenuItem.Name = "viewToolStripMenuItem"; resources.ApplyResources(this.viewToolStripMenuItem, "viewToolStripMenuItem"); // // selectedMapObjectsToolStripMenuItem // this.selectedMapObjectsToolStripMenuItem.CheckOnClick = true; this.selectedMapObjectsToolStripMenuItem.Name = "selectedMapObjectsToolStripMenuItem"; resources.ApplyResources(this.selectedMapObjectsToolStripMenuItem, "selectedMapObjectsToolStripMenuItem"); this.selectedMapObjectsToolStripMenuItem.Click += new System.EventHandler(this.selectedMapObjectsToolStripMenuItem_CheckedChanged); // // grhDatasToolStripMenuItem // this.grhDatasToolStripMenuItem.CheckOnClick = true; this.grhDatasToolStripMenuItem.Name = "grhDatasToolStripMenuItem"; resources.ApplyResources(this.grhDatasToolStripMenuItem, "grhDatasToolStripMenuItem"); this.grhDatasToolStripMenuItem.Click += new System.EventHandler(this.grhDatasToolStripMenuItem_Click); // // npcChatEditorToolStripMenuItem // this.npcChatEditorToolStripMenuItem.CheckOnClick = true; this.npcChatEditorToolStripMenuItem.Name = "npcChatEditorToolStripMenuItem"; resources.ApplyResources(this.npcChatEditorToolStripMenuItem, "npcChatEditorToolStripMenuItem"); this.npcChatEditorToolStripMenuItem.Click += new System.EventHandler(this.npcChatEditorToolStripMenuItem_Click); // // skeletonEditorToolStripMenuItem // this.skeletonEditorToolStripMenuItem.CheckOnClick = true; this.skeletonEditorToolStripMenuItem.Name = "skeletonEditorToolStripMenuItem"; resources.ApplyResources(this.skeletonEditorToolStripMenuItem, "skeletonEditorToolStripMenuItem"); this.skeletonEditorToolStripMenuItem.Click += new System.EventHandler(this.skeletonEditorToolStripMenuItem_Click); // // dbEditorToolStripMenuItem // this.dbEditorToolStripMenuItem.CheckOnClick = true; this.dbEditorToolStripMenuItem.Name = "dbEditorToolStripMenuItem"; resources.ApplyResources(this.dbEditorToolStripMenuItem, "dbEditorToolStripMenuItem"); this.dbEditorToolStripMenuItem.Click += new System.EventHandler(this.dbEditorToolStripMenuItem_Click); // // musicEditorToolStripMenuItem // this.musicEditorToolStripMenuItem.CheckOnClick = true; this.musicEditorToolStripMenuItem.Name = "musicEditorToolStripMenuItem"; resources.ApplyResources(this.musicEditorToolStripMenuItem, "musicEditorToolStripMenuItem"); this.musicEditorToolStripMenuItem.Click += new System.EventHandler(this.musicEditorToolStripMenuItem_Click); // // soundEditorToolStripMenuItem // this.soundEditorToolStripMenuItem.CheckOnClick = true; this.soundEditorToolStripMenuItem.Name = "soundEditorToolStripMenuItem"; resources.ApplyResources(this.soundEditorToolStripMenuItem, "soundEditorToolStripMenuItem"); this.soundEditorToolStripMenuItem.Click += new System.EventHandler(this.soundEditorToolStripMenuItem_Click); // // bodyEditorToolStripMenuItem // this.bodyEditorToolStripMenuItem.CheckOnClick = true; this.bodyEditorToolStripMenuItem.Name = "bodyEditorToolStripMenuItem"; resources.ApplyResources(this.bodyEditorToolStripMenuItem, "bodyEditorToolStripMenuItem"); this.bodyEditorToolStripMenuItem.Click += new System.EventHandler(this.bodyEditorToolStripMenuItem_Click); // // toolsToolStripMenuItem // this.toolsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.mapToolStripMenuItem }); this.toolsToolStripMenuItem.Name = "toolsToolStripMenuItem"; resources.ApplyResources(this.toolsToolStripMenuItem, "toolsToolStripMenuItem"); // // mapToolStripMenuItem // this.mapToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.shiftContentsToolStripMenuItem }); this.mapToolStripMenuItem.Name = "mapToolStripMenuItem"; resources.ApplyResources(this.mapToolStripMenuItem, "mapToolStripMenuItem"); this.mapToolStripMenuItem.Paint += new System.Windows.Forms.PaintEventHandler(this.mapToolStripMenuItem_Paint); // // shiftContentsToolStripMenuItem // this.shiftContentsToolStripMenuItem.Name = "shiftContentsToolStripMenuItem"; resources.ApplyResources(this.shiftContentsToolStripMenuItem, "shiftContentsToolStripMenuItem"); this.shiftContentsToolStripMenuItem.Click += new System.EventHandler(this.shiftContentsToolStripMenuItem_Click); // // ssStatus // this.ssStatus.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.tssInfo, this.tssWorldPos, this.tssScreenPos }); resources.ApplyResources(this.ssStatus, "ssStatus"); this.ssStatus.Name = "ssStatus"; // // tssInfo // this.tssInfo.Name = "tssInfo"; resources.ApplyResources(this.tssInfo, "tssInfo"); this.tssInfo.Spring = true; // // tssWorldPos // this.tssWorldPos.Name = "tssWorldPos"; resources.ApplyResources(this.tssWorldPos, "tssWorldPos"); // // tssScreenPos // this.tssScreenPos.Name = "tssScreenPos"; resources.ApplyResources(this.tssScreenPos, "tssScreenPos"); // // dockPanel // this.dockPanel.BackColor = System.Drawing.SystemColors.AppWorkspace; resources.ApplyResources(this.dockPanel, "dockPanel"); this.dockPanel.DockBackColor = System.Drawing.SystemColors.AppWorkspace; this.dockPanel.Name = "dockPanel"; dockPanelGradient1.EndColor = System.Drawing.SystemColors.ControlLight; dockPanelGradient1.StartColor = System.Drawing.SystemColors.ControlLight; autoHideStripSkin1.DockStripGradient = dockPanelGradient1; tabGradient1.EndColor = System.Drawing.SystemColors.Control; tabGradient1.StartColor = System.Drawing.SystemColors.Control; tabGradient1.TextColor = System.Drawing.SystemColors.ControlDarkDark; autoHideStripSkin1.TabGradient = tabGradient1; autoHideStripSkin1.TextFont = new System.Drawing.Font("Segoe UI", 9F); dockPanelSkin1.AutoHideStripSkin = autoHideStripSkin1; tabGradient2.EndColor = System.Drawing.SystemColors.ControlLightLight; tabGradient2.StartColor = System.Drawing.SystemColors.ControlLightLight; tabGradient2.TextColor = System.Drawing.SystemColors.ControlText; dockPaneStripGradient1.ActiveTabGradient = tabGradient2; dockPanelGradient2.EndColor = System.Drawing.SystemColors.Control; dockPanelGradient2.StartColor = System.Drawing.SystemColors.Control; dockPaneStripGradient1.DockStripGradient = dockPanelGradient2; tabGradient3.EndColor = System.Drawing.SystemColors.ControlLight; tabGradient3.StartColor = System.Drawing.SystemColors.ControlLight; tabGradient3.TextColor = System.Drawing.SystemColors.ControlText; dockPaneStripGradient1.InactiveTabGradient = tabGradient3; dockPaneStripSkin1.DocumentGradient = dockPaneStripGradient1; dockPaneStripSkin1.TextFont = new System.Drawing.Font("Segoe UI", 9F); tabGradient4.EndColor = System.Drawing.SystemColors.ActiveCaption; tabGradient4.LinearGradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; tabGradient4.StartColor = System.Drawing.SystemColors.GradientActiveCaption; tabGradient4.TextColor = System.Drawing.SystemColors.ActiveCaptionText; dockPaneStripToolWindowGradient1.ActiveCaptionGradient = tabGradient4; tabGradient5.EndColor = System.Drawing.SystemColors.Control; tabGradient5.StartColor = System.Drawing.SystemColors.Control; tabGradient5.TextColor = System.Drawing.SystemColors.ControlText; dockPaneStripToolWindowGradient1.ActiveTabGradient = tabGradient5; dockPanelGradient3.EndColor = System.Drawing.SystemColors.ControlLight; dockPanelGradient3.StartColor = System.Drawing.SystemColors.ControlLight; dockPaneStripToolWindowGradient1.DockStripGradient = dockPanelGradient3; tabGradient6.EndColor = System.Drawing.SystemColors.GradientInactiveCaption; tabGradient6.LinearGradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; tabGradient6.StartColor = System.Drawing.SystemColors.GradientInactiveCaption; tabGradient6.TextColor = System.Drawing.SystemColors.ControlText; dockPaneStripToolWindowGradient1.InactiveCaptionGradient = tabGradient6; tabGradient7.EndColor = System.Drawing.Color.Transparent; tabGradient7.StartColor = System.Drawing.Color.Transparent; tabGradient7.TextColor = System.Drawing.SystemColors.ControlDarkDark; dockPaneStripToolWindowGradient1.InactiveTabGradient = tabGradient7; dockPaneStripSkin1.ToolWindowGradient = dockPaneStripToolWindowGradient1; dockPanelSkin1.DockPaneStripSkin = dockPaneStripSkin1; this.dockPanel.Skin = dockPanelSkin1; this.dockPanel.Click += new System.EventHandler(this.dockPanel_Click); // // tbMap // this.tbMap.AllowItemReorder = true; this.tbMap.DisplayObject = null; resources.ApplyResources(this.tbMap, "tbMap"); this.tbMap.Name = "tbMap"; // // tbGlobal // this.tbGlobal.AllowItemReorder = true; this.tbGlobal.DisplayObject = null; resources.ApplyResources(this.tbGlobal, "tbGlobal"); this.tbGlobal.Name = "tbGlobal"; // // panel1 // this.panel1.Controls.Add(this.lblDepth); this.panel1.Controls.Add(this.label1); this.panel1.Controls.Add(this.cmbLayer); this.panel1.Controls.Add(this.label2); this.panel1.Controls.Add(this.trackBarDepth); resources.ApplyResources(this.panel1, "panel1"); this.panel1.Name = "panel1"; // // lblDepth // resources.ApplyResources(this.lblDepth, "lblDepth"); this.lblDepth.Name = "lblDepth"; // // label1 // resources.ApplyResources(this.label1, "label1"); this.label1.Name = "label1"; // // cmbLayer // this.cmbLayer.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cmbLayer.Items.AddRange(new object[] { resources.GetString("cmbLayer.Items"), resources.GetString("cmbLayer.Items1"), resources.GetString("cmbLayer.Items2") }); resources.ApplyResources(this.cmbLayer, "cmbLayer"); this.cmbLayer.Name = "cmbLayer"; this.cmbLayer.SelectedValueChanged += new System.EventHandler(this.cmbLayer_SelectedValueChanged); // // label2 // resources.ApplyResources(this.label2, "label2"); this.label2.Name = "label2"; // // trackBarDepth // resources.ApplyResources(this.trackBarDepth, "trackBarDepth"); this.trackBarDepth.LargeChange = 10; this.trackBarDepth.Maximum = 50; this.trackBarDepth.Minimum = -50; this.trackBarDepth.Name = "trackBarDepth"; this.trackBarDepth.TickFrequency = 10; this.trackBarDepth.Scroll += new System.EventHandler(this.trackBarDepth_Scroll); this.trackBarDepth.MouseDown += new System.Windows.Forms.MouseEventHandler(this.trackBarDepth_MouseDown); // // MainForm // resources.ApplyResources(this, "$this"); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.Controls.Add(this.panel1); this.Controls.Add(this.dockPanel); this.Controls.Add(this.tbMap); this.Controls.Add(this.tbGlobal); this.Controls.Add(this.ssStatus); this.Controls.Add(this.msMenu); this.IsMdiContainer = true; this.KeyPreview = true; this.MainMenuStrip = this.msMenu; this.Name = "MainForm"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.msMenu.ResumeLayout(false); this.msMenu.PerformLayout(); this.ssStatus.ResumeLayout(false); this.ssStatus.PerformLayout(); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.trackBarDepth)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
private void InitializeComponent() { DockPanelSkin dockPanelSkin = new DockPanelSkin(); AutoHideStripSkin autoHideStripSkin = new AutoHideStripSkin(); DockPaneStripSkin dockPaneStripSkin = new DockPaneStripSkin(); DockPaneStripGradient paneStripGradient = new DockPaneStripGradient(); DockPaneStripToolWindowGradient toolWindowGradient = new DockPaneStripToolWindowGradient(); ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(GlassesEditor)); this.panMain = new DockPanel(); this.SuspendLayout(); this.panMain.ActiveAutoHideContent = (IDockContent)null; this.panMain.Dock = DockStyle.Fill; this.panMain.DockBackColor = SystemColors.Control; this.panMain.DockLeftPortion = 0.15; this.panMain.DocumentStyle = DocumentStyle.DockingWindow; this.panMain.Location = new Point(0, 0); this.panMain.Name = "panMain"; this.panMain.Size = new Size(1183, 580); DockPanelGradient hideStripGradient = new DockPanelGradient(); hideStripGradient.EndColor = SystemColors.ControlLight; hideStripGradient.StartColor = SystemColors.ControlLight; autoHideStripSkin.DockStripGradient = hideStripGradient; TabGradient tabGradient = new TabGradient(); tabGradient.EndColor = SystemColors.Control; tabGradient.StartColor = SystemColors.Control; tabGradient.TextColor = SystemColors.ControlDarkDark; autoHideStripSkin.TabGradient = tabGradient; autoHideStripSkin.TextFont = new Font("Segoe UI", 9f); dockPanelSkin.AutoHideStripSkin = autoHideStripSkin; TabGradient activeTabGradient = new TabGradient(); activeTabGradient.EndColor = SystemColors.ControlLightLight; activeTabGradient.StartColor = SystemColors.ControlLightLight; activeTabGradient.TextColor = SystemColors.ControlText; paneStripGradient.ActiveTabGradient = activeTabGradient; DockPanelGradient dockStripGradient = new DockPanelGradient(); dockStripGradient.EndColor = SystemColors.Control; dockStripGradient.StartColor = SystemColors.Control; paneStripGradient.DockStripGradient = dockStripGradient; TabGradient inactiveTabGradient = new TabGradient(); inactiveTabGradient.EndColor = SystemColors.ControlLightLight; inactiveTabGradient.StartColor = SystemColors.ControlLightLight; inactiveTabGradient.TextColor = SystemColors.ControlText; paneStripGradient.InactiveTabGradient = inactiveTabGradient; dockPaneStripSkin.DocumentGradient = paneStripGradient; dockPaneStripSkin.TextFont = new Font("Segoe UI", 9f); TabGradient activeCaptionGradient = new TabGradient(); activeCaptionGradient.EndColor = SystemColors.ActiveCaption; activeCaptionGradient.LinearGradientMode = LinearGradientMode.Vertical; activeCaptionGradient.StartColor = SystemColors.GradientActiveCaption; activeCaptionGradient.TextColor = SystemColors.ActiveCaptionText; toolWindowGradient.ActiveCaptionGradient = activeCaptionGradient; TabGradient toolActiveGradient = new TabGradient(); toolActiveGradient.EndColor = SystemColors.Control; toolActiveGradient.StartColor = SystemColors.Control; toolActiveGradient.TextColor = SystemColors.ControlText; toolWindowGradient.ActiveTabGradient = toolActiveGradient; DockPanelGradient toolStripGradient = new DockPanelGradient(); toolStripGradient.EndColor = SystemColors.ControlLight; toolStripGradient.StartColor = SystemColors.ControlLight; toolWindowGradient.DockStripGradient = toolStripGradient; TabGradient toolInactiveGradient = new TabGradient(); toolInactiveGradient.EndColor = SystemColors.InactiveCaption; toolInactiveGradient.LinearGradientMode = LinearGradientMode.Vertical; toolInactiveGradient.StartColor = SystemColors.GradientInactiveCaption; toolInactiveGradient.TextColor = SystemColors.InactiveCaptionText; toolWindowGradient.InactiveCaptionGradient = toolInactiveGradient; TabGradient toolInactiveTabGradient = new TabGradient(); toolInactiveTabGradient.EndColor = Color.Transparent; toolInactiveTabGradient.StartColor = Color.Transparent; toolInactiveTabGradient.TextColor = SystemColors.ControlDarkDark; toolWindowGradient.InactiveTabGradient = toolInactiveTabGradient; dockPaneStripSkin.ToolWindowGradient = toolWindowGradient; dockPanelSkin.DockPaneStripSkin = dockPaneStripSkin; this.panMain.Skin = dockPanelSkin; this.panMain.TabIndex = 0; this.AutoScaleDimensions = new SizeF(6f, 13f); this.AutoScaleMode = AutoScaleMode.Font; this.ClientSize = new Size(1183, 580); this.Controls.Add(this.panMain); // this.Icon = (Icon) componentResourceManager.GetObject("$this.Icon"); this.IsMdiContainer = true; this.Name = "TheDivinityEngine"; this.Text = "The Divinity Engine - Pluggable Edition :)"; this.WindowState = FormWindowState.Maximized; this.Load += new EventHandler(GlassesEditorLoad); this.KeyPress += new KeyPressEventHandler(GlassesEditor_KeyPress); this.KeyUp += new KeyEventHandler(GlassesEditor_KeyUp); this.FormClosing += new FormClosingEventHandler(GlassesEditor_FormClosing); this.KeyDown += new KeyEventHandler(GlassesEditor_KeyDown); this.ResumeLayout(false); }
public static DockPanelSkin CreateVisualStudio2013Blue() { var skin = new DockPanelSkin(); skin.ColorPalette.AutoHideStripDefault.Background = ColorTranslator.FromHtml("#FF293955"); skin.ColorPalette.AutoHideStripDefault.Border = ColorTranslator.FromHtml("#FF465A7D"); skin.ColorPalette.AutoHideStripDefault.Text = ColorTranslator.FromHtml("#FFFFFFFF"); skin.ColorPalette.AutoHideStripHovered.Background = ColorTranslator.FromHtml("#FF293955"); skin.ColorPalette.AutoHideStripHovered.Border = ColorTranslator.FromHtml("#FF9BA7B7"); skin.ColorPalette.AutoHideStripHovered.Text = ColorTranslator.FromHtml("#FFFFFFFF"); skin.ColorPalette.OverflowButtonDefault.Glyph = ColorTranslator.FromHtml("#FFCED4DD"); skin.ColorPalette.OverflowButtonHovered.Background = ColorTranslator.FromHtml("#FFFFFCF4"); skin.ColorPalette.OverflowButtonHovered.Border = ColorTranslator.FromHtml("#FFE5C365"); skin.ColorPalette.OverflowButtonHovered.Glyph = ColorTranslator.FromHtml("#FF000000"); skin.ColorPalette.TabSelectedActive.Background = ColorTranslator.FromHtml("#FFFFF29D"); skin.ColorPalette.TabSelectedActive.Button = ColorTranslator.FromHtml("#FF75633D"); skin.ColorPalette.TabSelectedActive.Text = ColorTranslator.FromHtml("#FF000000"); skin.ColorPalette.TabSelectedInactive.Background = ColorTranslator.FromHtml("#FF4D6082"); skin.ColorPalette.TabSelectedInactive.Button = ColorTranslator.FromHtml("#FFCED4DD"); skin.ColorPalette.TabSelectedInactive.Text = ColorTranslator.FromHtml("#FFFFFFFF"); skin.ColorPalette.TabUnselected.Background = ColorTranslator.FromHtml("#FF364E6F"); skin.ColorPalette.TabUnselected.Text = ColorTranslator.FromHtml("#FFFFFFFF"); skin.ColorPalette.TabUnselectedHovered.Background = ColorTranslator.FromHtml("#FF5B7199"); skin.ColorPalette.TabUnselectedHovered.Button = ColorTranslator.FromHtml("#FFCED4DD"); skin.ColorPalette.TabUnselectedHovered.Text = ColorTranslator.FromHtml("#FFFFFFFF"); skin.ColorPalette.TabButtonSelectedActive.Glyph = ColorTranslator.FromHtml("#FF75633D"); skin.ColorPalette.TabButtonSelectedActiveHovered.Background = ColorTranslator.FromHtml("#FFFFFCF4"); skin.ColorPalette.TabButtonSelectedActiveHovered.Border = ColorTranslator.FromHtml("#FFE5C365"); skin.ColorPalette.TabButtonSelectedActiveHovered.Glyph = ColorTranslator.FromHtml("#FF000000"); skin.ColorPalette.TabButtonSelectedInactive.Glyph = ColorTranslator.FromHtml("#FFCED4DD"); skin.ColorPalette.TabButtonSelectedInactiveHovered.Background = ColorTranslator.FromHtml("#FFFFFCF4"); skin.ColorPalette.TabButtonSelectedInactiveHovered.Border = ColorTranslator.FromHtml("#FFE5C365"); skin.ColorPalette.TabButtonSelectedInactiveHovered.Glyph = ColorTranslator.FromHtml("#FF000000"); skin.ColorPalette.TabButtonUnselectedTabHovered.Glyph = ColorTranslator.FromHtml("#FFCED4DD"); skin.ColorPalette.TabButtonUnselectedTabHoveredButtonHovered.Background = ColorTranslator.FromHtml("#FFFFFCF4"); skin.ColorPalette.TabButtonUnselectedTabHoveredButtonHovered.Border = ColorTranslator.FromHtml("#FFE5C365"); skin.ColorPalette.TabButtonUnselectedTabHoveredButtonHovered.Glyph = ColorTranslator.FromHtml("#FF000000"); skin.ColorPalette.MainWindowActive.Background = ColorTranslator.FromHtml("#FF293955"); skin.ColorPalette.MainWindowStatusBarDefault.Background = ColorTranslator.FromHtml("#FF007ACC"); skin.ColorPalette.ToolWindowCaptionActive.Background = ColorTranslator.FromHtml("#FFFFF29D"); skin.ColorPalette.ToolWindowCaptionActive.Border = ColorTranslator.FromHtml("#FF8E9BBC"); skin.ColorPalette.ToolWindowCaptionActive.Button = ColorTranslator.FromHtml("#FF75633D"); skin.ColorPalette.ToolWindowCaptionActive.Grip = ColorTranslator.FromHtml("#FFFFF29D"); skin.ColorPalette.ToolWindowCaptionActive.Text = ColorTranslator.FromHtml("#FF000000"); skin.ColorPalette.ToolWindowCaptionInactive.Background = ColorTranslator.FromHtml("#FF4D6082"); skin.ColorPalette.ToolWindowCaptionInactive.Border = ColorTranslator.FromHtml("#FF8E9BBC"); skin.ColorPalette.ToolWindowCaptionInactive.Button = ColorTranslator.FromHtml("#FFCED4DD"); skin.ColorPalette.ToolWindowCaptionInactive.Grip = ColorTranslator.FromHtml("#FF4D6082"); skin.ColorPalette.ToolWindowCaptionInactive.Text = ColorTranslator.FromHtml("#FFFFFFFF"); skin.ColorPalette.ToolWindowCaptionButtonActive.Glyph = ColorTranslator.FromHtml("#FF75633D"); skin.ColorPalette.ToolWindowCaptionButtonActiveHovered.Background = ColorTranslator.FromHtml("#FFFFFCF4"); skin.ColorPalette.ToolWindowCaptionButtonActiveHovered.Border = ColorTranslator.FromHtml("#FFE5C365"); skin.ColorPalette.ToolWindowCaptionButtonActiveHovered.Glyph = ColorTranslator.FromHtml("#FF000000"); skin.ColorPalette.ToolWindowCaptionButtonInactive.Glyph = ColorTranslator.FromHtml("#FFCED4DD"); skin.ColorPalette.ToolWindowCaptionButtonInactiveHovered.Background = ColorTranslator.FromHtml("#FFFFFCF4"); skin.ColorPalette.ToolWindowCaptionButtonInactiveHovered.Border = ColorTranslator.FromHtml("#FFE5C365"); skin.ColorPalette.ToolWindowCaptionButtonInactiveHovered.Glyph = ColorTranslator.FromHtml("#FF000000"); skin.ColorPalette.ToolWindowTabSelectedActive.Background = ColorTranslator.FromHtml("#FFFFFFFF"); skin.ColorPalette.ToolWindowTabSelectedActive.Text = ColorTranslator.FromHtml("#FF000000"); skin.ColorPalette.ToolWindowTabSelectedInactive.Background = ColorTranslator.FromHtml("#FFFFFFFF"); skin.ColorPalette.ToolWindowTabSelectedInactive.Text = ColorTranslator.FromHtml("#FF000000"); skin.ColorPalette.ToolWindowTabUnselected.Background = ColorTranslator.FromHtml("#FF4D6082"); skin.ColorPalette.ToolWindowTabUnselected.Text = ColorTranslator.FromHtml("#FFFFFFFF"); skin.ColorPalette.ToolWindowTabUnselectedHovered.Background = ColorTranslator.FromHtml("#FF4B5C74"); skin.ColorPalette.ToolWindowTabUnselectedHovered.Text = ColorTranslator.FromHtml("#FFFFFFFF"); return(skin); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { WeifenLuo.WinFormsUI.Docking.DockPanelSkin dockPanelSkin2 = new WeifenLuo.WinFormsUI.Docking.DockPanelSkin(); WeifenLuo.WinFormsUI.Docking.AutoHideStripSkin autoHideStripSkin2 = new WeifenLuo.WinFormsUI.Docking.AutoHideStripSkin(); WeifenLuo.WinFormsUI.Docking.DockPanelGradient dockPanelGradient4 = new WeifenLuo.WinFormsUI.Docking.DockPanelGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient8 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); WeifenLuo.WinFormsUI.Docking.DockPaneStripSkin dockPaneStripSkin2 = new WeifenLuo.WinFormsUI.Docking.DockPaneStripSkin(); WeifenLuo.WinFormsUI.Docking.DockPaneStripGradient dockPaneStripGradient2 = new WeifenLuo.WinFormsUI.Docking.DockPaneStripGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient9 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); WeifenLuo.WinFormsUI.Docking.DockPanelGradient dockPanelGradient5 = new WeifenLuo.WinFormsUI.Docking.DockPanelGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient10 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); WeifenLuo.WinFormsUI.Docking.DockPaneStripToolWindowGradient dockPaneStripToolWindowGradient2 = new WeifenLuo.WinFormsUI.Docking.DockPaneStripToolWindowGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient11 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient12 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); WeifenLuo.WinFormsUI.Docking.DockPanelGradient dockPanelGradient6 = new WeifenLuo.WinFormsUI.Docking.DockPanelGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient13 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient14 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); this.dockPanel1 = new WeifenLuo.WinFormsUI.Docking.DockPanel(); this.topLogo1 = new RMS.UserControls.topLogo(); this.SuspendLayout(); // // dockPanel1 // this.dockPanel1.ActiveAutoHideContent = null; this.dockPanel1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.dockPanel1.Dock = System.Windows.Forms.DockStyle.Fill; this.dockPanel1.DockBackColor = System.Drawing.SystemColors.Control; this.dockPanel1.Location = new System.Drawing.Point(0, 0); this.dockPanel1.Name = "dockPanel1"; this.dockPanel1.Size = new System.Drawing.Size(1182, 608); dockPanelGradient4.EndColor = System.Drawing.SystemColors.ControlLight; dockPanelGradient4.StartColor = System.Drawing.SystemColors.ControlLight; autoHideStripSkin2.DockStripGradient = dockPanelGradient4; tabGradient8.EndColor = System.Drawing.SystemColors.Control; tabGradient8.StartColor = System.Drawing.SystemColors.Control; tabGradient8.TextColor = System.Drawing.SystemColors.ControlDarkDark; autoHideStripSkin2.TabGradient = tabGradient8; autoHideStripSkin2.TextFont = new System.Drawing.Font("微软雅黑", 9F); dockPanelSkin2.AutoHideStripSkin = autoHideStripSkin2; tabGradient9.EndColor = System.Drawing.SystemColors.ControlLightLight; tabGradient9.StartColor = System.Drawing.SystemColors.ControlLightLight; tabGradient9.TextColor = System.Drawing.SystemColors.ControlText; dockPaneStripGradient2.ActiveTabGradient = tabGradient9; dockPanelGradient5.EndColor = System.Drawing.SystemColors.Control; dockPanelGradient5.StartColor = System.Drawing.SystemColors.Control; dockPaneStripGradient2.DockStripGradient = dockPanelGradient5; tabGradient10.EndColor = System.Drawing.SystemColors.ControlLight; tabGradient10.StartColor = System.Drawing.SystemColors.ControlLight; tabGradient10.TextColor = System.Drawing.SystemColors.ControlText; dockPaneStripGradient2.InactiveTabGradient = tabGradient10; dockPaneStripSkin2.DocumentGradient = dockPaneStripGradient2; dockPaneStripSkin2.TextFont = new System.Drawing.Font("微软雅黑", 9F); tabGradient11.EndColor = System.Drawing.SystemColors.ActiveCaption; tabGradient11.LinearGradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; tabGradient11.StartColor = System.Drawing.SystemColors.GradientActiveCaption; tabGradient11.TextColor = System.Drawing.SystemColors.ActiveCaptionText; dockPaneStripToolWindowGradient2.ActiveCaptionGradient = tabGradient11; tabGradient12.EndColor = System.Drawing.SystemColors.Control; tabGradient12.StartColor = System.Drawing.SystemColors.Control; tabGradient12.TextColor = System.Drawing.SystemColors.ControlText; dockPaneStripToolWindowGradient2.ActiveTabGradient = tabGradient12; dockPanelGradient6.EndColor = System.Drawing.SystemColors.ControlLight; dockPanelGradient6.StartColor = System.Drawing.SystemColors.ControlLight; dockPaneStripToolWindowGradient2.DockStripGradient = dockPanelGradient6; tabGradient13.EndColor = System.Drawing.SystemColors.InactiveCaption; tabGradient13.LinearGradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; tabGradient13.StartColor = System.Drawing.SystemColors.GradientInactiveCaption; tabGradient13.TextColor = System.Drawing.SystemColors.InactiveCaptionText; dockPaneStripToolWindowGradient2.InactiveCaptionGradient = tabGradient13; tabGradient14.EndColor = System.Drawing.Color.Transparent; tabGradient14.StartColor = System.Drawing.Color.Transparent; tabGradient14.TextColor = System.Drawing.SystemColors.ControlDarkDark; dockPaneStripToolWindowGradient2.InactiveTabGradient = tabGradient14; dockPaneStripSkin2.ToolWindowGradient = dockPaneStripToolWindowGradient2; dockPanelSkin2.DockPaneStripSkin = dockPaneStripSkin2; this.dockPanel1.Skin = dockPanelSkin2; this.dockPanel1.TabIndex = 2; // // topLogo1 // this.topLogo1.Dock = System.Windows.Forms.DockStyle.Top; this.topLogo1.Font = new System.Drawing.Font("Verdana", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.topLogo1.gradientColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(59)))), ((int)(((byte)(109)))), ((int)(((byte)(158))))); this.topLogo1.gradientColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(129)))), ((int)(((byte)(179)))), ((int)(((byte)(228))))); this.topLogo1.Location = new System.Drawing.Point(0, 0); this.topLogo1.Name = "topLogo1"; this.topLogo1.Size = new System.Drawing.Size(1182, 55); this.topLogo1.TabIndex = 1; this.topLogo1.TabStop = false; this.topLogo1.Text = "topLogo1"; // // MainForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(1182, 608); this.Controls.Add(this.topLogo1); this.Controls.Add(this.dockPanel1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.IsMdiContainer = true; this.Name = "MainForm"; this.Text = "MainForm"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Load += new System.EventHandler(this.MainForm_Load); this.ResumeLayout(false); }
public static DockPanelSkin CreateVisualStudio2013Light() { var skin = new DockPanelSkin(); skin.ColorPalette.AutoHideStripDefault.Background = ColorTranslator.FromHtml("#FFEEEEF2"); skin.ColorPalette.AutoHideStripDefault.Border = ColorTranslator.FromHtml("#FFCCCEDB"); skin.ColorPalette.AutoHideStripDefault.Text = ColorTranslator.FromHtml("#FF444444"); skin.ColorPalette.AutoHideStripHovered.Background = ColorTranslator.FromHtml("#FFEEEEF2"); skin.ColorPalette.AutoHideStripHovered.Border = ColorTranslator.FromHtml("#FF007ACC"); skin.ColorPalette.AutoHideStripHovered.Text = ColorTranslator.FromHtml("#FF0E70C0"); skin.ColorPalette.OverflowButtonDefault.Glyph = ColorTranslator.FromHtml("#FF717171"); skin.ColorPalette.OverflowButtonHovered.Background = ColorTranslator.FromHtml("#FFC9DEF5"); skin.ColorPalette.OverflowButtonHovered.Border = ColorTranslator.FromHtml("#FFC9DEF5"); skin.ColorPalette.OverflowButtonHovered.Glyph = ColorTranslator.FromHtml("#FF007ACC"); skin.ColorPalette.TabSelectedActive.Background = ColorTranslator.FromHtml("#FF007ACC"); skin.ColorPalette.TabSelectedActive.Button = ColorTranslator.FromHtml("#FFD0E6F5"); skin.ColorPalette.TabSelectedActive.Text = ColorTranslator.FromHtml("#FFFFFFFF"); skin.ColorPalette.TabSelectedInactive.Background = ColorTranslator.FromHtml("#FFCCCEDB"); skin.ColorPalette.TabSelectedInactive.Button = ColorTranslator.FromHtml("#FF6D6D70"); skin.ColorPalette.TabSelectedInactive.Text = ColorTranslator.FromHtml("#FF717171"); skin.ColorPalette.TabUnselected.Background = ColorTranslator.FromHtml("#FFEEEEF2"); skin.ColorPalette.TabUnselected.Text = ColorTranslator.FromHtml("#FF1E1E1E"); skin.ColorPalette.TabUnselectedHovered.Background = ColorTranslator.FromHtml("#FF1C97EA"); skin.ColorPalette.TabUnselectedHovered.Button = ColorTranslator.FromHtml("#FFD0E6F5"); skin.ColorPalette.TabUnselectedHovered.Text = ColorTranslator.FromHtml("#FFFFFFFF"); skin.ColorPalette.TabButtonSelectedActive.Glyph = ColorTranslator.FromHtml("#FFD0E6F5"); skin.ColorPalette.TabButtonSelectedActiveHovered.Background = ColorTranslator.FromHtml("#FF1C97EA"); skin.ColorPalette.TabButtonSelectedActiveHovered.Border = ColorTranslator.FromHtml("#FF1C97EA"); skin.ColorPalette.TabButtonSelectedActiveHovered.Glyph = ColorTranslator.FromHtml("#FFFFFFFF"); skin.ColorPalette.TabButtonSelectedInactive.Glyph = ColorTranslator.FromHtml("#FF6D6D70"); skin.ColorPalette.TabButtonSelectedInactiveHovered.Background = ColorTranslator.FromHtml("#FFE6E7ED"); skin.ColorPalette.TabButtonSelectedInactiveHovered.Border = ColorTranslator.FromHtml("#FFE6E7ED"); skin.ColorPalette.TabButtonSelectedInactiveHovered.Glyph = ColorTranslator.FromHtml("#FF717171"); skin.ColorPalette.TabButtonUnselectedTabHovered.Glyph = ColorTranslator.FromHtml("#FFD0E6F5"); skin.ColorPalette.TabButtonUnselectedTabHoveredButtonHovered.Background = ColorTranslator.FromHtml("#FF52B0EF"); skin.ColorPalette.TabButtonUnselectedTabHoveredButtonHovered.Border = ColorTranslator.FromHtml("#FF52B0EF"); skin.ColorPalette.TabButtonUnselectedTabHoveredButtonHovered.Glyph = ColorTranslator.FromHtml("#FFFFFFFF"); skin.ColorPalette.MainWindowActive.Background = ColorTranslator.FromHtml("#FFEFEFF2"); skin.ColorPalette.MainWindowStatusBarDefault.Background = ColorTranslator.FromHtml("#FF007ACC"); skin.ColorPalette.ToolWindowCaptionActive.Background = ColorTranslator.FromHtml("#FF007ACC"); skin.ColorPalette.ToolWindowCaptionActive.Border = ColorTranslator.FromHtml("#FFCCCEDB"); skin.ColorPalette.ToolWindowCaptionActive.Button = ColorTranslator.FromHtml("#FFFFFFFF"); skin.ColorPalette.ToolWindowCaptionActive.Grip = ColorTranslator.FromHtml("#FF59A8DE"); skin.ColorPalette.ToolWindowCaptionActive.Text = ColorTranslator.FromHtml("#FFFFFFFF"); skin.ColorPalette.ToolWindowCaptionInactive.Background = ColorTranslator.FromHtml("#FFEEEEF2"); skin.ColorPalette.ToolWindowCaptionInactive.Border = ColorTranslator.FromHtml("#FFCCCEDB"); skin.ColorPalette.ToolWindowCaptionInactive.Button = ColorTranslator.FromHtml("#FF1E1E1E"); skin.ColorPalette.ToolWindowCaptionInactive.Grip = ColorTranslator.FromHtml("#FF999999"); skin.ColorPalette.ToolWindowCaptionInactive.Text = ColorTranslator.FromHtml("#FF444444"); skin.ColorPalette.ToolWindowCaptionButtonActive.Glyph = ColorTranslator.FromHtml("#FFFFFFFF"); skin.ColorPalette.ToolWindowCaptionButtonActiveHovered.Background = ColorTranslator.FromHtml("#FF52B0EF"); skin.ColorPalette.ToolWindowCaptionButtonActiveHovered.Border = ColorTranslator.FromHtml("#FF52B0EF"); skin.ColorPalette.ToolWindowCaptionButtonActiveHovered.Glyph = ColorTranslator.FromHtml("#FFFFFFFF"); skin.ColorPalette.ToolWindowCaptionButtonInactive.Glyph = ColorTranslator.FromHtml("#FF1E1E1E"); skin.ColorPalette.ToolWindowCaptionButtonInactiveHovered.Background = ColorTranslator.FromHtml("#FFF7F7F9"); skin.ColorPalette.ToolWindowCaptionButtonInactiveHovered.Border = ColorTranslator.FromHtml("#FFF7F7F9"); skin.ColorPalette.ToolWindowCaptionButtonInactiveHovered.Glyph = ColorTranslator.FromHtml("#FF717171"); skin.ColorPalette.ToolWindowTabSelectedActive.Background = ColorTranslator.FromHtml("#FFF5F5F5"); skin.ColorPalette.ToolWindowTabSelectedActive.Text = ColorTranslator.FromHtml("#FF0E70C0"); skin.ColorPalette.ToolWindowTabSelectedInactive.Background = ColorTranslator.FromHtml("#FFF5F5F5"); skin.ColorPalette.ToolWindowTabSelectedInactive.Text = ColorTranslator.FromHtml("#FF0E70C0"); skin.ColorPalette.ToolWindowTabUnselected.Background = ColorTranslator.FromHtml("#FFEEEEF2"); skin.ColorPalette.ToolWindowTabUnselected.Text = ColorTranslator.FromHtml("#FF444444"); skin.ColorPalette.ToolWindowTabUnselectedHovered.Background = ColorTranslator.FromHtml("#FFC9DEF5"); skin.ColorPalette.ToolWindowTabUnselectedHovered.Text = ColorTranslator.FromHtml("#FF1E1E1E"); return(skin); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { WeifenLuo.WinFormsUI.Docking.DockPanelSkin dockPanelSkin2 = new WeifenLuo.WinFormsUI.Docking.DockPanelSkin(); WeifenLuo.WinFormsUI.Docking.AutoHideStripSkin autoHideStripSkin2 = new WeifenLuo.WinFormsUI.Docking.AutoHideStripSkin(); WeifenLuo.WinFormsUI.Docking.DockPanelGradient dockPanelGradient4 = new WeifenLuo.WinFormsUI.Docking.DockPanelGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient8 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); WeifenLuo.WinFormsUI.Docking.DockPaneStripSkin dockPaneStripSkin2 = new WeifenLuo.WinFormsUI.Docking.DockPaneStripSkin(); WeifenLuo.WinFormsUI.Docking.DockPaneStripGradient dockPaneStripGradient2 = new WeifenLuo.WinFormsUI.Docking.DockPaneStripGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient9 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); WeifenLuo.WinFormsUI.Docking.DockPanelGradient dockPanelGradient5 = new WeifenLuo.WinFormsUI.Docking.DockPanelGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient10 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); WeifenLuo.WinFormsUI.Docking.DockPaneStripToolWindowGradient dockPaneStripToolWindowGradient2 = new WeifenLuo.WinFormsUI.Docking.DockPaneStripToolWindowGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient11 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient12 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); WeifenLuo.WinFormsUI.Docking.DockPanelGradient dockPanelGradient6 = new WeifenLuo.WinFormsUI.Docking.DockPanelGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient13 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient14 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); this.mainDockPanel = new WeifenLuo.WinFormsUI.Docking.DockPanel(); this.SuspendLayout(); // // dockPanel1 // this.mainDockPanel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.mainDockPanel.Dock = System.Windows.Forms.DockStyle.Fill; this.mainDockPanel.Location = new System.Drawing.Point(0, 0); this.mainDockPanel.Name = "dockPanel1"; this.mainDockPanel.Size = new System.Drawing.Size(1306, 679); dockPanelGradient4.EndColor = System.Drawing.SystemColors.ControlLight; dockPanelGradient4.StartColor = System.Drawing.SystemColors.ControlLight; autoHideStripSkin2.DockStripGradient = dockPanelGradient4; tabGradient8.EndColor = System.Drawing.SystemColors.Control; tabGradient8.StartColor = System.Drawing.SystemColors.Control; tabGradient8.TextColor = System.Drawing.SystemColors.ControlDarkDark; autoHideStripSkin2.TabGradient = tabGradient8; autoHideStripSkin2.TextFont = new System.Drawing.Font("Segoe UI", 9F); dockPanelSkin2.AutoHideStripSkin = autoHideStripSkin2; tabGradient9.EndColor = System.Drawing.SystemColors.ControlLightLight; tabGradient9.StartColor = System.Drawing.SystemColors.ControlLightLight; tabGradient9.TextColor = System.Drawing.SystemColors.ControlText; dockPaneStripGradient2.ActiveTabGradient = tabGradient9; dockPanelGradient5.EndColor = System.Drawing.SystemColors.Control; dockPanelGradient5.StartColor = System.Drawing.SystemColors.Control; dockPaneStripGradient2.DockStripGradient = dockPanelGradient5; tabGradient10.EndColor = System.Drawing.SystemColors.ControlLight; tabGradient10.StartColor = System.Drawing.SystemColors.ControlLight; tabGradient10.TextColor = System.Drawing.SystemColors.ControlText; dockPaneStripGradient2.InactiveTabGradient = tabGradient10; dockPaneStripSkin2.DocumentGradient = dockPaneStripGradient2; dockPaneStripSkin2.TextFont = new System.Drawing.Font("Segoe UI", 9F); tabGradient11.EndColor = System.Drawing.SystemColors.ActiveCaption; tabGradient11.LinearGradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; tabGradient11.StartColor = System.Drawing.SystemColors.GradientActiveCaption; tabGradient11.TextColor = System.Drawing.SystemColors.ActiveCaptionText; dockPaneStripToolWindowGradient2.ActiveCaptionGradient = tabGradient11; tabGradient12.EndColor = System.Drawing.SystemColors.Control; tabGradient12.StartColor = System.Drawing.SystemColors.Control; tabGradient12.TextColor = System.Drawing.SystemColors.ControlText; dockPaneStripToolWindowGradient2.ActiveTabGradient = tabGradient12; dockPanelGradient6.EndColor = System.Drawing.SystemColors.ControlLight; dockPanelGradient6.StartColor = System.Drawing.SystemColors.ControlLight; dockPaneStripToolWindowGradient2.DockStripGradient = dockPanelGradient6; tabGradient13.EndColor = System.Drawing.SystemColors.InactiveCaption; tabGradient13.LinearGradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; tabGradient13.StartColor = System.Drawing.SystemColors.GradientInactiveCaption; tabGradient13.TextColor = System.Drawing.SystemColors.InactiveCaptionText; dockPaneStripToolWindowGradient2.InactiveCaptionGradient = tabGradient13; tabGradient14.EndColor = System.Drawing.Color.Transparent; tabGradient14.StartColor = System.Drawing.Color.Transparent; tabGradient14.TextColor = System.Drawing.SystemColors.ControlDarkDark; dockPaneStripToolWindowGradient2.InactiveTabGradient = tabGradient14; dockPaneStripSkin2.ToolWindowGradient = dockPaneStripToolWindowGradient2; dockPanelSkin2.DockPaneStripSkin = dockPaneStripSkin2; this.mainDockPanel.Skin = dockPanelSkin2; this.mainDockPanel.TabIndex = 0; // // MainForm // this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(1306, 679); this.Controls.Add(this.mainDockPanel); this.IsMdiContainer = true; this.Name = "MainForm"; this.Text = "Web Service Test Studio"; this.ResumeLayout(false); }