diff options
| author | Roy Ben-Shabat <Roy@Twine-s.com> | 2018-05-24 19:35:16 +0300 |
|---|---|---|
| committer | Roy Ben-Shabat <Roy@Twine-s.com> | 2018-05-24 19:35:16 +0300 |
| commit | 3b9b17a00716128ed9f68728c31714f753b8e9ea (patch) | |
| tree | 626699296ceb7ea5119e664f99554b53db31cde9 /Software/Visual_Studio/VSIX/Tango.BuildExtensions/RemoteDebugForm.cs | |
| parent | 5fd370643691a312e1266f138982d784f0f9ebb1 (diff) | |
| download | Tango-3b9b17a00716128ed9f68728c31714f753b8e9ea.tar.gz Tango-3b9b17a00716128ed9f68728c31714f753b8e9ea.zip | |
Implemented Remote Debugging for panel PC as VS command using PsiExec!
Started investigating the Surface SDK controls.
Diffstat (limited to 'Software/Visual_Studio/VSIX/Tango.BuildExtensions/RemoteDebugForm.cs')
| -rw-r--r-- | Software/Visual_Studio/VSIX/Tango.BuildExtensions/RemoteDebugForm.cs | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/Software/Visual_Studio/VSIX/Tango.BuildExtensions/RemoteDebugForm.cs b/Software/Visual_Studio/VSIX/Tango.BuildExtensions/RemoteDebugForm.cs new file mode 100644 index 000000000..a59a138e0 --- /dev/null +++ b/Software/Visual_Studio/VSIX/Tango.BuildExtensions/RemoteDebugForm.cs @@ -0,0 +1,44 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace Tango.BuildExtensions +{ + public partial class RemoteDebugForm : Form + { + public String HostName { get; set; } + public String UserName { get; set; } + public String Password { get; set; } + + public RemoteDebugForm(String projectName) + { + InitializeComponent(); + + txtProjectName.Text = projectName; + + btnOK.Click += BtnOK_Click; + btnCancel.Click += BtnCancel_Click; + } + + private void BtnCancel_Click(object sender, EventArgs e) + { + DialogResult = DialogResult.Cancel; + Close(); + } + + private void BtnOK_Click(object sender, EventArgs e) + { + HostName = txtHostName.Text; + UserName = txtUserName.Text; + Password = txtPass.Text; + DialogResult = DialogResult.OK; + Close(); + } + } +} |
