In our reusable assembly I have created a static class so that I can call it in various parts of our assemblies and get access to another project and call its methods,etc...
public static class CommentViewerHelper
{
static CommentViewerHelper()
{
CommentViewer = new CommentViewer();
}
/// <summary>
/// Gives access to PCSCommentViewer public methods and properties.
/// </summary>
public static CommentViewer CommentViewer { get; private set; }
}
this CommentViewer project has a form so users can enter comments, etc... My problem is that How can I know if users have actually opened this CommentViewer program? I mean yeah I can call its methods whenever I want but is there a way that first I can know if that program is open at all?