Remove dead method

This commit is contained in:
Nikolaj Olsson 2019-11-28 17:06:28 +01:00
parent e6404eb8f0
commit 6c46b7e56f

View File

@ -263,22 +263,6 @@ namespace Nikse.SubtitleEdit.Logic
}
}
private static void xxx(object sender, PaintEventArgs e)
{
// Get the separator's width and height.
TrackBar toolStripSeparator = (TrackBar)sender;
int width = toolStripSeparator.Width;
int height = toolStripSeparator.Height;
// Fill the background.
e.Graphics.FillRectangle(new SolidBrush(BackColor), 0, 0, width, height);
// Draw the line.
e.Graphics.DrawLine(new Pen(ForeColor), 4, height / 2, width - 4, height / 2);
}
private static void lv_DrawColumnHeader(object sender, DrawListViewColumnHeaderEventArgs e)
{
var lv = (ListView)sender;
@ -330,16 +314,10 @@ namespace Nikse.SubtitleEdit.Logic
private static void ToolStripSeparatorPaint(object sender, PaintEventArgs e)
{
// Get the separator's width and height.
ToolStripSeparator toolStripSeparator = (ToolStripSeparator)sender;
var toolStripSeparator = (ToolStripSeparator)sender;
int width = toolStripSeparator.Width;
int height = toolStripSeparator.Height;
// Fill the background.
e.Graphics.FillRectangle(new SolidBrush(BackColor), 0, 0, width, height);
// Draw the line.
e.Graphics.DrawLine(new Pen(ForeColor), 4, height / 2, width - 4, height / 2);
}
}