本文整理匯總了C#中System.Windows.Forms.HScrollBar.Hide方法的典型用法代碼示例。如果您正苦於以下問題:C# HScrollBar.Hide方法的具體用法?C# HScrollBar.Hide怎麽用?C# HScrollBar.Hide使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類System.Windows.Forms.HScrollBar
的用法示例。
在下文中一共展示了HScrollBar.Hide方法的2個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的C#代碼示例。
示例1: AutoCompleteTagger
public AutoCompleteTagger()
{
asKeyWords = new string[0];
sbHorz = new HScrollBar();
sbHorz.Scroll += sbHorz_Scroll;
sbHorz.Height = 14;
sbHorz.Hide();
lbSuggest = new ListBox();
lbSuggest.MouseUp += lbSuggest_MouseUp;
lbSuggest.MouseMove += lbSuggest_MouseMove;
lbSuggest.VisibleChanged += lbSuggest_VisibleChanged;
lbSuggest.Hide();
}
示例2: Construct
private void Construct()
{
rowHeight = 18;
//base.BackColor = SystemColors.Window;
SetStyle(ControlStyles.AllPaintingInWmPaint|ControlStyles.ResizeRedraw|
ControlStyles.Opaque|ControlStyles.UserPaint|ControlStyles.DoubleBuffer|
ControlStyles.Selectable|ControlStyles.UserMouse, true);
this.BackColor = SystemColors.Window;
columns = new ExtendedListView.Forms.ColumnHeaderCollection();
items = new ContainerListViewItemCollection();
selectedIndices = new ArrayList();
selectedItems = new ContainerListViewItemCollection();
hscrollBar = new HScrollBar();
hscrollBar.Parent = this;
hscrollBar.Minimum = 0;
hscrollBar.Maximum = 0;
hscrollBar.SmallChange = 10;
hscrollBar.Hide();
vscrollBar = new VScrollBar();
vscrollBar.Parent = this;
vscrollBar.Minimum = 0;
vscrollBar.Maximum = 0;
vscrollBar.SmallChange = rowHeight;
vscrollBar.Hide();
Attach();
GenerateColumnRects();
GenerateHeaderRect();
}