mirror of
https://github.com/HistacomUnity/Histacom2-old.git
synced 2025-01-22 09:02:01 -05:00
FTP CLient now requires you to double click on the items
This commit is contained in:
parent
9b1e869f9c
commit
410c6afab4
3 changed files with 29 additions and 19 deletions
|
@ -78,8 +78,12 @@ private void InitializeComponent()
|
||||||
//
|
//
|
||||||
// btnLogin
|
// btnLogin
|
||||||
//
|
//
|
||||||
|
this.btnLogin.AdaptBackColorWithTheme = true;
|
||||||
|
this.btnLogin.AdaptFontWithTheme = true;
|
||||||
|
this.btnLogin.AdaptForeColorWithTheme = true;
|
||||||
this.btnLogin.BackColor = System.Drawing.Color.Silver;
|
this.btnLogin.BackColor = System.Drawing.Color.Silver;
|
||||||
this.btnLogin.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
this.btnLogin.DialogResult = System.Windows.Forms.DialogResult.None;
|
||||||
|
this.btnLogin.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
|
||||||
this.btnLogin.ForeColor = System.Drawing.Color.Black;
|
this.btnLogin.ForeColor = System.Drawing.Color.Black;
|
||||||
this.btnLogin.Location = new System.Drawing.Point(585, 4);
|
this.btnLogin.Location = new System.Drawing.Point(585, 4);
|
||||||
this.btnLogin.Name = "btnLogin";
|
this.btnLogin.Name = "btnLogin";
|
||||||
|
@ -184,7 +188,12 @@ private void InitializeComponent()
|
||||||
//
|
//
|
||||||
// btnCancel
|
// btnCancel
|
||||||
//
|
//
|
||||||
|
this.btnCancel.AdaptBackColorWithTheme = true;
|
||||||
|
this.btnCancel.AdaptFontWithTheme = true;
|
||||||
|
this.btnCancel.AdaptForeColorWithTheme = true;
|
||||||
this.btnCancel.BackColor = System.Drawing.Color.Silver;
|
this.btnCancel.BackColor = System.Drawing.Color.Silver;
|
||||||
|
this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.None;
|
||||||
|
this.btnCancel.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
|
||||||
this.btnCancel.ForeColor = System.Drawing.Color.Black;
|
this.btnCancel.ForeColor = System.Drawing.Color.Black;
|
||||||
this.btnCancel.Location = new System.Drawing.Point(3, 2);
|
this.btnCancel.Location = new System.Drawing.Point(3, 2);
|
||||||
this.btnCancel.Name = "btnCancel";
|
this.btnCancel.Name = "btnCancel";
|
||||||
|
@ -227,7 +236,7 @@ private void InitializeComponent()
|
||||||
this.ftpFiles.UseCompatibleStateImageBehavior = false;
|
this.ftpFiles.UseCompatibleStateImageBehavior = false;
|
||||||
this.ftpFiles.View = System.Windows.Forms.View.List;
|
this.ftpFiles.View = System.Windows.Forms.View.List;
|
||||||
this.ftpFiles.Visible = false;
|
this.ftpFiles.Visible = false;
|
||||||
this.ftpFiles.Click += new System.EventHandler(this.ftpItems_Click);
|
this.ftpFiles.DoubleClick += new System.EventHandler(this.ftpFiles_DoubleClick);
|
||||||
//
|
//
|
||||||
// fileIcons
|
// fileIcons
|
||||||
//
|
//
|
||||||
|
|
|
@ -56,7 +56,23 @@ private void button1_Click(object sender, EventArgs e)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void ftpItems_Click(object sender, EventArgs e)
|
|
||||||
|
private void btnCancel_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
ParentForm.Close();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void WinClassicFTPClient_Load(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
private void topBar_Paint(object sender, PaintEventArgs e)
|
||||||
|
{
|
||||||
|
topBar.BackColor = SaveSystem.currentTheme.threeDObjectsColor;
|
||||||
|
}
|
||||||
|
|
||||||
|
private void ftpFiles_DoubleClick(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
Point objDrawingPoint = ftpFiles.PointToClient(Cursor.Position);
|
Point objDrawingPoint = ftpFiles.PointToClient(Cursor.Position);
|
||||||
ListViewItem objListViewItem = new ListViewItem();
|
ListViewItem objListViewItem = new ListViewItem();
|
||||||
|
@ -117,20 +133,5 @@ private void ftpItems_Click(object sender, EventArgs e)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void btnCancel_Click(object sender, EventArgs e)
|
|
||||||
{
|
|
||||||
ParentForm.Close();
|
|
||||||
}
|
|
||||||
|
|
||||||
private void WinClassicFTPClient_Load(object sender, EventArgs e)
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
private void topBar_Paint(object sender, PaintEventArgs e)
|
|
||||||
{
|
|
||||||
topBar.BackColor = SaveSystem.currentTheme.threeDObjectsColor;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -128,7 +128,7 @@
|
||||||
AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w
|
AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w
|
||||||
LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0
|
LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0
|
||||||
ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAABe
|
ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAABe
|
||||||
EgAAAk1TRnQBSQFMAgEBAwEAATABAAEwAQABIAEAASABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo
|
EgAAAk1TRnQBSQFMAgEBAwEAAUABAAFAAQABIAEAASABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo
|
||||||
AwABgAMAASADAAEBAQABCAYAARAYAAGAAgABgAMAAoABAAGAAwABgAEAAYABAAKAAgADwAEAAcAB3AHA
|
AwABgAMAASADAAEBAQABCAYAARAYAAGAAgABgAMAAoABAAGAAwABgAEAAYABAAKAAgADwAEAAcAB3AHA
|
||||||
AQAB8AHKAaYBAAEzBQABMwEAATMBAAEzAQACMwIAAxYBAAMcAQADIgEAAykBAANVAQADTQEAA0IBAAM5
|
AQAB8AHKAaYBAAEzBQABMwEAATMBAAEzAQACMwIAAxYBAAMcAQADIgEAAykBAANVAQADTQEAA0IBAAM5
|
||||||
AQABgAF8Af8BAAJQAf8BAAGTAQAB1gEAAf8B7AHMAQABxgHWAe8BAAHWAucBAAGQAakBrQIAAf8BMwMA
|
AQABgAF8Af8BAAJQAf8BAAGTAQAB1gEAAf8B7AHMAQABxgHWAe8BAAHWAucBAAGQAakBrQIAAf8BMwMA
|
||||||
|
|
Loading…
Reference in a new issue