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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 767 - (show annotations) (download)
Thu Jun 20 20:43:46 2013 UTC (6 years, 8 months ago) by william
File size: 1044 byte(s)

1 using System;
2 using System.Collections.Generic;
3 using System.ComponentModel;
4 using System.Data;
5 using System.Drawing;
6 using System.Linq;
7 using System.Text;
8 using System.Windows.Forms;
9 using WeifenLuo.WinFormsUI.Docking;
10
11 namespace RomCheater.ScratchPad
12 {
13 public partial class ScratchPadDocument : DockContent
14 {
15
16 public ScratchPadDocument()
17 {
18 InitializeComponent();
19
20 this.DocumentFilename = "New1";
21 this.DocumentIndex = 0;
22 }
23 public ScratchPadDocument(string documentFilename, int documentInex) : this()
24 {
25 this.DocumentFilename = documentFilename;
26 this.DocumentIndex = documentInex;
27 }
28
29
30 private string _DocumentFilename;
31 public string DocumentFilename { get { return _DocumentFilename; } set { _DocumentFilename = value; } }
32 private int _DocumentIndex;
33 public int DocumentIndex { get { return _DocumentIndex; } set { _DocumentIndex = value; } }
34 }
35 }

  ViewVC Help
Powered by ViewVC 1.1.22