/[RomCheater]/trunk/RomCheater.ScratchPad/ScratchPadDocument.cs
ViewVC logotype

Diff of /trunk/RomCheater.ScratchPad/ScratchPadDocument.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 782 by william, Fri Jun 21 04:22:03 2013 UTC revision 783 by william, Fri Jun 21 04:26:36 2013 UTC
# Line 14  using RomCheater.Logging; Line 14  using RomCheater.Logging;
14  namespace RomCheater.ScratchPad  namespace RomCheater.ScratchPad
15  {  {
16      public partial class ScratchPadDocument : UserControl      public partial class ScratchPadDocument : UserControl
17      {      {        
18            public event EventHandler<LinkClickedEventArgs> LinkClicked;
19          public event BaseEventHandler<ControlClosingEventArgs<int>> DocumentClosing;          public event BaseEventHandler<ControlClosingEventArgs<int>> DocumentClosing;
20    
21          const string NewDocumentFilename = "ScratchPad";          const string NewDocumentFilename = "ScratchPad";
# Line 233  namespace RomCheater.ScratchPad Line 234  namespace RomCheater.ScratchPad
234          {          {
235              this.DocumentSaved = false;              this.DocumentSaved = false;
236          }          }
237    
238            private void txtEditor_LinkClicked(object sender, LinkClickedEventArgs e)
239            {
240                if (this.LinkClicked != null)
241                {
242                    this.LinkClicked.Invoke(sender, e);
243                }
244            }
245      }      }
246  }  }

Legend:
Removed from v.782  
changed lines
  Added in v.783

  ViewVC Help
Powered by ViewVC 1.1.22