示例#1
0
        public uc_autoprocess(
            System.Int32 aRows,
            System.Int32 aColumns,
            TermWindow p1
            )
        {
            this.rRows    = aRows;
            this.rColumns = aColumns;
            this.Parent   = p1;

            mySB = new System.Text.StringBuilder(this.rRows * this.rColumns);
            this.SetSequence();
            myMapTxtCaret = new uc_maptxtcaret(this);

            stream      = File.Open(@"c:\temp\temp.xlsx", FileMode.Open, FileAccess.Read);
            excelReader = ExcelReaderFactory.CreateOpenXmlReader(stream);

            excelReader.IsFirstRowAsColumnNames = true;
            output = excelReader.AsDataSet();

            ddtt     = output.Tables[0];
            numCount = ddtt.Rows.Count;

            shouldIncExcelPatientCntr = false;
        }
        public uc_autoprocess(
            System.Int32 aRows,
            System.Int32 aColumns,
            TermWindow p1
            )
        {
            this.rRows = aRows;
            this.rColumns = aColumns;
            this.Parent = p1;

            mySB = new System.Text.StringBuilder(this.rRows * this.rColumns);
            this.SetSequence();
            myMapTxtCaret = new uc_maptxtcaret(this);

            stream = File.Open(@"c:\temp\temp.xlsx", FileMode.Open, FileAccess.Read);
            excelReader = ExcelReaderFactory.CreateOpenXmlReader(stream);

            excelReader.IsFirstRowAsColumnNames = true;
            output = excelReader.AsDataSet();

            ddtt = output.Tables[0];
            numCount = ddtt.Rows.Count;

            shouldIncExcelPatientCntr = false;
        }
示例#3
0
        public static void Main(string[] Args)
        {
            TermWindow MainWindow = new TermWindow();

            System.Windows.Forms.Application.Run(MainWindow);
            //System.Windows.Forms.Application.Run(testfrm);
        }
示例#4
0
文件: Core.cs 项目: ElasticRaven/KOS
        public void Awake()
        {
            // This thing gets instantiated 4 times by KSP for some reason
            if (Fetch != null) return;
            Fetch = this;

            var gObj = new GameObject("kOSTermWindow", typeof(TermWindow));
            UnityEngine.Object.DontDestroyOnLoad(gObj);
            Window = (TermWindow)gObj.GetComponent(typeof(TermWindow));
        }
示例#5
0
 public uc_Keyboard(TermWindow p1)
 {
     //prntSome.printSome("uc_Keyboard");
     this.Parent = p1;
 }
示例#6
0
        public static void Main(string[] Args)
        {
            TermWindow MainWindow = new TermWindow ();

            System.Windows.Forms.Application.Run (MainWindow);
            //System.Windows.Forms.Application.Run(testfrm);
        }
示例#7
0
 public uc_Keyboard(TermWindow p1)
 {
     //prntSome.printSome("uc_Keyboard");
     this.Parent = p1;
 }