- FIX: File browser "Path incorrect" error on multiple folders selected - FIX: File browser allowed addition of incorrect file share paths (will now throw an error when the path does not exist) - Changed: Some changes to the UI for the file browser (no more dropdown select for "This PC". Instead a "localhost" entry is now added to the tree selection
232 lines
11 KiB
C#
232 lines
11 KiB
C#
namespace Permissions
|
|
{
|
|
partial class multiPath
|
|
{
|
|
/// <summary>
|
|
/// Required designer variable.
|
|
/// </summary>
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
/// <summary>
|
|
/// Clean up any resources being used.
|
|
/// </summary>
|
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing && (components != null))
|
|
{
|
|
components.Dispose();
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
#region Windows Form Designer generated code
|
|
|
|
/// <summary>
|
|
/// Required method for Designer support - do not modify
|
|
/// the contents of this method with the code editor.
|
|
/// </summary>
|
|
private void InitializeComponent()
|
|
{
|
|
this.Error_label = new System.Windows.Forms.Label();
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
this.ok_bttn = new System.Windows.Forms.Button();
|
|
this.cancel_bttn = new System.Windows.Forms.Button();
|
|
this.treeView1 = new System.Windows.Forms.TreeView();
|
|
this.folderScan = new System.ComponentModel.BackgroundWorker();
|
|
this.panel1 = new System.Windows.Forms.Panel();
|
|
this.label3 = new System.Windows.Forms.Label();
|
|
this.loading_pnl = new System.Windows.Forms.Panel();
|
|
this.label2 = new System.Windows.Forms.Label();
|
|
this.pictureBox1 = new System.Windows.Forms.PictureBox();
|
|
this.path_panel = new System.Windows.Forms.Panel();
|
|
this.startFrom_textbox = new System.Windows.Forms.TextBox();
|
|
this.refresh_button = new System.Windows.Forms.Button();
|
|
this.panel1.SuspendLayout();
|
|
this.loading_pnl.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
|
|
this.path_panel.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
// Error_label
|
|
//
|
|
this.Error_label.AutoSize = true;
|
|
this.Error_label.ForeColor = System.Drawing.Color.DarkRed;
|
|
this.Error_label.Location = new System.Drawing.Point(73, 340);
|
|
this.Error_label.Name = "Error_label";
|
|
this.Error_label.Size = new System.Drawing.Size(57, 13);
|
|
this.Error_label.TabIndex = 4;
|
|
this.Error_label.Text = "Error_label";
|
|
//
|
|
// label1
|
|
//
|
|
this.label1.AutoSize = true;
|
|
this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.label1.Location = new System.Drawing.Point(154, 4);
|
|
this.label1.Name = "label1";
|
|
this.label1.Size = new System.Drawing.Size(103, 16);
|
|
this.label1.TabIndex = 5;
|
|
this.label1.Text = "Select folders";
|
|
//
|
|
// ok_bttn
|
|
//
|
|
this.ok_bttn.Location = new System.Drawing.Point(76, 356);
|
|
this.ok_bttn.Name = "ok_bttn";
|
|
this.ok_bttn.Size = new System.Drawing.Size(159, 23);
|
|
this.ok_bttn.TabIndex = 6;
|
|
this.ok_bttn.Text = "OK";
|
|
this.ok_bttn.UseVisualStyleBackColor = true;
|
|
this.ok_bttn.Click += new System.EventHandler(this.ok_bttn_Click);
|
|
//
|
|
// cancel_bttn
|
|
//
|
|
this.cancel_bttn.Location = new System.Drawing.Point(241, 356);
|
|
this.cancel_bttn.Name = "cancel_bttn";
|
|
this.cancel_bttn.Size = new System.Drawing.Size(75, 23);
|
|
this.cancel_bttn.TabIndex = 7;
|
|
this.cancel_bttn.Text = "Cancel";
|
|
this.cancel_bttn.UseVisualStyleBackColor = true;
|
|
this.cancel_bttn.Click += new System.EventHandler(this.cancel_bttn_Click);
|
|
//
|
|
// treeView1
|
|
//
|
|
this.treeView1.CheckBoxes = true;
|
|
this.treeView1.Location = new System.Drawing.Point(2, 47);
|
|
this.treeView1.Name = "treeView1";
|
|
this.treeView1.Size = new System.Drawing.Size(408, 290);
|
|
this.treeView1.TabIndex = 8;
|
|
this.treeView1.BeforeExpand += new System.Windows.Forms.TreeViewCancelEventHandler(this.treeView1_BeforeExpand);
|
|
//
|
|
// folderScan
|
|
//
|
|
this.folderScan.DoWork += new System.ComponentModel.DoWorkEventHandler(this.folderScan_DoWork);
|
|
this.folderScan.RunWorkerCompleted += new System.ComponentModel.RunWorkerCompletedEventHandler(this.folderScan_RunWorkerCompleted);
|
|
//
|
|
// panel1
|
|
//
|
|
this.panel1.Controls.Add(this.label3);
|
|
this.panel1.Controls.Add(this.loading_pnl);
|
|
this.panel1.Controls.Add(this.cancel_bttn);
|
|
this.panel1.Controls.Add(this.treeView1);
|
|
this.panel1.Controls.Add(this.Error_label);
|
|
this.panel1.Controls.Add(this.label1);
|
|
this.panel1.Controls.Add(this.ok_bttn);
|
|
this.panel1.Controls.Add(this.path_panel);
|
|
this.panel1.Location = new System.Drawing.Point(12, 11);
|
|
this.panel1.Name = "panel1";
|
|
this.panel1.Size = new System.Drawing.Size(412, 387);
|
|
this.panel1.TabIndex = 9;
|
|
//
|
|
// label3
|
|
//
|
|
this.label3.AutoSize = true;
|
|
this.label3.Location = new System.Drawing.Point(32, 26);
|
|
this.label3.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
|
this.label3.Name = "label3";
|
|
this.label3.Size = new System.Drawing.Size(112, 13);
|
|
this.label3.TabIndex = 10;
|
|
this.label3.Text = "Scan additional share:";
|
|
//
|
|
// loading_pnl
|
|
//
|
|
this.loading_pnl.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
|
this.loading_pnl.Controls.Add(this.label2);
|
|
this.loading_pnl.Controls.Add(this.pictureBox1);
|
|
this.loading_pnl.Location = new System.Drawing.Point(147, 171);
|
|
this.loading_pnl.Name = "loading_pnl";
|
|
this.loading_pnl.Size = new System.Drawing.Size(114, 52);
|
|
this.loading_pnl.TabIndex = 9;
|
|
this.loading_pnl.Visible = false;
|
|
//
|
|
// label2
|
|
//
|
|
this.label2.AutoSize = true;
|
|
this.label2.Location = new System.Drawing.Point(43, 19);
|
|
this.label2.Name = "label2";
|
|
this.label2.Size = new System.Drawing.Size(56, 13);
|
|
this.label2.TabIndex = 1;
|
|
this.label2.Text = "Working...";
|
|
//
|
|
// pictureBox1
|
|
//
|
|
this.pictureBox1.Image = global::Permissions.Properties.Resources.loading_transparent;
|
|
this.pictureBox1.InitialImage = global::Permissions.Properties.Resources.loading_transparent;
|
|
this.pictureBox1.Location = new System.Drawing.Point(23, 15);
|
|
this.pictureBox1.Name = "pictureBox1";
|
|
this.pictureBox1.Size = new System.Drawing.Size(26, 27);
|
|
this.pictureBox1.TabIndex = 0;
|
|
this.pictureBox1.TabStop = false;
|
|
//
|
|
// path_panel
|
|
//
|
|
this.path_panel.Controls.Add(this.startFrom_textbox);
|
|
this.path_panel.Controls.Add(this.refresh_button);
|
|
this.path_panel.Location = new System.Drawing.Point(146, 15);
|
|
this.path_panel.Margin = new System.Windows.Forms.Padding(2);
|
|
this.path_panel.Name = "path_panel";
|
|
this.path_panel.Size = new System.Drawing.Size(244, 33);
|
|
this.path_panel.TabIndex = 14;
|
|
this.path_panel.Visible = false;
|
|
//
|
|
// startFrom_textbox
|
|
//
|
|
this.startFrom_textbox.Location = new System.Drawing.Point(2, 8);
|
|
this.startFrom_textbox.Margin = new System.Windows.Forms.Padding(2);
|
|
this.startFrom_textbox.Name = "startFrom_textbox";
|
|
this.startFrom_textbox.Size = new System.Drawing.Size(192, 20);
|
|
this.startFrom_textbox.TabIndex = 11;
|
|
this.startFrom_textbox.Text = "\\\\server\\share";
|
|
//
|
|
// refresh_button
|
|
//
|
|
this.refresh_button.Image = global::Permissions.Properties.Resources.refresh25x25;
|
|
this.refresh_button.Location = new System.Drawing.Point(197, 6);
|
|
this.refresh_button.Margin = new System.Windows.Forms.Padding(0);
|
|
this.refresh_button.Name = "refresh_button";
|
|
this.refresh_button.Size = new System.Drawing.Size(32, 23);
|
|
this.refresh_button.TabIndex = 12;
|
|
this.refresh_button.UseVisualStyleBackColor = true;
|
|
this.refresh_button.Click += new System.EventHandler(this.refresh_button_Click);
|
|
//
|
|
// multiPath
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(439, 402);
|
|
this.Controls.Add(this.panel1);
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
|
|
this.MaximizeBox = false;
|
|
this.MinimizeBox = false;
|
|
this.Name = "multiPath";
|
|
this.ShowIcon = false;
|
|
this.ShowInTaskbar = false;
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
|
|
this.panel1.ResumeLayout(false);
|
|
this.panel1.PerformLayout();
|
|
this.loading_pnl.ResumeLayout(false);
|
|
this.loading_pnl.PerformLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
|
|
this.path_panel.ResumeLayout(false);
|
|
this.path_panel.PerformLayout();
|
|
this.ResumeLayout(false);
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.Label Error_label;
|
|
private System.Windows.Forms.Label label1;
|
|
private System.Windows.Forms.Button ok_bttn;
|
|
private System.Windows.Forms.Button cancel_bttn;
|
|
private System.Windows.Forms.TreeView treeView1;
|
|
private System.ComponentModel.BackgroundWorker folderScan;
|
|
private System.Windows.Forms.Panel panel1;
|
|
private System.Windows.Forms.Panel loading_pnl;
|
|
private System.Windows.Forms.PictureBox pictureBox1;
|
|
private System.Windows.Forms.Label label2;
|
|
private System.Windows.Forms.Button refresh_button;
|
|
private System.Windows.Forms.TextBox startFrom_textbox;
|
|
private System.Windows.Forms.Label label3;
|
|
private System.Windows.Forms.Panel path_panel;
|
|
}
|
|
} |