public void ClickRadioButton(TaskRadioButton radioButton) { SendMessage(Handle, TASKDIALOG_MESSAGE.TDM_CLICK_RADIO_BUTTON, (IntPtr)TaskDialog.CurrentPage.ToId(radioButton.GlobalId), IntPtr.Zero); }
public void EnableRadioButton(TaskRadioButton radioButton, [MarshalAs(UnmanagedType.U1)] bool enable) { SendMessage(Handle, TASKDIALOG_MESSAGE.TDM_ENABLE_RADIO_BUTTON, (IntPtr)TaskDialog.CurrentPage.ToId(radioButton.GlobalId), (IntPtr)(enable ? 1 : 0)); }