/// <summary> The message box cancel callback procedure. </summary> /// <param name="widget"> The widget, that initiated the callback procedure. <see cref="System.IntPtr"/> </param> /// <param name="clientData"> Additional callback data from the client. <see cref="System.IntPtr"/> </param> /// <param name="callData"> Additional data defined for the call. <see cref="System.IntPtr"/> </param> public virtual void DialogCancel([In] IntPtr widget, [In] IntPtr client_data, [In] IntPtr call_data) { Xtlib.XtPopdown(_shell); _result = XtDialog.DialogResult.Cancel; OnDialogEnd(); Dispose(); }
/// <summary> The dialog specific close. </summary> public override void Close() { Xtlib.XtPopdown(_shell); _result = XtDialog.DialogResult.Cancel; OnDialogEnd(); Dispose(); }