summaryrefslogtreecommitdiffstats
path: root/win/CS/Functions/ToolStripRenderOverride.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2012-06-14 17:38:21 +0000
committersr55 <[email protected]>2012-06-14 17:38:21 +0000
commit92292ed049a2f87f00cad38dcb659fe6b4f68623 (patch)
tree06c8adfce3c847a943f8a4460dfdc64f2de39807 /win/CS/Functions/ToolStripRenderOverride.cs
parentd3f5f2227d5fad9cd49f669ce8919a7857b9e964 (diff)
WinGui: Remove the legacy WinForms GUI.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4732 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/Functions/ToolStripRenderOverride.cs')
-rw-r--r--win/CS/Functions/ToolStripRenderOverride.cs51
1 files changed, 0 insertions, 51 deletions
diff --git a/win/CS/Functions/ToolStripRenderOverride.cs b/win/CS/Functions/ToolStripRenderOverride.cs
deleted file mode 100644
index 28845c2ed..000000000
--- a/win/CS/Functions/ToolStripRenderOverride.cs
+++ /dev/null
@@ -1,51 +0,0 @@
-/* ToolStripRenderOverride.cs $
- This file is part of the HandBrake source code.
- Homepage: <http://handbrake.fr/>.
- It may be used under the terms of the GNU General Public License. */
-
-namespace Handbrake.Functions
-{
- using System.Windows.Forms;
-
- public class ToolStripRenderOverride : ToolStripProfessionalRenderer
- {
- ToolStripSystemRenderer render = new ToolStripSystemRenderer();
-
- public ToolStripRenderOverride()
- {
- }
-
- /// <summary>
- /// Fix for a bug in .NET where a white line appears at the bottom of the control.
- /// http://connect.microsoft.com/VisualStudio/feedback/details/92862/toolstrip-always-draws-a-border-on-the-bottom-with-rendermode-system-and-docked-left-or-right
- /// </summary>
- /// <param name="e">
- /// ToolStripRenderEventArgs
- /// </param>
- protected override void OnRenderToolStripBorder(ToolStripRenderEventArgs e)
- {
- //base.OnRenderToolStripBorder(e);
- }
-
- /// <summary>
- /// Change the Button Hover Background style to the system button style
- /// </summary>
- /// <param name="e">
- /// ToolStripRenderEventArgs
- /// </param>
- protected override void OnRenderButtonBackground(ToolStripItemRenderEventArgs e)
- {
- render.DrawButtonBackground(e);
- }
-
- protected override void OnRenderDropDownButtonBackground(ToolStripItemRenderEventArgs e)
- {
- render.DrawDropDownButtonBackground(e);
- }
-
- protected override void OnRenderToolStripBackground(ToolStripRenderEventArgs e)
- {
- //base.OnRenderToolStripBackground(e);
- }
- }
-}