PowerTools PlusPak for Windows Forms 8.0J
GcResize プロパティ (GcResizeAttachingEventArgs)
使用例 

Form にアタッチされる GcResize コンポーネントを取得します。
構文
Public ReadOnly Property GcResize As GcResize
public GcResize GcResize {get;}

プロパティ値

Form にアタッチされる GcResize コンポーネント。
使用例

次のサンプルコードは、このプロパティの使用方法を示します。

このサンプルコードは、GcApplicationResize クラスに示されている詳細なコード例の一部を抜粋したものです。

void _gcApplicationResize_GcResizeAttaching(object sender, GcResizeAttachingEventArgs e)
{
    // May be some forms should not be Resize.
    if (e.Form is NormalForm)
    {
        e.Cancel = true;
    }
}
Private Sub _gcApplicationResize_GcResizeAttaching(sender As Object, e As GcResizeAttachingEventArgs)
    ' May be some forms should not be Resize.
    If TypeOf e.Form Is NormalForm Then
        e.Cancel = True
    End If
End Sub
プラットフォーム

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

参照

GcResizeAttachingEventArgs クラス
GcResizeAttachingEventArgs メンバ

Send Feedback