mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-18 03:51:19 -10:00
* Applied patch from Alberto Fernandez with the following changes... Finished ProgressBar (Events?) Finished HScrollBar VScrollBar and ScrollBar Finished FolderBrowserDialog Base ComboBox Added DrawMode.cs Added ComboBoxStyle.cs Added Appearance.cs Added CheckState.cs Added TabAlignment Added TabAppearance.cs Added TabDrawMode.cs Added TabSizeMode.cs Added Panel.cs Added TabPage.cs Added TabControl.cs Added Cursors.cs Added MessageBoxDefaultButton.cs Added MessageBoxIcon.cs Added MessageBoxOptions.cs Changes in MessageBoxButtons.cs (Added values) Changes in MessageBox (Completed all functions, added return values). "Finished" CheckBox.cs "Finished" ComboBox.cs "Finished" RadioButton "Finished" GroupBox "Finished" Panel Changes in Form to work with new RadioButton. Fix double Click reported on MenuItems. "Finished" Application svn path=/trunk/mcs/; revision=22123
40 lines
785 B
C#
40 lines
785 B
C#
//
|
|
// System.Windows.Forms.HScrollBar.cs
|
|
//
|
|
// Author:
|
|
// Philip Van Hoof ([email protected])
|
|
// (C) 2002 Ximian, Inc. http://www.ximian.com
|
|
//
|
|
|
|
using System.Drawing;
|
|
|
|
namespace System.Windows.Forms {
|
|
|
|
public class HScrollBar : ScrollBar {
|
|
//private Gtk.HScrollbar bar;
|
|
// --- Properties ---
|
|
|
|
internal override Gtk.Widget CreateWidget () {
|
|
return new Gtk.HScrollbar(this.adj);
|
|
}
|
|
|
|
// --- Constructor ---
|
|
public HScrollBar() : base (){
|
|
}
|
|
|
|
protected override Size DefaultSize{
|
|
get{ return new System.Drawing.Size (80,17); }
|
|
}
|
|
|
|
public override string ToString(){
|
|
String ret = String.Format (
|
|
"System.Windows.Forms.HScrollBar, " +
|
|
"Minimum: {0}, Maximum: {1}, Value: {2}",
|
|
this.Minimum,
|
|
this.Maximum,
|
|
this.Value);
|
|
return ret;
|
|
}
|
|
}
|
|
}
|