Search Results for

    Show / Hide Table of Contents

    Class OTZControlUtils

    コントロール関連ユーティリティクラス

    Inheritance
    System.Object
    OTZControlUtils
    名前空間: OTZControls.Utilities
    アセンブリ: OTZControls.dll
    Syntax
    public class OTZControlUtils

    コンストラクタ

    OTZControlUtils()

    宣言
    public OTZControlUtils()

    メソッド

    AddExStyle(IntPtr, Int32)

    宣言
    public static bool AddExStyle(IntPtr handle, int exStyle)
    パラメーター
    型 名前 説明
    System.IntPtr handle
    System.Int32 exStyle
    戻り値
    型 説明
    System.Boolean

    CollectionToArray(ComboBox.ObjectCollection)

    コレクションを文字列配列に変換します。

    宣言
    public static string[] CollectionToArray(ComboBox.ObjectCollection collection)
    パラメーター
    型 名前 説明
    System.Windows.Forms.ComboBox.ObjectCollection collection

    コレクション。

    戻り値
    型 説明
    System.String[]

    GetControlDefaultFontForDpi(Int32)

    コントロールの既定のフォントを取得します。

    宣言
    public static Font GetControlDefaultFontForDpi(int dpi)
    パラメーター
    型 名前 説明
    System.Int32 dpi

    DPI

    戻り値
    型 説明
    System.Drawing.Font

    GetParentForm(Control)

    親フォームを取得します。

    宣言
    public static OTZForm GetParentForm(Control control)
    パラメーター
    型 名前 説明
    System.Windows.Forms.Control control
    戻り値
    型 説明
    OTZForm

    GetToolStrip(ToolStripItem)

    親メニューを取得します。

    宣言
    public static ToolStrip GetToolStrip(ToolStripItem item)
    パラメーター
    型 名前 説明
    System.Windows.Forms.ToolStripItem item
    戻り値
    型 説明
    System.Windows.Forms.ToolStrip

    RemoveExStyle(IntPtr, Int32)

    宣言
    public static bool RemoveExStyle(IntPtr handle, int exStyle)
    パラメーター
    型 名前 説明
    System.IntPtr handle
    System.Int32 exStyle
    戻り値
    型 説明
    System.Boolean

    SetOpacity(IntPtr, Byte)

    ウィンドウの不透明度を設定します。

    宣言
    public static bool SetOpacity(IntPtr handle, byte alpha)
    パラメーター
    型 名前 説明
    System.IntPtr handle

    不透明にするウィンドウハンドル。

    System.Byte alpha

    アルファ値。

    戻り値
    型 説明
    System.Boolean
    In This Article
    Back to top Generated by DocFX