Start working on Firewall Rules

This commit is contained in:
2016-11-04 15:08:47 -05:00
parent c1bce08f77
commit 6d375c9b60
16 changed files with 3454 additions and 12 deletions

View File

@ -0,0 +1,52 @@
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 EduNetworkBuilder
{
public class FirewallRule
{
public string Source;
public string Destination;
public FirewallRuleType Action;
}
public partial class FirewallEditor : Form
{
public FirewallEditor()
{
InitializeComponent();
UpdateForm();
}
void UpdateForm()
{
if (lbRules.SelectedIndex > 0)
btnDel.Visible = true;
else
btnDel.Visible = false;
}
private void btnNew_Click(object sender, EventArgs e)
{
}
private void btnDel_Click(object sender, EventArgs e)
{
}
private void btnDone_Click(object sender, EventArgs e)
{
}
}
}