Esempio n. 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;
        }
Esempio n. 3
0
        public static void Main(string[] Args)
        {
            TermWindow MainWindow = new TermWindow();

            System.Windows.Forms.Application.Run(MainWindow);
            //System.Windows.Forms.Application.Run(testfrm);
        }
Esempio n. 4
0
        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));
        }
Esempio n. 5
0
 public uc_Keyboard(TermWindow p1)
 {
     //prntSome.printSome("uc_Keyboard");
     this.Parent = p1;
 }
Esempio n. 6
0
        public static void Main(string[] Args)
        {
            TermWindow MainWindow = new TermWindow ();

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