Skip to content

Commit

Permalink
v1.1
Browse files Browse the repository at this point in the history
Added drawing functionality to screenshot
  • Loading branch information
DarcyJProjects committed Oct 30, 2022
1 parent 70b8bbf commit 762b291
Show file tree
Hide file tree
Showing 27 changed files with 528 additions and 38 deletions.
Binary file modified .vs/FTP Snipping Tool/DesignTimeBuild/.dtbcache.v2
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified .vs/FTP Snipping Tool/v17/.futdcache.v1
Binary file not shown.
Binary file modified .vs/FTP Snipping Tool/v17/.suo
Binary file not shown.
Binary file modified .vs/ProjectEvaluation/ftp snipping tool.metadata.v2
Binary file not shown.
Binary file modified .vs/ProjectEvaluation/ftp snipping tool.projects.v2
Binary file not shown.
5 changes: 3 additions & 2 deletions Form1.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Form1.cs
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ private void pictureBox1_MouseDown(object sender, MouseEventArgs e)
//starts coordinates for rectangle
selectX = e.X;
selectY = e.Y;
selectPen = new Pen(Color.Red, 1);
selectPen.DashStyle = DashStyle.DashDotDot;
selectPen = new Pen(Color.Crimson, 5);
selectPen.DashStyle = DashStyle.Dash;
}
//refresh picture box
pictureBox1.Refresh();
Expand Down
10 changes: 10 additions & 0 deletions Properties/Resources.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions Properties/Resources.resx
Original file line number Diff line number Diff line change
Expand Up @@ -121,4 +121,7 @@
<data name="placeholder" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\placeholder.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="transparent" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\transparent.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
</root>
Binary file added Resources/transparent.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added bin/Debug/net6.0-windows/BETA v1.0.rar
Binary file not shown.
Binary file modified bin/Debug/net6.0-windows/FTP Snipping Tool.dll
Binary file not shown.
Binary file modified bin/Debug/net6.0-windows/FTP Snipping Tool.pdb
Binary file not shown.
60 changes: 52 additions & 8 deletions configure.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 21 additions & 0 deletions configure.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,15 @@ private void btnReload_Click(object sender, EventArgs e)
txtWebURL.Text = Properties.Settings.Default.webURL;
}

private void btnDefault_Click(object sender, EventArgs e)
{
txtHost.Text = "IP or domain";
txtPort.Text = "22";
txtUsername.Text = "username";
txtPassword.Text = "password";
txtScreenshotpath.Text = "E.G. /var/www/screenshots.darcyjprojects.xyz/";
txtWebURL.Text = "E.G. https://screenshots.darcyjprojects.xyz";
}
private void btnSave_Click(object sender, EventArgs e)
{
if (txtPort.ForeColor == Color.Red)
Expand Down Expand Up @@ -78,5 +87,17 @@ private void configure_FormClosing(object sender, FormClosingEventArgs e)
{
Application.Exit();
}

private void checkBox1_CheckedChanged(object sender, EventArgs e)
{
if (checkBox1.Checked == true)
{
txtPassword.PasswordChar = '*';
} else
{
Char nullChar = new char();
txtPassword.PasswordChar = nullChar;
}
}
}
}
Binary file not shown.
Binary file modified obj/Debug/net6.0-windows/FTP Snipping Tool.dll
Binary file not shown.
Binary file modified obj/Debug/net6.0-windows/FTP Snipping Tool.pdb
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified obj/Debug/net6.0-windows/ref/FTP Snipping Tool.dll
Binary file not shown.
Binary file modified obj/Debug/net6.0-windows/refint/FTP Snipping Tool.dll
Binary file not shown.
Loading

0 comments on commit 762b291

Please sign in to comment.