mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-10-27 22:42:38 +01:00
Remove dead method
This commit is contained in:
parent
e6404eb8f0
commit
6c46b7e56f
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user