Ejemplo n.º 1
0
 public void ClickRadioButton(TaskRadioButton radioButton)
 {
     SendMessage(Handle, TASKDIALOG_MESSAGE.TDM_CLICK_RADIO_BUTTON, (IntPtr)TaskDialog.CurrentPage.ToId(radioButton.GlobalId), IntPtr.Zero);
 }
Ejemplo n.º 2
0
 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));
 }