***From Tomboy.cs*** static void OpenTrash (object sender, EventArgs args) { NoteTrash.GetInstance (trash_manager).Present (); } ******************* ***From NoteTrash.cs*** namespace Tomboy { public class NoteTrash : NoteRecentChanges { static NoteTrash instance; public static NoteTrash GetInstance (NoteManager trash_manager) { if (instance == null) instance = new NoteTrash (trash_manager); System.Diagnostics.Debug.Assert ( instance.GetManager() == trash_manager, "Multiple NoteManagers not supported"); return instance; } protected NoteTrash (NoteManager trash_manager) : base (trash_manager) { this.Title = "Trash"; SetManager(trash_manager); } void OnCloseWindow (object sender, EventArgs args) { //base.OnCloseWindow(sender,args); //instance = null; } } } *****************************