// Use this for initializatio void Start () { readFile = GetComponent<readFile>(); spawnedActions = new List<GameObject>(); delay = int.Parse(readFile.actions[0]); }
//# public frmMain() { readFile c = new readFile(); c.readfile(); string strServerName = ""; string strDatabase = ""; if (c.strLine1.Contains("Server:") == true) { strServerName = c.strLine1.Substring(7); } if (c.strLine2.Contains("Database:") == true) { strDatabase = c.strLine2.Substring(9); } InitializeComponent(); sql = new sql(strServerName, strDatabase, "U0", "123"); me = this; }
static void Main(string[] args) { readWriteFile.readFile rd = new readFile(); Console.ReadLine(); }