private void AddUpdateButton_Click(object sender, EventArgs e) { Update u = new Update(); u.ReleaseDate = DateTime.Now.ToUniversalTime(); u.SignedFileHash = GetFileHash(); u.BugfixUpdate = true; if (u.SignedFileHash != null) listBox1.SelectedIndex = listBox1.Items.Add(u); }
private static void Updateavailable(FreshKeeper keeper, Update update) { ShowUpdateDetails frm = new ShowUpdateDetails(); //frm.SetUpdate(update); Application.Run(frm); }