Skip to content

Commit 10cee50

Browse files
committed
Added new scroll bar controls and using them in DataGridView.
1 parent 16ae44f commit 10cee50

16 files changed

+2774
-398
lines changed

Source/NostalgicPlayer.Controls/Buttons/NostalgicButton.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -389,9 +389,9 @@ private GraphicsPath CreateRoundRectanglePath(Rectangle rect)
389389

390390
return path;
391391
}
392+
#endregion
392393

393-
394-
394+
#region Drawing
395395
/********************************************************************/
396396
/// <summary>
397397
/// Return the colors to use for the current state

Source/NostalgicPlayer.Controls/Forms/NostalgicForm.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -675,9 +675,9 @@ private bool HandleCaptionButtonClick(CaptionButton hitButton)
675675

676676
return handled;
677677
}
678+
#endregion
678679

679-
680-
680+
#region Drawing
681681
/********************************************************************/
682682
/// <summary>
683683
/// Will draw the title bar and border of the form

Source/NostalgicPlayer.Controls/Lists/NostalgicComboBox.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -308,9 +308,9 @@ private Rectangle GetDropDownButtonRect(Rectangle rect)
308308
{
309309
return new Rectangle(rect.Width - DropDownButtonWidth - 2, 2, DropDownButtonWidth - 1, rect.Height - 5);
310310
}
311+
#endregion
311312

312-
313-
313+
#region Drawing
314314
/********************************************************************/
315315
/// <summary>
316316
/// Return the colors to use for the current state

Source/NostalgicPlayer.Controls/Lists/NostalgicDataGridView.Designer.cs

Lines changed: 106 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)