private unsafe bool GetIsChecked() { Variant pOutput = Variant.Create(0); IntPtr what = CheckBox_c.GetValue(_pointer, pOutput.Pointer); bool result = Variant.FromPointer(what).AsInt32() == 1; pOutput.Dispose(); return(result); }
public static Checkbox Create(string name, string text, bool defaultValue, bool horizontalSpacer = false) { IntPtr pView = CheckBox_c.Create(name, text, defaultValue, horizontalSpacer); if (pView == IntPtr.Zero) { return(null); } return(new Checkbox(pView)); }
public override void Dispose() { CheckBox_c.Deconstructor(_pointer); }