示例#1
0
 private void Archive_Click(object sender, EventArgs e)
 {
     try
     {
         if (this.destinationForm == null)
         {
             this.destinationForm             = new DestinationForm();
             this.destinationForm.FormClosed += Destination_FormClosed;
             this.destinationForm.ShowDialog();
         }
     }
     catch (Exception ex)
     {
         Program.DisplayError(ex);
     }
 }
示例#2
0
 private void Destination_FormClosed(object sender, FormClosedEventArgs e)
 {
     this.destinationForm = null;
 }