Reworked encryption to not support streaming, but only pre/post process encrypted files. The Get/Put methods in the BackendWrapper now automatically writes/reads from the signature cache. Introduced a DoubleClickRadioButton for use on the main pages. Fixed a bug where zero byte files would throw an exception on restore. Fixed a bug where deleting a folder while building the filelist would interrupt the backup. Fixed issue #17. Fixed issue #22. Fixed issue #38. Added the commandline option to support issue #39, but still needs a UI entry. git-svn-id: https://duplicati.googlecode.com/svn/trunk@131 59da171f-624f-0410-aa54-27559c288bec
30 lines
992 B
C#
30 lines
992 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
using System.ComponentModel;
|
|
|
|
namespace System.Windows.Forms.Wizard
|
|
{
|
|
/// <summary>
|
|
/// Class to support double-click enabled radio buttons, which are common in wizards,
|
|
/// but unavalible in standard .Net.
|
|
/// </summary>
|
|
public class DoubleClickRadioButton : RadioButton
|
|
{
|
|
public DoubleClickRadioButton()
|
|
{
|
|
this.SetStyle(ControlStyles.StandardClick | ControlStyles.StandardDoubleClick, true);
|
|
base.DoubleClick += new EventHandler(DoubleClickRadioButton_DoubleClick);
|
|
}
|
|
|
|
void DoubleClickRadioButton_DoubleClick(object sender, EventArgs e)
|
|
{
|
|
if (this.DoubleClick != null)
|
|
this.DoubleClick(sender, e);
|
|
}
|
|
|
|
[BrowsableAttribute(true), DescriptionAttribute("Occurs when the user doubleclicks the RadioButton")]
|
|
public new event EventHandler DoubleClick;
|
|
}
|
|
}
|