Disassembled CarotDav v1.14.7 with dotPeek 2017.2
This commit is contained in:
206
CarotDAV/NewFolderForm.cs
Normal file
206
CarotDAV/NewFolderForm.cs
Normal file
@@ -0,0 +1,206 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: CarotDAV.NewFolderForm
|
||||
// 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 System;
|
||||
using System.ComponentModel;
|
||||
using System.Diagnostics;
|
||||
using System.Drawing;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace CarotDAV
|
||||
{
|
||||
[DesignerGenerated]
|
||||
public class NewFolderForm : Form
|
||||
{
|
||||
private IContainer components;
|
||||
[AccessedThroughProperty("FolderNameTextBox")]
|
||||
private TextBox _FolderNameTextBox;
|
||||
[AccessedThroughProperty("m_CancelButton")]
|
||||
private Button _m_CancelButton;
|
||||
[AccessedThroughProperty("OKButton")]
|
||||
private Button _OKButton;
|
||||
[AccessedThroughProperty("Label1")]
|
||||
private Label _Label1;
|
||||
|
||||
public NewFolderForm()
|
||||
{
|
||||
this.Load += new EventHandler(this.NewFolderForm_Load);
|
||||
this.InitializeComponent();
|
||||
}
|
||||
|
||||
[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.FolderNameTextBox = new TextBox();
|
||||
this.m_CancelButton = new Button();
|
||||
this.OKButton = new Button();
|
||||
this.Label1 = new Label();
|
||||
this.SuspendLayout();
|
||||
this.FolderNameTextBox.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
|
||||
TextBox folderNameTextBox1 = this.FolderNameTextBox;
|
||||
Point point1 = new Point(8, 24);
|
||||
Point point2 = point1;
|
||||
folderNameTextBox1.Location = point2;
|
||||
this.FolderNameTextBox.Name = "FolderNameTextBox";
|
||||
TextBox folderNameTextBox2 = this.FolderNameTextBox;
|
||||
Size size1 = new Size(272, 19);
|
||||
Size size2 = size1;
|
||||
folderNameTextBox2.Size = size2;
|
||||
this.FolderNameTextBox.TabIndex = 1;
|
||||
this.m_CancelButton.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
||||
this.m_CancelButton.DialogResult = DialogResult.Cancel;
|
||||
Button mCancelButton1 = this.m_CancelButton;
|
||||
point1 = new Point(208, 56);
|
||||
Point point3 = point1;
|
||||
mCancelButton1.Location = point3;
|
||||
this.m_CancelButton.Name = "m_CancelButton";
|
||||
Button mCancelButton2 = this.m_CancelButton;
|
||||
size1 = new Size(72, 24);
|
||||
Size size3 = size1;
|
||||
mCancelButton2.Size = size3;
|
||||
this.m_CancelButton.TabIndex = 3;
|
||||
this.m_CancelButton.Text = "Cancel";
|
||||
this.m_CancelButton.UseVisualStyleBackColor = true;
|
||||
this.OKButton.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
||||
Button okButton1 = this.OKButton;
|
||||
point1 = new Point(128, 56);
|
||||
Point point4 = point1;
|
||||
okButton1.Location = point4;
|
||||
this.OKButton.Name = "OKButton";
|
||||
Button okButton2 = this.OKButton;
|
||||
size1 = new Size(72, 24);
|
||||
Size size4 = size1;
|
||||
okButton2.Size = size4;
|
||||
this.OKButton.TabIndex = 2;
|
||||
this.OKButton.Text = "OK";
|
||||
this.OKButton.UseVisualStyleBackColor = true;
|
||||
this.Label1.AutoSize = true;
|
||||
Label label1_1 = this.Label1;
|
||||
point1 = new Point(8, 8);
|
||||
Point point5 = point1;
|
||||
label1_1.Location = point5;
|
||||
this.Label1.Name = "Label1";
|
||||
Label label1_2 = this.Label1;
|
||||
size1 = new Size(96, 12);
|
||||
Size size5 = size1;
|
||||
label1_2.Size = size5;
|
||||
this.Label1.TabIndex = 0;
|
||||
this.Label1.Text = "New Folder Name";
|
||||
this.AcceptButton = (IButtonControl) this.OKButton;
|
||||
this.AutoScaleDimensions = new SizeF(6f, 12f);
|
||||
this.AutoScaleMode = AutoScaleMode.Font;
|
||||
this.CancelButton = (IButtonControl) this.m_CancelButton;
|
||||
size1 = new Size(289, 89);
|
||||
this.ClientSize = size1;
|
||||
this.Controls.Add((Control) this.Label1);
|
||||
this.Controls.Add((Control) this.m_CancelButton);
|
||||
this.Controls.Add((Control) this.OKButton);
|
||||
this.Controls.Add((Control) this.FolderNameTextBox);
|
||||
this.MaximizeBox = false;
|
||||
this.MinimizeBox = false;
|
||||
size1 = new Size(305, 125);
|
||||
this.MinimumSize = size1;
|
||||
this.Name = nameof (NewFolderForm);
|
||||
this.StartPosition = FormStartPosition.CenterParent;
|
||||
this.Text = "Create New Folder";
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
}
|
||||
|
||||
internal virtual TextBox FolderNameTextBox
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._FolderNameTextBox;
|
||||
}
|
||||
[MethodImpl(MethodImplOptions.Synchronized)] set
|
||||
{
|
||||
this._FolderNameTextBox = value;
|
||||
}
|
||||
}
|
||||
|
||||
internal virtual Button m_CancelButton
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._m_CancelButton;
|
||||
}
|
||||
[MethodImpl(MethodImplOptions.Synchronized)] set
|
||||
{
|
||||
this._m_CancelButton = value;
|
||||
}
|
||||
}
|
||||
|
||||
internal virtual Button OKButton
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._OKButton;
|
||||
}
|
||||
[MethodImpl(MethodImplOptions.Synchronized)] set
|
||||
{
|
||||
EventHandler eventHandler = new EventHandler(this.OKButton_Click);
|
||||
if (this._OKButton != null)
|
||||
this._OKButton.Click -= eventHandler;
|
||||
this._OKButton = value;
|
||||
if (this._OKButton == null)
|
||||
return;
|
||||
this._OKButton.Click += eventHandler;
|
||||
}
|
||||
}
|
||||
|
||||
internal virtual Label Label1
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Label1;
|
||||
}
|
||||
[MethodImpl(MethodImplOptions.Synchronized)] set
|
||||
{
|
||||
this._Label1 = value;
|
||||
}
|
||||
}
|
||||
|
||||
public string NewFolderName
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.FolderNameTextBox.Text;
|
||||
}
|
||||
set
|
||||
{
|
||||
this.FolderNameTextBox.Text = value;
|
||||
}
|
||||
}
|
||||
|
||||
private void OKButton_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.DialogResult = DialogResult.OK;
|
||||
}
|
||||
|
||||
private void NewFolderForm_Load(object sender, EventArgs e)
|
||||
{
|
||||
this.Icon = CarotDAV.My.Resources.Resources.CarotDAV;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user