CarotDav_decompile/CarotDAV/UpDownForm.cs

1885 lines
71 KiB
C#
Raw Normal View History

// Decompiled with JetBrains decompiler
// Type: CarotDAV.UpDownForm
// Assembly: CarotDAV, Version=1.13.2.18337, Culture=neutral, PublicKeyToken=null
// MVID: C31F2651-A4A8-4D09-916A-8C6106F5E7C8
// Assembly location: F:\Eigene Dateien\Dropbox\portable Collection\Progs\CarotDAV\CarotDAV.exe
using Microsoft.VisualBasic.CompilerServices;
using Rei.Com;
using Rei.Fs;
using System;
using System.ComponentModel;
using System.Diagnostics;
using System.Drawing;
using System.Runtime.CompilerServices;
using System.Windows.Forms;
namespace CarotDAV
{
[DesignerGenerated]
public class UpDownForm : Form
{
private IContainer components;
[AccessedThroughProperty("TotalProgressBar")]
private ProgressBar _TotalProgressBar;
[AccessedThroughProperty("FileProgressBar")]
private ProgressBar _FileProgressBar;
[AccessedThroughProperty("Label1")]
private Label _Label1;
[AccessedThroughProperty("Label2")]
private Label _Label2;
[AccessedThroughProperty("m_CancelButton")]
private Button _m_CancelButton;
[AccessedThroughProperty("FileInfoTextBox")]
private TextBox _FileInfoTextBox;
[AccessedThroughProperty("TotalInfoTextBox")]
private TextBox _TotalInfoTextBox;
[AccessedThroughProperty("AsyncCopy1")]
private AsyncCopy _AsyncCopy1;
[AccessedThroughProperty("SourceTextBox")]
private TextBox _SourceTextBox;
[AccessedThroughProperty("CheckBoxStopFile")]
private CheckBox _CheckBoxStopFile;
[AccessedThroughProperty("ExpandButton")]
private Button _ExpandButton;
[AccessedThroughProperty("MessageTextBox")]
private TextBox _MessageTextBox;
[AccessedThroughProperty("SplitContainer1")]
private SplitContainer _SplitContainer1;
[AccessedThroughProperty("Button1")]
private Button _Button1;
[AccessedThroughProperty("OnErrorGroupBox")]
private GroupBox _OnErrorGroupBox;
[AccessedThroughProperty("RadioButtonErrorPrompt")]
private RadioButton _RadioButtonErrorPrompt;
[AccessedThroughProperty("RadioButtonErrorIgnore")]
private RadioButton _RadioButtonErrorIgnore;
[AccessedThroughProperty("GroupBox3")]
private GroupBox _GroupBox3;
[AccessedThroughProperty("RadioButtonOtherPrompt")]
private RadioButton _RadioButtonOtherPrompt;
[AccessedThroughProperty("RadioButtonOtherDelete")]
private RadioButton _RadioButtonOtherDelete;
[AccessedThroughProperty("RadioButtonOtherSkip")]
private RadioButton _RadioButtonOtherSkip;
[AccessedThroughProperty("GroupBox2")]
private GroupBox _GroupBox2;
[AccessedThroughProperty("RadioButtonFolderPrompt")]
private RadioButton _RadioButtonFolderPrompt;
[AccessedThroughProperty("RadioButtonFolderIntegrate")]
private RadioButton _RadioButtonFolderIntegrate;
[AccessedThroughProperty("RadioButtonFolderDelete")]
private RadioButton _RadioButtonFolderDelete;
[AccessedThroughProperty("RadioButtonFolderSkip")]
private RadioButton _RadioButtonFolderSkip;
[AccessedThroughProperty("GroupBox1")]
private GroupBox _GroupBox1;
[AccessedThroughProperty("RadioButtonFilePrompt")]
private RadioButton _RadioButtonFilePrompt;
[AccessedThroughProperty("RadioButtonFileOverwrite")]
private RadioButton _RadioButtonFileOverwrite;
[AccessedThroughProperty("RadioButtonFileOverwriteNewer")]
private RadioButton _RadioButtonFileOverwriteNewer;
[AccessedThroughProperty("RadioButtonFileResume")]
private RadioButton _RadioButtonFileResume;
[AccessedThroughProperty("RadioButtonFileDelete")]
private RadioButton _RadioButtonFileDelete;
[AccessedThroughProperty("RadioButtonFileSkip")]
private RadioButton _RadioButtonFileSkip;
[AccessedThroughProperty("RadioButtonFileChangeName")]
private RadioButton _RadioButtonFileChangeName;
[AccessedThroughProperty("RadioButtonOtherChangeName")]
private RadioButton _RadioButtonOtherChangeName;
[AccessedThroughProperty("RadioButtonFolderChangeName")]
private RadioButton _RadioButtonFolderChangeName;
[AccessedThroughProperty("Timer1")]
private Timer _Timer1;
[AccessedThroughProperty("TextBoxFileFolderCount")]
private TextBox _TextBoxFileFolderCount;
private string pTitle;
private bool pShowCancelDialog;
private MainForm pMainForm;
private ConflictPromptManager pConflictManager;
private ErrorPromptManager pErrorManager;
private bool pEnableResume;
private UpDownForm.TransferDirectionType pDirection;
private int panel2height;
[DebuggerNonUserCode]
protected override void Dispose(bool disposing)
{
try
{
if (!disposing || this.components == null)
return;
this.components.Dispose();
}
finally
{
base.Dispose(disposing);
}
}
[DebuggerStepThrough]
private void InitializeComponent()
{
this.components = (IContainer) new System.ComponentModel.Container();
this.TotalProgressBar = new ProgressBar();
this.FileProgressBar = new ProgressBar();
this.Label1 = new Label();
this.Label2 = new Label();
this.m_CancelButton = new Button();
this.FileInfoTextBox = new TextBox();
this.TotalInfoTextBox = new TextBox();
this.SourceTextBox = new TextBox();
this.CheckBoxStopFile = new CheckBox();
this.ExpandButton = new Button();
this.MessageTextBox = new TextBox();
this.SplitContainer1 = new SplitContainer();
this.TextBoxFileFolderCount = new TextBox();
this.Button1 = new Button();
this.OnErrorGroupBox = new GroupBox();
this.RadioButtonErrorPrompt = new RadioButton();
this.RadioButtonErrorIgnore = new RadioButton();
this.GroupBox3 = new GroupBox();
this.RadioButtonOtherPrompt = new RadioButton();
this.RadioButtonOtherDelete = new RadioButton();
this.RadioButtonOtherSkip = new RadioButton();
this.RadioButtonOtherChangeName = new RadioButton();
this.GroupBox2 = new GroupBox();
this.RadioButtonFolderPrompt = new RadioButton();
this.RadioButtonFolderIntegrate = new RadioButton();
this.RadioButtonFolderDelete = new RadioButton();
this.RadioButtonFolderSkip = new RadioButton();
this.RadioButtonFolderChangeName = new RadioButton();
this.GroupBox1 = new GroupBox();
this.RadioButtonFilePrompt = new RadioButton();
this.RadioButtonFileOverwrite = new RadioButton();
this.RadioButtonFileOverwriteNewer = new RadioButton();
this.RadioButtonFileResume = new RadioButton();
this.RadioButtonFileDelete = new RadioButton();
this.RadioButtonFileChangeName = new RadioButton();
this.RadioButtonFileSkip = new RadioButton();
this.Timer1 = new Timer(this.components);
this.AsyncCopy1 = new AsyncCopy(this.components);
this.SplitContainer1.Panel1.SuspendLayout();
this.SplitContainer1.Panel2.SuspendLayout();
this.SplitContainer1.SuspendLayout();
this.OnErrorGroupBox.SuspendLayout();
this.GroupBox3.SuspendLayout();
this.GroupBox2.SuspendLayout();
this.GroupBox1.SuspendLayout();
this.SuspendLayout();
this.TotalProgressBar.Anchor = AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
ProgressBar totalProgressBar1 = this.TotalProgressBar;
Point point1 = new Point(8, 97);
Point point2 = point1;
totalProgressBar1.Location = point2;
this.TotalProgressBar.Maximum = 1000;
this.TotalProgressBar.Name = "TotalProgressBar";
ProgressBar totalProgressBar2 = this.TotalProgressBar;
Size size1 = new Size(296, 16);
Size size2 = size1;
totalProgressBar2.Size = size2;
this.TotalProgressBar.TabIndex = 5;
this.FileProgressBar.Anchor = AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
ProgressBar fileProgressBar1 = this.FileProgressBar;
point1 = new Point(8, 137);
Point point3 = point1;
fileProgressBar1.Location = point3;
this.FileProgressBar.Maximum = 1000;
this.FileProgressBar.Name = "FileProgressBar";
ProgressBar fileProgressBar2 = this.FileProgressBar;
size1 = new Size(296, 16);
Size size3 = size1;
fileProgressBar2.Size = size3;
this.FileProgressBar.TabIndex = 8;
this.Label1.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
this.Label1.AutoSize = true;
Label label1_1 = this.Label1;
point1 = new Point(8, 64);
Point point4 = point1;
label1_1.Location = point4;
this.Label1.Name = "Label1";
Label label1_2 = this.Label1;
size1 = new Size(31, 12);
Size size4 = size1;
label1_2.Size = size4;
this.Label1.TabIndex = 2;
this.Label1.Text = "Total";
this.Label2.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
this.Label2.AutoSize = true;
Label label2_1 = this.Label2;
point1 = new Point(8, 121);
Point point5 = point1;
label2_1.Location = point5;
this.Label2.Name = "Label2";
Label label2_2 = this.Label2;
size1 = new Size(24, 12);
Size size5 = size1;
label2_2.Size = size5;
this.Label2.TabIndex = 6;
this.Label2.Text = "File";
this.m_CancelButton.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
this.m_CancelButton.DialogResult = DialogResult.Cancel;
Button mCancelButton1 = this.m_CancelButton;
point1 = new Point(232, 161);
Point point6 = point1;
mCancelButton1.Location = point6;
this.m_CancelButton.Name = "m_CancelButton";
Button mCancelButton2 = this.m_CancelButton;
size1 = new Size(72, 24);
Size size6 = size1;
mCancelButton2.Size = size6;
this.m_CancelButton.TabIndex = 12;
this.m_CancelButton.Text = "Stop now";
this.m_CancelButton.UseVisualStyleBackColor = true;
this.FileInfoTextBox.Anchor = AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
this.FileInfoTextBox.BorderStyle = BorderStyle.None;
TextBox fileInfoTextBox1 = this.FileInfoTextBox;
point1 = new Point(48, 121);
Point point7 = point1;
fileInfoTextBox1.Location = point7;
this.FileInfoTextBox.Name = "FileInfoTextBox";
this.FileInfoTextBox.ReadOnly = true;
TextBox fileInfoTextBox2 = this.FileInfoTextBox;
size1 = new Size(251, 12);
Size size7 = size1;
fileInfoTextBox2.Size = size7;
this.FileInfoTextBox.TabIndex = 7;
this.FileInfoTextBox.TabStop = false;
this.FileInfoTextBox.Text = "File Transfer Information";
this.TotalInfoTextBox.Anchor = AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
this.TotalInfoTextBox.BorderStyle = BorderStyle.None;
TextBox totalInfoTextBox1 = this.TotalInfoTextBox;
point1 = new Point(48, 81);
Point point8 = point1;
totalInfoTextBox1.Location = point8;
this.TotalInfoTextBox.Name = "TotalInfoTextBox";
this.TotalInfoTextBox.ReadOnly = true;
TextBox totalInfoTextBox2 = this.TotalInfoTextBox;
size1 = new Size(256, 12);
Size size8 = size1;
totalInfoTextBox2.Size = size8;
this.TotalInfoTextBox.TabIndex = 4;
this.TotalInfoTextBox.TabStop = false;
this.TotalInfoTextBox.Text = "Total Transfer Information";
this.SourceTextBox.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
TextBox sourceTextBox1 = this.SourceTextBox;
point1 = new Point(8, 24);
Point point9 = point1;
sourceTextBox1.Location = point9;
this.SourceTextBox.Multiline = true;
this.SourceTextBox.Name = "SourceTextBox";
this.SourceTextBox.ReadOnly = true;
TextBox sourceTextBox2 = this.SourceTextBox;
size1 = new Size(296, 32);
Size size9 = size1;
sourceTextBox2.Size = size9;
this.SourceTextBox.TabIndex = 1;
this.SourceTextBox.TabStop = false;
this.CheckBoxStopFile.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
this.CheckBoxStopFile.Appearance = Appearance.Button;
CheckBox checkBoxStopFile1 = this.CheckBoxStopFile;
point1 = new Point(128, 161);
Point point10 = point1;
checkBoxStopFile1.Location = point10;
this.CheckBoxStopFile.Name = "CheckBoxStopFile";
CheckBox checkBoxStopFile2 = this.CheckBoxStopFile;
size1 = new Size(96, 24);
Size size10 = size1;
checkBoxStopFile2.Size = size10;
this.CheckBoxStopFile.TabIndex = 11;
this.CheckBoxStopFile.Text = "Stop after file";
this.CheckBoxStopFile.TextAlign = ContentAlignment.MiddleCenter;
this.ExpandButton.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
this.ExpandButton.Image = (Image) CarotDAV.My.Resources.Resources.MoveUp;
Button expandButton1 = this.ExpandButton;
point1 = new Point(8, 161);
Point point11 = point1;
expandButton1.Location = point11;
this.ExpandButton.Name = "ExpandButton";
Button expandButton2 = this.ExpandButton;
size1 = new Size(24, 24);
Size size11 = size1;
expandButton2.Size = size11;
this.ExpandButton.TabIndex = 9;
this.ExpandButton.UseVisualStyleBackColor = true;
this.MessageTextBox.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
this.MessageTextBox.BorderStyle = BorderStyle.None;
TextBox messageTextBox1 = this.MessageTextBox;
point1 = new Point(8, 8);
Point point12 = point1;
messageTextBox1.Location = point12;
this.MessageTextBox.Name = "MessageTextBox";
this.MessageTextBox.ReadOnly = true;
TextBox messageTextBox2 = this.MessageTextBox;
size1 = new Size(296, 12);
Size size12 = size1;
messageTextBox2.Size = size12;
this.MessageTextBox.TabIndex = 0;
this.MessageTextBox.TabStop = false;
this.MessageTextBox.Text = "Message";
this.SplitContainer1.Dock = DockStyle.Fill;
this.SplitContainer1.FixedPanel = FixedPanel.Panel1;
SplitContainer splitContainer1_1 = this.SplitContainer1;
point1 = new Point(0, 0);
Point point13 = point1;
splitContainer1_1.Location = point13;
this.SplitContainer1.Name = "SplitContainer1";
this.SplitContainer1.Orientation = Orientation.Horizontal;
this.SplitContainer1.Panel1.Controls.Add((Control) this.TextBoxFileFolderCount);
this.SplitContainer1.Panel1.Controls.Add((Control) this.Button1);
this.SplitContainer1.Panel1.Controls.Add((Control) this.ExpandButton);
this.SplitContainer1.Panel1.Controls.Add((Control) this.MessageTextBox);
this.SplitContainer1.Panel1.Controls.Add((Control) this.CheckBoxStopFile);
this.SplitContainer1.Panel1.Controls.Add((Control) this.TotalProgressBar);
this.SplitContainer1.Panel1.Controls.Add((Control) this.SourceTextBox);
this.SplitContainer1.Panel1.Controls.Add((Control) this.FileProgressBar);
this.SplitContainer1.Panel1.Controls.Add((Control) this.Label1);
this.SplitContainer1.Panel1.Controls.Add((Control) this.TotalInfoTextBox);
this.SplitContainer1.Panel1.Controls.Add((Control) this.Label2);
this.SplitContainer1.Panel1.Controls.Add((Control) this.FileInfoTextBox);
this.SplitContainer1.Panel1.Controls.Add((Control) this.m_CancelButton);
this.SplitContainer1.Panel1MinSize = 0;
this.SplitContainer1.Panel2.Controls.Add((Control) this.OnErrorGroupBox);
this.SplitContainer1.Panel2.Controls.Add((Control) this.GroupBox3);
this.SplitContainer1.Panel2.Controls.Add((Control) this.GroupBox2);
this.SplitContainer1.Panel2.Controls.Add((Control) this.GroupBox1);
this.SplitContainer1.Panel2MinSize = 0;
SplitContainer splitContainer1_2 = this.SplitContainer1;
size1 = new Size(313, 410);
Size size13 = size1;
splitContainer1_2.Size = size13;
this.SplitContainer1.SplitterDistance = 192;
this.SplitContainer1.SplitterWidth = 1;
this.SplitContainer1.TabIndex = 0;
this.TextBoxFileFolderCount.BorderStyle = BorderStyle.None;
TextBox boxFileFolderCount1 = this.TextBoxFileFolderCount;
point1 = new Point(48, 64);
Point point14 = point1;
boxFileFolderCount1.Location = point14;
this.TextBoxFileFolderCount.Name = "TextBoxFileFolderCount";
this.TextBoxFileFolderCount.ReadOnly = true;
TextBox boxFileFolderCount2 = this.TextBoxFileFolderCount;
size1 = new Size(256, 12);
Size size14 = size1;
boxFileFolderCount2.Size = size14;
this.TextBoxFileFolderCount.TabIndex = 3;
this.TextBoxFileFolderCount.TabStop = false;
this.TextBoxFileFolderCount.Text = "File and Folder Counter";
this.Button1.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
this.Button1.Image = (Image) CarotDAV.My.Resources.Resources.OptionsHS;
Button button1_1 = this.Button1;
point1 = new Point(40, 161);
Point point15 = point1;
button1_1.Location = point15;
this.Button1.Name = "Button1";
Button button1_2 = this.Button1;
size1 = new Size(24, 24);
Size size15 = size1;
button1_2.Size = size15;
this.Button1.TabIndex = 10;
this.Button1.UseVisualStyleBackColor = true;
this.Button1.Visible = false;
this.OnErrorGroupBox.Controls.Add((Control) this.RadioButtonErrorPrompt);
this.OnErrorGroupBox.Controls.Add((Control) this.RadioButtonErrorIgnore);
GroupBox onErrorGroupBox1 = this.OnErrorGroupBox;
point1 = new Point(8, 8);
Point point16 = point1;
onErrorGroupBox1.Location = point16;
this.OnErrorGroupBox.Name = "OnErrorGroupBox";
GroupBox onErrorGroupBox2 = this.OnErrorGroupBox;
size1 = new Size(144, 56);
Size size16 = size1;
onErrorGroupBox2.Size = size16;
this.OnErrorGroupBox.TabIndex = 0;
this.OnErrorGroupBox.TabStop = false;
this.OnErrorGroupBox.Text = "On Error";
this.RadioButtonErrorPrompt.AutoSize = true;
RadioButton buttonErrorPrompt1 = this.RadioButtonErrorPrompt;
point1 = new Point(16, 16);
Point point17 = point1;
buttonErrorPrompt1.Location = point17;
this.RadioButtonErrorPrompt.Name = "RadioButtonErrorPrompt";
RadioButton buttonErrorPrompt2 = this.RadioButtonErrorPrompt;
size1 = new Size(59, 16);
Size size17 = size1;
buttonErrorPrompt2.Size = size17;
this.RadioButtonErrorPrompt.TabIndex = 0;
this.RadioButtonErrorPrompt.TabStop = true;
this.RadioButtonErrorPrompt.Text = "Prompt";
this.RadioButtonErrorPrompt.UseVisualStyleBackColor = true;
this.RadioButtonErrorIgnore.AutoSize = true;
RadioButton buttonErrorIgnore1 = this.RadioButtonErrorIgnore;
point1 = new Point(16, 32);
Point point18 = point1;
buttonErrorIgnore1.Location = point18;
this.RadioButtonErrorIgnore.Name = "RadioButtonErrorIgnore";
RadioButton buttonErrorIgnore2 = this.RadioButtonErrorIgnore;
size1 = new Size(54, 16);
Size size18 = size1;
buttonErrorIgnore2.Size = size18;
this.RadioButtonErrorIgnore.TabIndex = 1;
this.RadioButtonErrorIgnore.TabStop = true;
this.RadioButtonErrorIgnore.Text = "Ignore";
this.RadioButtonErrorIgnore.UseVisualStyleBackColor = true;
this.GroupBox3.Controls.Add((Control) this.RadioButtonOtherPrompt);
this.GroupBox3.Controls.Add((Control) this.RadioButtonOtherDelete);
this.GroupBox3.Controls.Add((Control) this.RadioButtonOtherSkip);
this.GroupBox3.Controls.Add((Control) this.RadioButtonOtherChangeName);
GroupBox groupBox3_1 = this.GroupBox3;
point1 = new Point(160, 120);
Point point19 = point1;
groupBox3_1.Location = point19;
this.GroupBox3.Name = "GroupBox3";
GroupBox groupBox3_2 = this.GroupBox3;
size1 = new Size(144, 88);
Size size19 = size1;
groupBox3_2.Size = size19;
this.GroupBox3.TabIndex = 3;
this.GroupBox3.TabStop = false;
this.GroupBox3.Text = "On Other Confliction";
this.RadioButtonOtherPrompt.AutoSize = true;
RadioButton buttonOtherPrompt1 = this.RadioButtonOtherPrompt;
point1 = new Point(16, 16);
Point point20 = point1;
buttonOtherPrompt1.Location = point20;
this.RadioButtonOtherPrompt.Name = "RadioButtonOtherPrompt";
RadioButton buttonOtherPrompt2 = this.RadioButtonOtherPrompt;
size1 = new Size(59, 16);
Size size20 = size1;
buttonOtherPrompt2.Size = size20;
this.RadioButtonOtherPrompt.TabIndex = 0;
this.RadioButtonOtherPrompt.TabStop = true;
this.RadioButtonOtherPrompt.Text = "Prompt";
this.RadioButtonOtherPrompt.UseVisualStyleBackColor = true;
this.RadioButtonOtherDelete.AutoSize = true;
RadioButton buttonOtherDelete1 = this.RadioButtonOtherDelete;
point1 = new Point(16, 32);
Point point21 = point1;
buttonOtherDelete1.Location = point21;
this.RadioButtonOtherDelete.Name = "RadioButtonOtherDelete";
RadioButton buttonOtherDelete2 = this.RadioButtonOtherDelete;
size1 = new Size(108, 16);
Size size21 = size1;
buttonOtherDelete2.Size = size21;
this.RadioButtonOtherDelete.TabIndex = 1;
this.RadioButtonOtherDelete.TabStop = true;
this.RadioButtonOtherDelete.Text = "Delete and Write";
this.RadioButtonOtherDelete.UseVisualStyleBackColor = true;
this.RadioButtonOtherSkip.AutoSize = true;
RadioButton radioButtonOtherSkip1 = this.RadioButtonOtherSkip;
point1 = new Point(16, 48);
Point point22 = point1;
radioButtonOtherSkip1.Location = point22;
this.RadioButtonOtherSkip.Name = "RadioButtonOtherSkip";
RadioButton radioButtonOtherSkip2 = this.RadioButtonOtherSkip;
size1 = new Size(45, 16);
Size size22 = size1;
radioButtonOtherSkip2.Size = size22;
this.RadioButtonOtherSkip.TabIndex = 2;
this.RadioButtonOtherSkip.TabStop = true;
this.RadioButtonOtherSkip.Text = "Skip";
this.RadioButtonOtherSkip.UseVisualStyleBackColor = true;
this.RadioButtonOtherChangeName.AutoSize = true;
RadioButton buttonOtherChangeName1 = this.RadioButtonOtherChangeName;
point1 = new Point(16, 64);
Point point23 = point1;
buttonOtherChangeName1.Location = point23;
this.RadioButtonOtherChangeName.Name = "RadioButtonOtherChangeName";
RadioButton buttonOtherChangeName2 = this.RadioButtonOtherChangeName;
size1 = new Size(94, 16);
Size size23 = size1;
buttonOtherChangeName2.Size = size23;
this.RadioButtonOtherChangeName.TabIndex = 3;
this.RadioButtonOtherChangeName.TabStop = true;
this.RadioButtonOtherChangeName.Text = "Change Name";
this.RadioButtonOtherChangeName.UseVisualStyleBackColor = true;
this.GroupBox2.Controls.Add((Control) this.RadioButtonFolderPrompt);
this.GroupBox2.Controls.Add((Control) this.RadioButtonFolderIntegrate);
this.GroupBox2.Controls.Add((Control) this.RadioButtonFolderDelete);
this.GroupBox2.Controls.Add((Control) this.RadioButtonFolderSkip);
this.GroupBox2.Controls.Add((Control) this.RadioButtonFolderChangeName);
GroupBox groupBox2_1 = this.GroupBox2;
point1 = new Point(160, 8);
Point point24 = point1;
groupBox2_1.Location = point24;
this.GroupBox2.Name = "GroupBox2";
GroupBox groupBox2_2 = this.GroupBox2;
size1 = new Size(144, 104);
Size size24 = size1;
groupBox2_2.Size = size24;
this.GroupBox2.TabIndex = 2;
this.GroupBox2.TabStop = false;
this.GroupBox2.Text = "On Folder Confliction";
this.RadioButtonFolderPrompt.AutoSize = true;
RadioButton buttonFolderPrompt1 = this.RadioButtonFolderPrompt;
point1 = new Point(16, 16);
Point point25 = point1;
buttonFolderPrompt1.Location = point25;
this.RadioButtonFolderPrompt.Name = "RadioButtonFolderPrompt";
RadioButton buttonFolderPrompt2 = this.RadioButtonFolderPrompt;
size1 = new Size(59, 16);
Size size25 = size1;
buttonFolderPrompt2.Size = size25;
this.RadioButtonFolderPrompt.TabIndex = 0;
this.RadioButtonFolderPrompt.TabStop = true;
this.RadioButtonFolderPrompt.Text = "Prompt";
this.RadioButtonFolderPrompt.UseVisualStyleBackColor = true;
this.RadioButtonFolderIntegrate.AutoSize = true;
RadioButton buttonFolderIntegrate1 = this.RadioButtonFolderIntegrate;
point1 = new Point(16, 32);
Point point26 = point1;
buttonFolderIntegrate1.Location = point26;
this.RadioButtonFolderIntegrate.Name = "RadioButtonFolderIntegrate";
RadioButton buttonFolderIntegrate2 = this.RadioButtonFolderIntegrate;
size1 = new Size(68, 16);
Size size26 = size1;
buttonFolderIntegrate2.Size = size26;
this.RadioButtonFolderIntegrate.TabIndex = 1;
this.RadioButtonFolderIntegrate.TabStop = true;
this.RadioButtonFolderIntegrate.Text = "Integrate";
this.RadioButtonFolderIntegrate.UseVisualStyleBackColor = true;
this.RadioButtonFolderDelete.AutoSize = true;
RadioButton buttonFolderDelete1 = this.RadioButtonFolderDelete;
point1 = new Point(16, 48);
Point point27 = point1;
buttonFolderDelete1.Location = point27;
this.RadioButtonFolderDelete.Name = "RadioButtonFolderDelete";
RadioButton buttonFolderDelete2 = this.RadioButtonFolderDelete;
size1 = new Size(108, 16);
Size size27 = size1;
buttonFolderDelete2.Size = size27;
this.RadioButtonFolderDelete.TabIndex = 2;
this.RadioButtonFolderDelete.TabStop = true;
this.RadioButtonFolderDelete.Text = "Delete and Write";
this.RadioButtonFolderDelete.UseVisualStyleBackColor = true;
this.RadioButtonFolderSkip.AutoSize = true;
RadioButton buttonFolderSkip1 = this.RadioButtonFolderSkip;
point1 = new Point(16, 64);
Point point28 = point1;
buttonFolderSkip1.Location = point28;
this.RadioButtonFolderSkip.Name = "RadioButtonFolderSkip";
RadioButton buttonFolderSkip2 = this.RadioButtonFolderSkip;
size1 = new Size(45, 16);
Size size28 = size1;
buttonFolderSkip2.Size = size28;
this.RadioButtonFolderSkip.TabIndex = 3;
this.RadioButtonFolderSkip.TabStop = true;
this.RadioButtonFolderSkip.Text = "Skip";
this.RadioButtonFolderSkip.UseVisualStyleBackColor = true;
this.RadioButtonFolderChangeName.AutoSize = true;
RadioButton folderChangeName1 = this.RadioButtonFolderChangeName;
point1 = new Point(16, 80);
Point point29 = point1;
folderChangeName1.Location = point29;
this.RadioButtonFolderChangeName.Name = "RadioButtonFolderChangeName";
RadioButton folderChangeName2 = this.RadioButtonFolderChangeName;
size1 = new Size(94, 16);
Size size29 = size1;
folderChangeName2.Size = size29;
this.RadioButtonFolderChangeName.TabIndex = 4;
this.RadioButtonFolderChangeName.TabStop = true;
this.RadioButtonFolderChangeName.Text = "Change Name";
this.RadioButtonFolderChangeName.UseVisualStyleBackColor = true;
this.GroupBox1.Controls.Add((Control) this.RadioButtonFilePrompt);
this.GroupBox1.Controls.Add((Control) this.RadioButtonFileOverwrite);
this.GroupBox1.Controls.Add((Control) this.RadioButtonFileOverwriteNewer);
this.GroupBox1.Controls.Add((Control) this.RadioButtonFileResume);
this.GroupBox1.Controls.Add((Control) this.RadioButtonFileDelete);
this.GroupBox1.Controls.Add((Control) this.RadioButtonFileChangeName);
this.GroupBox1.Controls.Add((Control) this.RadioButtonFileSkip);
GroupBox groupBox1_1 = this.GroupBox1;
point1 = new Point(8, 72);
Point point30 = point1;
groupBox1_1.Location = point30;
this.GroupBox1.Name = "GroupBox1";
GroupBox groupBox1_2 = this.GroupBox1;
size1 = new Size(144, 136);
Size size30 = size1;
groupBox1_2.Size = size30;
this.GroupBox1.TabIndex = 1;
this.GroupBox1.TabStop = false;
this.GroupBox1.Text = "On File Confliction";
this.RadioButtonFilePrompt.AutoSize = true;
RadioButton buttonFilePrompt1 = this.RadioButtonFilePrompt;
point1 = new Point(16, 16);
Point point31 = point1;
buttonFilePrompt1.Location = point31;
this.RadioButtonFilePrompt.Name = "RadioButtonFilePrompt";
RadioButton buttonFilePrompt2 = this.RadioButtonFilePrompt;
size1 = new Size(59, 16);
Size size31 = size1;
buttonFilePrompt2.Size = size31;
this.RadioButtonFilePrompt.TabIndex = 0;
this.RadioButtonFilePrompt.TabStop = true;
this.RadioButtonFilePrompt.Text = "Prompt";
this.RadioButtonFilePrompt.UseVisualStyleBackColor = true;
this.RadioButtonFileOverwrite.AutoSize = true;
RadioButton buttonFileOverwrite1 = this.RadioButtonFileOverwrite;
point1 = new Point(16, 32);
Point point32 = point1;
buttonFileOverwrite1.Location = point32;
this.RadioButtonFileOverwrite.Name = "RadioButtonFileOverwrite";
RadioButton buttonFileOverwrite2 = this.RadioButtonFileOverwrite;
size1 = new Size(72, 16);
Size size32 = size1;
buttonFileOverwrite2.Size = size32;
this.RadioButtonFileOverwrite.TabIndex = 1;
this.RadioButtonFileOverwrite.TabStop = true;
this.RadioButtonFileOverwrite.Text = "Overwirte";
this.RadioButtonFileOverwrite.UseVisualStyleBackColor = true;
this.RadioButtonFileOverwriteNewer.AutoSize = true;
RadioButton fileOverwriteNewer1 = this.RadioButtonFileOverwriteNewer;
point1 = new Point(16, 48);
Point point33 = point1;
fileOverwriteNewer1.Location = point33;
this.RadioButtonFileOverwriteNewer.Name = "RadioButtonFileOverwriteNewer";
RadioButton fileOverwriteNewer2 = this.RadioButtonFileOverwriteNewer;
size1 = new Size(117, 16);
Size size33 = size1;
fileOverwriteNewer2.Size = size33;
this.RadioButtonFileOverwriteNewer.TabIndex = 2;
this.RadioButtonFileOverwriteNewer.TabStop = true;
this.RadioButtonFileOverwriteNewer.Text = "Overwirte if newer";
this.RadioButtonFileOverwriteNewer.UseVisualStyleBackColor = true;
this.RadioButtonFileResume.AutoSize = true;
RadioButton buttonFileResume1 = this.RadioButtonFileResume;
point1 = new Point(16, 64);
Point point34 = point1;
buttonFileResume1.Location = point34;
this.RadioButtonFileResume.Name = "RadioButtonFileResume";
RadioButton buttonFileResume2 = this.RadioButtonFileResume;
size1 = new Size(116, 16);
Size size34 = size1;
buttonFileResume2.Size = size34;
this.RadioButtonFileResume.TabIndex = 3;
this.RadioButtonFileResume.TabStop = true;
this.RadioButtonFileResume.Text = "Resume if smaller";
this.RadioButtonFileResume.UseVisualStyleBackColor = true;
this.RadioButtonFileDelete.AutoSize = true;
RadioButton buttonFileDelete1 = this.RadioButtonFileDelete;
point1 = new Point(16, 80);
Point point35 = point1;
buttonFileDelete1.Location = point35;
this.RadioButtonFileDelete.Name = "RadioButtonFileDelete";
RadioButton buttonFileDelete2 = this.RadioButtonFileDelete;
size1 = new Size(108, 16);
Size size35 = size1;
buttonFileDelete2.Size = size35;
this.RadioButtonFileDelete.TabIndex = 4;
this.RadioButtonFileDelete.TabStop = true;
this.RadioButtonFileDelete.Text = "Delete and Write";
this.RadioButtonFileDelete.UseVisualStyleBackColor = true;
this.RadioButtonFileChangeName.AutoSize = true;
RadioButton buttonFileChangeName1 = this.RadioButtonFileChangeName;
point1 = new Point(16, 112);
Point point36 = point1;
buttonFileChangeName1.Location = point36;
this.RadioButtonFileChangeName.Name = "RadioButtonFileChangeName";
RadioButton buttonFileChangeName2 = this.RadioButtonFileChangeName;
size1 = new Size(94, 16);
Size size36 = size1;
buttonFileChangeName2.Size = size36;
this.RadioButtonFileChangeName.TabIndex = 6;
this.RadioButtonFileChangeName.TabStop = true;
this.RadioButtonFileChangeName.Text = "Change Name";
this.RadioButtonFileChangeName.UseVisualStyleBackColor = true;
this.RadioButtonFileSkip.AutoSize = true;
RadioButton radioButtonFileSkip1 = this.RadioButtonFileSkip;
point1 = new Point(16, 96);
Point point37 = point1;
radioButtonFileSkip1.Location = point37;
this.RadioButtonFileSkip.Name = "RadioButtonFileSkip";
RadioButton radioButtonFileSkip2 = this.RadioButtonFileSkip;
size1 = new Size(45, 16);
Size size37 = size1;
radioButtonFileSkip2.Size = size37;
this.RadioButtonFileSkip.TabIndex = 5;
this.RadioButtonFileSkip.TabStop = true;
this.RadioButtonFileSkip.Text = "Skip";
this.RadioButtonFileSkip.UseVisualStyleBackColor = true;
this.Timer1.Interval = 50;
this.AsyncCopy1.StopAfterFile = false;
this.AutoScaleDimensions = new SizeF(6f, 12f);
this.AutoScaleMode = AutoScaleMode.Font;
this.CancelButton = (IButtonControl) this.m_CancelButton;
size1 = new Size(313, 410);
this.ClientSize = size1;
this.Controls.Add((Control) this.SplitContainer1);
this.MaximizeBox = false;
size1 = new Size(329, 448);
this.MinimumSize = size1;
this.Name = nameof (UpDownForm);
this.StartPosition = FormStartPosition.Manual;
this.Text = "UpDown";
this.SplitContainer1.Panel1.ResumeLayout(false);
this.SplitContainer1.Panel1.PerformLayout();
this.SplitContainer1.Panel2.ResumeLayout(false);
this.SplitContainer1.ResumeLayout(false);
this.OnErrorGroupBox.ResumeLayout(false);
this.OnErrorGroupBox.PerformLayout();
this.GroupBox3.ResumeLayout(false);
this.GroupBox3.PerformLayout();
this.GroupBox2.ResumeLayout(false);
this.GroupBox2.PerformLayout();
this.GroupBox1.ResumeLayout(false);
this.GroupBox1.PerformLayout();
this.ResumeLayout(false);
}
internal virtual ProgressBar TotalProgressBar
{
get
{
return this._TotalProgressBar;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
this._TotalProgressBar = value;
}
}
internal virtual ProgressBar FileProgressBar
{
get
{
return this._FileProgressBar;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
this._FileProgressBar = value;
}
}
internal virtual Label Label1
{
get
{
return this._Label1;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
this._Label1 = value;
}
}
internal virtual Label Label2
{
get
{
return this._Label2;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
this._Label2 = value;
}
}
internal virtual Button m_CancelButton
{
get
{
return this._m_CancelButton;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
EventHandler eventHandler = new EventHandler(this.m_CancelButton_Click);
if (this._m_CancelButton != null)
this._m_CancelButton.Click -= eventHandler;
this._m_CancelButton = value;
if (this._m_CancelButton == null)
return;
this._m_CancelButton.Click += eventHandler;
}
}
internal virtual TextBox FileInfoTextBox
{
get
{
return this._FileInfoTextBox;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
this._FileInfoTextBox = value;
}
}
internal virtual TextBox TotalInfoTextBox
{
get
{
return this._TotalInfoTextBox;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
this._TotalInfoTextBox = value;
}
}
internal virtual AsyncCopy AsyncCopy1
{
get
{
return this._AsyncCopy1;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
EventHandler<ResourceChangedEventArgs> eventHandler1 = new EventHandler<ResourceChangedEventArgs>(this.AsyncCopy1_RemoteResourceChanged);
EventHandler<ExceptionOccurredEventArgs> eventHandler2 = new EventHandler<ExceptionOccurredEventArgs>(this.AsyncCopy1_ExceptionOccurred);
EventHandler<AsyncCopy.CopyConflictedEventArgs> eventHandler3 = new EventHandler<AsyncCopy.CopyConflictedEventArgs>(this.AsyncCopy1_CopyConflicted);
AsyncCompletedEventHandler completedEventHandler = new AsyncCompletedEventHandler(this.AsyncCopy1_CopyCompleted);
if (this._AsyncCopy1 != null)
{
this._AsyncCopy1.RemoteResourceChanged -= eventHandler1;
this._AsyncCopy1.ExceptionOccurred -= eventHandler2;
this._AsyncCopy1.ConflictionOccurred -= eventHandler3;
this._AsyncCopy1.CopyCompleted -= completedEventHandler;
}
this._AsyncCopy1 = value;
if (this._AsyncCopy1 == null)
return;
this._AsyncCopy1.RemoteResourceChanged += eventHandler1;
this._AsyncCopy1.ExceptionOccurred += eventHandler2;
this._AsyncCopy1.ConflictionOccurred += eventHandler3;
this._AsyncCopy1.CopyCompleted += completedEventHandler;
}
}
internal virtual TextBox SourceTextBox
{
get
{
return this._SourceTextBox;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
this._SourceTextBox = value;
}
}
internal virtual CheckBox CheckBoxStopFile
{
get
{
return this._CheckBoxStopFile;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
EventHandler eventHandler = new EventHandler(this.CheckBoxStopFile_CheckedChanged);
if (this._CheckBoxStopFile != null)
this._CheckBoxStopFile.CheckedChanged -= eventHandler;
this._CheckBoxStopFile = value;
if (this._CheckBoxStopFile == null)
return;
this._CheckBoxStopFile.CheckedChanged += eventHandler;
}
}
internal virtual Button ExpandButton
{
get
{
return this._ExpandButton;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
EventHandler eventHandler = new EventHandler(this.ExpandButton_Click);
if (this._ExpandButton != null)
this._ExpandButton.Click -= eventHandler;
this._ExpandButton = value;
if (this._ExpandButton == null)
return;
this._ExpandButton.Click += eventHandler;
}
}
internal virtual TextBox MessageTextBox
{
get
{
return this._MessageTextBox;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
this._MessageTextBox = value;
}
}
internal virtual SplitContainer SplitContainer1
{
get
{
return this._SplitContainer1;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
this._SplitContainer1 = value;
}
}
internal virtual Button Button1
{
get
{
return this._Button1;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
EventHandler eventHandler = new EventHandler(this.ExpandButton_Click);
if (this._Button1 != null)
this._Button1.Click -= eventHandler;
this._Button1 = value;
if (this._Button1 == null)
return;
this._Button1.Click += eventHandler;
}
}
internal virtual GroupBox OnErrorGroupBox
{
get
{
return this._OnErrorGroupBox;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
this._OnErrorGroupBox = value;
}
}
internal virtual RadioButton RadioButtonErrorPrompt
{
get
{
return this._RadioButtonErrorPrompt;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
EventHandler eventHandler = new EventHandler(this.RadioButtonError_CheckedChanged);
if (this._RadioButtonErrorPrompt != null)
this._RadioButtonErrorPrompt.CheckedChanged -= eventHandler;
this._RadioButtonErrorPrompt = value;
if (this._RadioButtonErrorPrompt == null)
return;
this._RadioButtonErrorPrompt.CheckedChanged += eventHandler;
}
}
internal virtual RadioButton RadioButtonErrorIgnore
{
get
{
return this._RadioButtonErrorIgnore;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
EventHandler eventHandler = new EventHandler(this.RadioButtonError_CheckedChanged);
if (this._RadioButtonErrorIgnore != null)
this._RadioButtonErrorIgnore.CheckedChanged -= eventHandler;
this._RadioButtonErrorIgnore = value;
if (this._RadioButtonErrorIgnore == null)
return;
this._RadioButtonErrorIgnore.CheckedChanged += eventHandler;
}
}
internal virtual GroupBox GroupBox3
{
get
{
return this._GroupBox3;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
this._GroupBox3 = value;
}
}
internal virtual RadioButton RadioButtonOtherPrompt
{
get
{
return this._RadioButtonOtherPrompt;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
EventHandler eventHandler = new EventHandler(this.RadioButtonOther_CheckedChanged);
if (this._RadioButtonOtherPrompt != null)
this._RadioButtonOtherPrompt.CheckedChanged -= eventHandler;
this._RadioButtonOtherPrompt = value;
if (this._RadioButtonOtherPrompt == null)
return;
this._RadioButtonOtherPrompt.CheckedChanged += eventHandler;
}
}
internal virtual RadioButton RadioButtonOtherDelete
{
get
{
return this._RadioButtonOtherDelete;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
EventHandler eventHandler = new EventHandler(this.RadioButtonOther_CheckedChanged);
if (this._RadioButtonOtherDelete != null)
this._RadioButtonOtherDelete.CheckedChanged -= eventHandler;
this._RadioButtonOtherDelete = value;
if (this._RadioButtonOtherDelete == null)
return;
this._RadioButtonOtherDelete.CheckedChanged += eventHandler;
}
}
internal virtual RadioButton RadioButtonOtherSkip
{
get
{
return this._RadioButtonOtherSkip;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
EventHandler eventHandler = new EventHandler(this.RadioButtonOther_CheckedChanged);
if (this._RadioButtonOtherSkip != null)
this._RadioButtonOtherSkip.CheckedChanged -= eventHandler;
this._RadioButtonOtherSkip = value;
if (this._RadioButtonOtherSkip == null)
return;
this._RadioButtonOtherSkip.CheckedChanged += eventHandler;
}
}
internal virtual GroupBox GroupBox2
{
get
{
return this._GroupBox2;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
this._GroupBox2 = value;
}
}
internal virtual RadioButton RadioButtonFolderPrompt
{
get
{
return this._RadioButtonFolderPrompt;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
EventHandler eventHandler = new EventHandler(this.RadioButtonFolder_CheckedChanged);
if (this._RadioButtonFolderPrompt != null)
this._RadioButtonFolderPrompt.CheckedChanged -= eventHandler;
this._RadioButtonFolderPrompt = value;
if (this._RadioButtonFolderPrompt == null)
return;
this._RadioButtonFolderPrompt.CheckedChanged += eventHandler;
}
}
internal virtual RadioButton RadioButtonFolderIntegrate
{
get
{
return this._RadioButtonFolderIntegrate;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
EventHandler eventHandler = new EventHandler(this.RadioButtonFolder_CheckedChanged);
if (this._RadioButtonFolderIntegrate != null)
this._RadioButtonFolderIntegrate.CheckedChanged -= eventHandler;
this._RadioButtonFolderIntegrate = value;
if (this._RadioButtonFolderIntegrate == null)
return;
this._RadioButtonFolderIntegrate.CheckedChanged += eventHandler;
}
}
internal virtual RadioButton RadioButtonFolderDelete
{
get
{
return this._RadioButtonFolderDelete;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
EventHandler eventHandler = new EventHandler(this.RadioButtonFolder_CheckedChanged);
if (this._RadioButtonFolderDelete != null)
this._RadioButtonFolderDelete.CheckedChanged -= eventHandler;
this._RadioButtonFolderDelete = value;
if (this._RadioButtonFolderDelete == null)
return;
this._RadioButtonFolderDelete.CheckedChanged += eventHandler;
}
}
internal virtual RadioButton RadioButtonFolderSkip
{
get
{
return this._RadioButtonFolderSkip;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
EventHandler eventHandler = new EventHandler(this.RadioButtonFolder_CheckedChanged);
if (this._RadioButtonFolderSkip != null)
this._RadioButtonFolderSkip.CheckedChanged -= eventHandler;
this._RadioButtonFolderSkip = value;
if (this._RadioButtonFolderSkip == null)
return;
this._RadioButtonFolderSkip.CheckedChanged += eventHandler;
}
}
internal virtual GroupBox GroupBox1
{
get
{
return this._GroupBox1;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
this._GroupBox1 = value;
}
}
internal virtual RadioButton RadioButtonFilePrompt
{
get
{
return this._RadioButtonFilePrompt;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
EventHandler eventHandler = new EventHandler(this.RadioButtonFile_CheckedChanged);
if (this._RadioButtonFilePrompt != null)
this._RadioButtonFilePrompt.CheckedChanged -= eventHandler;
this._RadioButtonFilePrompt = value;
if (this._RadioButtonFilePrompt == null)
return;
this._RadioButtonFilePrompt.CheckedChanged += eventHandler;
}
}
internal virtual RadioButton RadioButtonFileOverwrite
{
get
{
return this._RadioButtonFileOverwrite;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
EventHandler eventHandler = new EventHandler(this.RadioButtonFile_CheckedChanged);
if (this._RadioButtonFileOverwrite != null)
this._RadioButtonFileOverwrite.CheckedChanged -= eventHandler;
this._RadioButtonFileOverwrite = value;
if (this._RadioButtonFileOverwrite == null)
return;
this._RadioButtonFileOverwrite.CheckedChanged += eventHandler;
}
}
internal virtual RadioButton RadioButtonFileOverwriteNewer
{
get
{
return this._RadioButtonFileOverwriteNewer;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
EventHandler eventHandler = new EventHandler(this.RadioButtonFile_CheckedChanged);
if (this._RadioButtonFileOverwriteNewer != null)
this._RadioButtonFileOverwriteNewer.CheckedChanged -= eventHandler;
this._RadioButtonFileOverwriteNewer = value;
if (this._RadioButtonFileOverwriteNewer == null)
return;
this._RadioButtonFileOverwriteNewer.CheckedChanged += eventHandler;
}
}
internal virtual RadioButton RadioButtonFileResume
{
get
{
return this._RadioButtonFileResume;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
EventHandler eventHandler = new EventHandler(this.RadioButtonFile_CheckedChanged);
if (this._RadioButtonFileResume != null)
this._RadioButtonFileResume.CheckedChanged -= eventHandler;
this._RadioButtonFileResume = value;
if (this._RadioButtonFileResume == null)
return;
this._RadioButtonFileResume.CheckedChanged += eventHandler;
}
}
internal virtual RadioButton RadioButtonFileDelete
{
get
{
return this._RadioButtonFileDelete;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
EventHandler eventHandler = new EventHandler(this.RadioButtonFile_CheckedChanged);
if (this._RadioButtonFileDelete != null)
this._RadioButtonFileDelete.CheckedChanged -= eventHandler;
this._RadioButtonFileDelete = value;
if (this._RadioButtonFileDelete == null)
return;
this._RadioButtonFileDelete.CheckedChanged += eventHandler;
}
}
internal virtual RadioButton RadioButtonFileSkip
{
get
{
return this._RadioButtonFileSkip;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
EventHandler eventHandler = new EventHandler(this.RadioButtonFile_CheckedChanged);
if (this._RadioButtonFileSkip != null)
this._RadioButtonFileSkip.CheckedChanged -= eventHandler;
this._RadioButtonFileSkip = value;
if (this._RadioButtonFileSkip == null)
return;
this._RadioButtonFileSkip.CheckedChanged += eventHandler;
}
}
internal virtual RadioButton RadioButtonFileChangeName
{
get
{
return this._RadioButtonFileChangeName;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
EventHandler eventHandler = new EventHandler(this.RadioButtonFile_CheckedChanged);
if (this._RadioButtonFileChangeName != null)
this._RadioButtonFileChangeName.CheckedChanged -= eventHandler;
this._RadioButtonFileChangeName = value;
if (this._RadioButtonFileChangeName == null)
return;
this._RadioButtonFileChangeName.CheckedChanged += eventHandler;
}
}
internal virtual RadioButton RadioButtonOtherChangeName
{
get
{
return this._RadioButtonOtherChangeName;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
EventHandler eventHandler = new EventHandler(this.RadioButtonOther_CheckedChanged);
if (this._RadioButtonOtherChangeName != null)
this._RadioButtonOtherChangeName.CheckedChanged -= eventHandler;
this._RadioButtonOtherChangeName = value;
if (this._RadioButtonOtherChangeName == null)
return;
this._RadioButtonOtherChangeName.CheckedChanged += eventHandler;
}
}
internal virtual RadioButton RadioButtonFolderChangeName
{
get
{
return this._RadioButtonFolderChangeName;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
EventHandler eventHandler = new EventHandler(this.RadioButtonFolder_CheckedChanged);
if (this._RadioButtonFolderChangeName != null)
this._RadioButtonFolderChangeName.CheckedChanged -= eventHandler;
this._RadioButtonFolderChangeName = value;
if (this._RadioButtonFolderChangeName == null)
return;
this._RadioButtonFolderChangeName.CheckedChanged += eventHandler;
}
}
internal virtual Timer Timer1
{
get
{
return this._Timer1;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
EventHandler eventHandler = new EventHandler(this.Timer1_Tick);
if (this._Timer1 != null)
this._Timer1.Tick -= eventHandler;
this._Timer1 = value;
if (this._Timer1 == null)
return;
this._Timer1.Tick += eventHandler;
}
}
internal virtual TextBox TextBoxFileFolderCount
{
get
{
return this._TextBoxFileFolderCount;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
this._TextBoxFileFolderCount = value;
}
}
public event EventHandler TransferFinished;
public event EventHandler<ResourceChangedEventArgs> RemoteResourceChanged;
public string Title
{
get
{
return this.pTitle;
}
set
{
this.pTitle = value;
}
}
public MainForm MainForm
{
get
{
return this.pMainForm;
}
set
{
this.pMainForm = value;
}
}
public void SetClient(UpDownForm.TransferDirectionType direction, FsBase fs, CacheManager cm, UCSNormalization downnormalization, UCSNormalization uploadnormalization)
{
this.pDirection = direction;
this.pEnableResume = direction != UpDownForm.TransferDirectionType.Download ? (fs.Ability & FsAbility.PartialWrite) != FsAbility.None : (fs.Ability & FsAbility.PartialRead) != FsAbility.None;
this.AsyncCopy1.SetClient(fs, cm, downnormalization, uploadnormalization);
}
public void Download(ResourceId[] remoteids, string localdir)
{
if (this.pDirection != UpDownForm.TransferDirectionType.Download)
throw new Exception();
this.AsyncCopy1.Download(remoteids, localdir);
if (!this.AsyncCopy1.IsBusy)
this.AsyncCopy1.DavCopyAsync();
this.m_CancelButton.Text = "Cancel";
this.Activate();
}
public void Upload(string[] localfiles, ResourceId remoteid, IDataObject dobj, DragDropEffects finisheffect)
{
if (this.pDirection != UpDownForm.TransferDirectionType.Upload)
throw new Exception();
this.AsyncCopy1.Upload(localfiles, remoteid, dobj, finisheffect);
if (!this.AsyncCopy1.IsBusy)
this.AsyncCopy1.DavCopyAsync();
this.m_CancelButton.Text = "Cancel";
this.Activate();
}
public void UploadDescriptors(VirtualFileInfo[] vfinfos, ResourceId remoteid, IDataObject dobj, DragDropEffects finisheffect)
{
if (this.pDirection != UpDownForm.TransferDirectionType.Upload)
throw new Exception();
this.AsyncCopy1.UploadDescriptors(vfinfos, remoteid, dobj, finisheffect);
if (!this.AsyncCopy1.IsBusy)
this.AsyncCopy1.DavCopyAsync();
this.m_CancelButton.Text = "Cancel";
this.Activate();
}
public UpDownForm()
{
this.Shown += new EventHandler(this.UpDownForm_Shown);
this.FormClosing += new FormClosingEventHandler(this.UpDownForm_FormClosing);
this.Disposed += new EventHandler(this.UpDownForm_Disposed);
this.Load += new EventHandler(this.UpDownForm_Load);
this.InitializeComponent();
this.panel2height = checked (this.SplitContainer1.Panel2.Height + this.SplitContainer1.SplitterWidth);
this.SuspendLayout();
this.SplitContainer1.SuspendLayout();
this.SplitContainer1.Panel1.SuspendLayout();
this.MinimumSize = new Size(this.MinimumSize.Width, checked (this.MinimumSize.Height - this.panel2height));
this.SplitContainer1.Panel2Collapsed = true;
this.Height = checked (this.Height - this.SplitContainer1.Height - this.SplitContainer1.SplitterDistance);
this.ResumeLayout();
this.SplitContainer1.ResumeLayout();
this.SplitContainer1.Panel1.ResumeLayout();
this.ExpandButton.Image = (Image) CarotDAV.My.Resources.Resources.MoveDown;
}
private void UpDownForm_Load(object sender, EventArgs e)
{
this.Icon = CarotDAV.My.Resources.Resources.CarotDAV;
this.pConflictManager = new ConflictPromptManager();
this.pErrorManager = new ErrorPromptManager();
this.RadioButtonErrorPrompt.Checked = true;
this.RadioButtonFilePrompt.Checked = true;
this.RadioButtonFolderPrompt.Checked = true;
this.RadioButtonOtherPrompt.Checked = true;
this.RadioButtonFileResume.Enabled = this.pEnableResume;
this.Timer1.Start();
}
private void UpDownForm_Shown(object sender, EventArgs e)
{
this.Text = this.Title;
this.m_CancelButton.Text = "Stop";
this.MessageTextBox.Focus();
}
private void UpDownForm_FormClosing(object sender, FormClosingEventArgs e)
{
if (e.CloseReason != CloseReason.UserClosing)
return;
if (!this.AsyncCopy1.IsBusy)
e.Cancel = false;
else if (this.pShowCancelDialog)
{
e.Cancel = true;
}
else
{
this.pShowCancelDialog = true;
DialogResult dialogResult = MessageBox.Show("Are you sure to cancel upload / download ?", "Cancel task " + this.Title, MessageBoxButtons.YesNo, MessageBoxIcon.Question, MessageBoxDefaultButton.Button2);
this.pShowCancelDialog = false;
if (dialogResult != DialogResult.Yes && this.AsyncCopy1.IsBusy)
e.Cancel = true;
else
this.AsyncCopy1.DavCopyAsyncCancel();
}
}
private void UpDownForm_Disposed(object sender, EventArgs e)
{
this.AsyncCopy1.DavCopyAsyncCancel();
}
private void m_CancelButton_Click(object sender, EventArgs e)
{
this.Close();
}
private void CheckBoxStopFile_CheckedChanged(object sender, EventArgs e)
{
this.AsyncCopy1.StopAfterFile = this.CheckBoxStopFile.Checked;
}
private void AsyncCopy1_CopyCompleted(object sender, AsyncCompletedEventArgs e)
{
if (this.IsDisposed)
return;
if (e.Cancelled)
{
this.MessageTextBox.Text = "Transfer cancelled.";
this.CheckBoxStopFile.Enabled = false;
this.m_CancelButton.Text = "Close";
this.Text = this.Title;
this.AsyncCopy1.Clear();
TaskbarManager.SetProgressState((Control) this, TaskbarManager.TaskbarProgressBarStatus.NoProgress);
EventHandler transferFinishedEvent = this.TransferFinishedEvent;
if (transferFinishedEvent != null)
transferFinishedEvent((object) this, EventArgs.Empty);
if (!this.AsyncCopy1.StopAfterFile)
return;
this.Close();
}
else if (e.Error != null)
{
int num = (int) MessageBox.Show("Error occurred during transfer.\r\n" + e.Error.Message + "\r\n" + e.Error.StackTrace);
this.MessageTextBox.Text = "Transfer completed.";
this.m_CancelButton.Text = "Close";
this.Text = this.Title;
this.AsyncCopy1.Clear();
TaskbarManager.SetProgressState((Control) this, TaskbarManager.TaskbarProgressBarStatus.NoProgress);
EventHandler transferFinishedEvent = this.TransferFinishedEvent;
if (transferFinishedEvent == null)
return;
transferFinishedEvent((object) this, EventArgs.Empty);
}
else if (this.AsyncCopy1.UncompleteTaskCount > 0)
{
this.AsyncCopy1.DavCopyAsync();
}
else
{
this.MessageTextBox.Text = "Transfer completed.";
this.SourceTextBox.Text = "";
this.m_CancelButton.Text = "Close";
this.Text = "100.0% " + this.Title;
this.AsyncCopy1.Clear();
TaskbarManager.SetProgressState((Control) this, TaskbarManager.TaskbarProgressBarStatus.NoProgress);
EventHandler transferFinishedEvent = this.TransferFinishedEvent;
if (transferFinishedEvent != null)
transferFinishedEvent((object) this, EventArgs.Empty);
this.Close();
}
}
private void Timer1_Tick(object sender, EventArgs e)
{
if (this.IsDisposed || this.AsyncCopy1 == null)
return;
AsyncCopy.StateContainer state = this.AsyncCopy1.GetState();
switch (state.CurrentState)
{
case AsyncCopy.DavCopyStateType.DownloadProperty:
this.MessageTextBox.Text = "Downloading Resouce Properties.";
break;
case AsyncCopy.DavCopyStateType.ConfirmFolder:
this.MessageTextBox.Text = "Confirm Folder.";
break;
case AsyncCopy.DavCopyStateType.SetFolderAttribute:
this.MessageTextBox.Text = "Set Folder Attributes.";
break;
case AsyncCopy.DavCopyStateType.DownloadFile:
this.MessageTextBox.Text = "Downloading File.";
break;
case AsyncCopy.DavCopyStateType.SearchDirectory:
this.MessageTextBox.Text = "Search Local Directory.";
break;
case AsyncCopy.DavCopyStateType.MakingCollection:
this.MessageTextBox.Text = "Making Collection.";
break;
case AsyncCopy.DavCopyStateType.UploadFile:
this.MessageTextBox.Text = "Uploading File.";
break;
case AsyncCopy.DavCopyStateType.UploadProperty:
this.MessageTextBox.Text = "Uploading Property.";
break;
case AsyncCopy.DavCopyStateType.Finished:
this.MessageTextBox.Text = "Finished";
break;
}
this.SourceTextBox.Text = state.CurrentDesc;
double d1 = (double) state.TotalProgress / state.TotalSeconds;
double d2 = (double) state.CurrentProgress / state.CurrentSeconds;
string str1 = state.TotalProgress.ToString("#,0;?") + " / " + state.TotalCost.ToString("#,0;?");
string str2;
double num1;
if (double.IsNaN(d1))
{
str2 = str1 + " ?";
}
else
{
string str3 = str1;
string str4 = " ";
num1 = d1 / 1024.0;
string str5 = num1.ToString("#,0.0;?");
str2 = str3 + str4 + str5;
}
this.TotalInfoTextBox.Text = str2 + " kiB/s";
string str6 = state.CurrentProgress.ToString("#,0;?") + " / " + state.CurrentCost.ToString("#,0;?");
string str7;
if (double.IsNaN(d2))
{
str7 = str6 + " ?";
}
else
{
string str3 = str6;
string str4 = " ";
num1 = d2 / 1024.0;
string str5 = num1.ToString("#,0.0;?");
str7 = str3 + str4 + str5;
}
this.FileInfoTextBox.Text = str7 + " kiB/s";
this.TextBoxFileFolderCount.Text = state.CurrentFiles.ToString() + "/" + state.TotalFiles.ToString() + " Files " + state.CurrentFolders.ToString() + "/" + state.TotalFolders.ToString() + " Folders";
int num2 = 0;
int num3 = 0;
try
{
if (state.TotalCost > 0L)
{
num2 = checked ((int) Math.Round(unchecked ((double) checked (1000L * state.TotalProgress) / (double) state.TotalCost)));
this.TotalProgressBar.Value = checked ((int) Math.Round(unchecked ((double) checked (1000L * state.TotalProgress) / (double) state.TotalCost)));
TaskbarManager.SetProgressState((Control) this, TaskbarManager.TaskbarProgressBarStatus.Normal);
TaskbarManager.SetProgressValue((Control) this, checked ((ulong) state.TotalProgress), checked ((ulong) state.TotalCost));
}
else
{
this.TotalProgressBar.Value = 0;
TaskbarManager.SetProgressState((Control) this, TaskbarManager.TaskbarProgressBarStatus.Indeterminate);
}
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
ProjectData.ClearProjectError();
}
try
{
if (state.CurrentCost > 0L)
{
num3 = checked ((int) Math.Round(unchecked ((double) checked (1000L * state.CurrentProgress) / (double) state.CurrentCost)));
this.FileProgressBar.Value = checked ((int) Math.Round(unchecked ((double) checked (1000L * state.CurrentProgress) / (double) state.CurrentCost)));
}
else
this.FileProgressBar.Value = 0;
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
ProjectData.ClearProjectError();
}
if (num2 <= 0)
this.Text = this.Title;
else
this.Text = ((double) num2 / 10.0).ToString("0.0") + "% " + this.Title;
}
private void AsyncCopy1_CopyConflicted(object sender, AsyncCopy.CopyConflictedEventArgs e)
{
if (this.InvokeRequired)
{
this.Invoke((Delegate) new EventHandler<AsyncCopy.CopyConflictedEventArgs>(this.AsyncCopy1_CopyConflicted), RuntimeHelpers.GetObjectValue(sender), (object) e);
}
else
{
if (this.IsDisposed)
return;
if (this.pConflictManager.IsRegistered(e.Type))
{
e.Result.Action = this.pConflictManager.GetAction(e.Type);
e.Result.ToAll = false;
}
else
{
TaskbarManager.SetProgressState((Control) this, TaskbarManager.TaskbarProgressBarStatus.Paused);
e.Result = ConflictPromptForm.ShowDialog((IWin32Window) this, e.Source, e.Destination, e.Type, e.EnableResume, e.DestinationAbility, e.RetryMinutes);
if (e.Result.ToAll)
{
if (e.Result.Type == ConflictType.FolderToFile)
this.pConflictManager.RegisterAction(new ConflictPromptFormResult()
{
Action = e.Result.Action,
ToAll = true,
Type = ConflictType.FileToFolder
});
else
this.pConflictManager.RegisterAction(e.Result);
switch (e.Result.Type)
{
case ConflictType.FolderToFolder:
switch (e.Result.Action)
{
case ConflictAction.Integrate:
this.RadioButtonFolderIntegrate.Checked = true;
break;
case ConflictAction.DeleteTarget:
this.RadioButtonFolderDelete.Checked = true;
break;
case ConflictAction.ChangeName:
this.RadioButtonFolderChangeName.Checked = true;
break;
case ConflictAction.Skip:
this.RadioButtonFileSkip.Checked = true;
break;
}
case ConflictType.FileToFolder:
switch (e.Result.Action)
{
case ConflictAction.DeleteTarget:
this.RadioButtonOtherDelete.Checked = true;
break;
case ConflictAction.ChangeName:
this.RadioButtonOtherChangeName.Checked = true;
break;
case ConflictAction.Skip:
this.RadioButtonOtherSkip.Checked = true;
break;
}
case ConflictType.FileToFile:
switch (e.Result.Action)
{
case ConflictAction.Overwrite:
this.RadioButtonFileOverwrite.Checked = true;
break;
case ConflictAction.OverwriteNewer:
this.RadioButtonFileOverwriteNewer.Checked = true;
break;
case ConflictAction.Resume:
this.RadioButtonFileResume.Checked = true;
break;
case ConflictAction.DeleteTarget:
this.RadioButtonFileDelete.Checked = true;
break;
case ConflictAction.ChangeName:
this.RadioButtonFileChangeName.Checked = true;
break;
case ConflictAction.Skip:
this.RadioButtonFileSkip.Checked = true;
break;
}
}
}
e.Result.ToAll = false;
}
}
}
private void AsyncCopy1_ExceptionOccurred(object sender, ExceptionOccurredEventArgs e)
{
if (this.InvokeRequired)
{
this.Invoke((Delegate) new EventHandler<ExceptionOccurredEventArgs>(this.AsyncCopy1_ExceptionOccurred), RuntimeHelpers.GetObjectValue(sender), (object) e);
}
else
{
if (this.IsDisposed)
return;
TaskbarManager.SetProgressState((Control) this, TaskbarManager.TaskbarProgressBarStatus.Error);
if (this.pErrorManager.IgnoreAll())
{
e.Result.Action = ErrorAction.Ignore;
e.Result.ToAll = false;
}
else
{
e.Result = ErrorPromptForm.ShowDialog((IWin32Window) this, e.Message, e.Target, e.Exception, e.Type, e.RetryMinutes);
if (e.Result.ToAll)
{
this.pErrorManager.RegisterAction(e.Result);
if (e.Result.Action == ErrorAction.Ignore)
this.RadioButtonErrorIgnore.Checked = true;
}
e.Result.ToAll = false;
}
}
}
private void AsyncCopy1_RemoteResourceChanged(object sender, ResourceChangedEventArgs e)
{
EventHandler<ResourceChangedEventArgs> resourceChangedEvent = this.RemoteResourceChangedEvent;
if (resourceChangedEvent == null)
return;
resourceChangedEvent((object) this, e);
}
private void ExpandButton_Click(object sender, EventArgs e)
{
if (this.SplitContainer1.Panel2Collapsed)
{
this.SuspendLayout();
this.SplitContainer1.SuspendLayout();
this.SplitContainer1.Panel2.SuspendLayout();
int num = checked (this.SplitContainer1.Panel2.ClientSize.Height + this.SplitContainer1.SplitterWidth);
this.SplitContainer1.Panel2Collapsed = false;
this.Height = checked (this.Height + num);
this.MinimumSize = new Size(this.MinimumSize.Width, checked (this.MinimumSize.Height + this.panel2height));
this.ResumeLayout();
this.SplitContainer1.ResumeLayout();
this.SplitContainer1.Panel2.ResumeLayout();
this.ExpandButton.Image = (Image) CarotDAV.My.Resources.Resources.MoveUp;
}
else
{
this.SuspendLayout();
this.SplitContainer1.SuspendLayout();
this.SplitContainer1.Panel1.SuspendLayout();
this.MinimumSize = new Size(this.MinimumSize.Width, checked (this.MinimumSize.Height - this.panel2height));
this.SplitContainer1.Panel2Collapsed = true;
this.Height = checked (this.Height - this.SplitContainer1.Height - this.SplitContainer1.SplitterDistance);
this.ResumeLayout();
this.SplitContainer1.ResumeLayout();
this.SplitContainer1.Panel1.ResumeLayout();
this.ExpandButton.Image = (Image) CarotDAV.My.Resources.Resources.MoveDown;
}
}
private void RadioButtonError_CheckedChanged(object sender, EventArgs e)
{
ErrorPromptFormResult r = new ErrorPromptFormResult();
r.ToAll = true;
if (this.RadioButtonErrorPrompt.Checked)
r.Action = ErrorAction.Retry;
else if (this.RadioButtonErrorIgnore.Checked)
r.Action = ErrorAction.Ignore;
this.pErrorManager.RegisterAction(r);
}
private void RadioButtonFile_CheckedChanged(object sender, EventArgs e)
{
ConflictPromptFormResult r = new ConflictPromptFormResult();
r.Type = ConflictType.FileToFile;
r.ToAll = true;
if (this.RadioButtonFilePrompt.Checked)
r.Action = ConflictAction.Retry;
else if (this.RadioButtonFileOverwrite.Checked)
r.Action = ConflictAction.Overwrite;
else if (this.RadioButtonFileOverwriteNewer.Checked)
r.Action = ConflictAction.OverwriteNewer;
else if (this.RadioButtonFileResume.Checked)
r.Action = ConflictAction.Resume;
else if (this.RadioButtonFileDelete.Checked)
r.Action = ConflictAction.DeleteTarget;
else if (this.RadioButtonFileSkip.Checked)
r.Action = ConflictAction.Skip;
else if (this.RadioButtonFileChangeName.Checked)
r.Action = ConflictAction.ChangeName;
this.pConflictManager.RegisterAction(r);
}
private void RadioButtonFolder_CheckedChanged(object sender, EventArgs e)
{
ConflictPromptFormResult r = new ConflictPromptFormResult();
r.Type = ConflictType.FolderToFolder;
r.ToAll = true;
if (this.RadioButtonFolderPrompt.Checked)
r.Action = ConflictAction.Retry;
else if (this.RadioButtonFolderIntegrate.Checked)
r.Action = ConflictAction.Integrate;
else if (this.RadioButtonFolderDelete.Checked)
r.Action = ConflictAction.DeleteTarget;
else if (this.RadioButtonFolderSkip.Checked)
r.Action = ConflictAction.Skip;
else if (this.RadioButtonFolderChangeName.Checked)
r.Action = ConflictAction.ChangeName;
this.pConflictManager.RegisterAction(r);
}
private void RadioButtonOther_CheckedChanged(object sender, EventArgs e)
{
ConflictPromptFormResult r = new ConflictPromptFormResult();
r.Type = ConflictType.FileToFolder;
r.ToAll = true;
if (this.RadioButtonOtherPrompt.Checked)
r.Action = ConflictAction.Retry;
else if (this.RadioButtonOtherDelete.Checked)
r.Action = ConflictAction.DeleteTarget;
else if (this.RadioButtonOtherSkip.Checked)
r.Action = ConflictAction.Skip;
else if (this.RadioButtonOtherChangeName.Checked)
r.Action = ConflictAction.ChangeName;
this.pConflictManager.RegisterAction(r);
}
public enum TransferDirectionType
{
Download,
Upload,
}
}
}