「スニペット/UserControlSnapLines」の編集履歴(バックアップ)一覧はこちら

スニペット/UserControlSnapLines」(2007/07/02 (月) 15:45:37) の最新版変更点

追加された行は緑色になります。

削除された行は赤色になります。

*このスニペットについて ユーザーコントロールにスナップラインを追加します。 *サンプル Imports System.Windows.Forms.Design.Behavior <System.ComponentModel.Designer(GetType(UserControlDesigner))> _ Public Class UserControl1 End Class 'ユーザーコントロールクラスの属性に '<System.ComponentModel.Designer(GetType(UserControlDesigner))> 'を追加する必要があります。 Public Class UserControlDesigner Inherits System.Windows.Forms.Design.ControlDesigner Public Overrides ReadOnly Property SnapLines() As System.Collections.IList Get Dim lines As System.Collections.ArrayList = MyBase.SnapLines lines.Add(New SnapLine(SnapLineType.Baseline, 14, SnapLinePriority.Medium)) Return lines End Get End Property End Class
*このスニペットについて ユーザーコントロールにスナップラインを追加します。 *サンプル Imports System.Windows.Forms.Design.Behavior <System.ComponentModel.Designer(GetType(UserControlDesigner))> _ Public Class UserControl1 End Class 'ユーザーコントロールクラスの属性に '<System.ComponentModel.Designer(GetType(UserControlDesigner))> 'を追加する必要があります。 Public Class UserControlDesigner Inherits System.Windows.Forms.Design.ControlDesigner Public Overrides ReadOnly Property SnapLines() As System.Collections.IList Get Dim lines As System.Collections.ArrayList = MyBase.SnapLines lines.Add(New SnapLine(SnapLineType.Baseline, 14, SnapLinePriority.Medium)) Return lines End Get End Property End Class *ダウンロード [[UserControlSnapLines.snippet>http://www35.atwiki.jp/codecenter?cmd=upload&act=open&pageid=12&file=UserControlSnapLines.snippet]]

表示オプション

横に並べて表示:
変化行の前後のみ表示: