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