|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;
namespace OnTimeConsoleTest
{
class Program
{
static void Main(string[] args)
{
// test size persistence
Size theSize;
Size minSize;
Point margins;
Scm2OtGui.Scm2OtForm myForm = new Scm2OtGui.Scm2OtForm();
// myForm.LinkLabel = "D1091";
// myForm.LinkLabel = "T1441";
myForm.LinkLabel = "crap";
// myForm.VssItemSpec = "$/WIP/gfilkov/file11.txt";
myForm.VssItemSpec = "$/Projects/Windows.NET/Test.csproj";
bool bOk = myForm.Open();
// test size persistence
// theSize = myForm.Size;
theSize = myForm.DlgSize;
minSize = myForm.MinimumSize;
margins = myForm.GridMargins;
myForm.CloseDialog();
myForm.Dispose();
Scm2OtGui.Scm2OtForm myForm2 = new Scm2OtGui.Scm2OtForm();
myForm2.LinkLabel = "crap";
myForm2.VssItemSpec = "$/Projects/Windows.NET/Test.csproj";
myForm2.DlgSize = theSize;
myForm2.MinimumSize = minSize;
myForm2.GridMargins = margins;
bOk = myForm2.Open();
myForm2.CloseDialog();
}
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.