add manual add camera

This commit is contained in:
Kwimbee
2024-05-06 14:47:59 +02:00
parent 38b7f93ca2
commit a5b5e39f90
5 changed files with 279 additions and 17 deletions

30
Manual_IP_Form.cs Normal file
View File

@@ -0,0 +1,30 @@
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 robospot_camera_finder
{
public partial class Manual_IP_Form : Form
{
public string ipAddress { get; set; }
public Manual_IP_Form()
{
InitializeComponent();
}
private void btnValidate_Click(object sender, EventArgs e)
{
this.ipAddress = txtIPAddress.Text;
this.DialogResult = DialogResult.OK;
this.Close();
}
}
}