private void mainFrame_Load(object sender, EventArgs e) { this.tsslStaartTime.Text = "系统开始时间:" + System.DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"); //if (thSplash != null) //{ // thSplash.Abort(); // thSplash = null; //} UpdateDB db = new UpdateDB(); db.Updateed += new EventHandler((s2, e2) => { tsslAppVer.Text = s2.ToString(); }); db.Update(); tsslAppVer.Text = "I-SOFT 版本 " + db.AppVer.ToString(); }
protected void lnkUpdate_Click(object sender, EventArgs e) { SqlConnection cn = new SqlConnection(SqlDataSource1.ConnectionString); UpdateDB upd = new UpdateDB(@"C:\PaoloMisson\aawork\GestionaleAssistenza\Src\GAT2\Update\", ref cn); upd.Update(); }