ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/RomCheater/trunk/RomCheater.ScratchPad/ScratchPadDocument.cs
Revision: 767
Committed: Thu Jun 20 20:43:46 2013 UTC (10 years, 3 months ago) by william
File size: 1044 byte(s)
Log Message:

File Contents

# Content
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 }