예제 #1
0
 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);
 }
예제 #2
0
 private static void Updateavailable(FreshKeeper keeper, Update update)
 {
     ShowUpdateDetails frm = new ShowUpdateDetails();
     //frm.SetUpdate(update);
     Application.Run(frm);
 }