1 |
william |
767 |
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 |
|
|
} |