示例#1
0
 private void btnLoad_Click(object sender, EventArgs e)
 {
     if (diaOpen1.ShowDialog() == DialogResult.OK)
     {
         source_file = diaOpen1.FileName;
         decrypter.Open(source_file);
         btnCompress.Enabled = false;
         btnLoad.Enabled     = false;
         lbStatus.Text       = "Processing...";
         DumpEntries();
         lbStatus.Text       = "ok. Loaded";
         btnLoad.Enabled     = true;
         btnCompress.Enabled = true;
     }
 }
示例#2
0
 public void Open(string source_file)
 {
     this.source_file = source_file;
     decrypter.Open(source_file);
 }