This repository has been archived by the owner on Oct 16, 2020. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add interface to allow replacing WinFormsMessageService with a custom…
… implementation when hosting SharpDevelop.
- Loading branch information
Showing
4 changed files
with
33 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
src/Main/ICSharpCode.Core.WinForms/MessageService/IDialogMessageService.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
// <file> | ||
// <copyright see="prj:///doc/copyright.txt"/> | ||
// <license see="prj:///doc/license.txt"/> | ||
// <author name="Daniel Grunwald"/> | ||
// <version>$Revision$</version> | ||
// </file> | ||
|
||
using System; | ||
using System.ComponentModel; | ||
using System.Windows.Forms; | ||
|
||
using ICSharpCode.Core.Services; | ||
|
||
namespace ICSharpCode.Core.WinForms | ||
{ | ||
/// <summary> | ||
/// Message service that sets an owner for dialog boxes. | ||
/// </summary> | ||
public interface IDialogMessageService : IMessageService | ||
{ | ||
IWin32Window DialogOwner { set; get; } | ||
ISynchronizeInvoke DialogSynchronizeInvoke { set; get; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters