public static void createNetwork(VSDSession s, Enterprise enterprise) { NetworkView nv = new NetworkView(); nv.enterprise = enterprise; nv.subnet = null; nv.session = s; nv.ShowDialog(); }
public static void editNSG(VSDSession session, Enterprise enterprise, NSGateway nsg) { NSGView nv = new NSGView(); nv.session = session; nv.enterprise = enterprise; nv.nsg = nsg; nv.ShowDialog(); }
public static void createNSG(VSDSession session, Enterprise enterprise) { NSGView nv = new NSGView(); nv.session = session; nv.enterprise = enterprise; nv.ShowDialog(); }
public static void editNetwork(VSDSession s, string networkID) { NetworkView nv = new NetworkView(); nv.session = s; nv.subnet = new Subnet(); nv.subnet.NUId = networkID; nv.subnet.fetch(s); nv.enterprise = null; nv.ShowDialog(); }
private void button1_Click(object sender, EventArgs e) { this.session = new VSDSession(textBox2.Text, textBox3.Text, textBox4.Text, textBox1.Text); groupBox2.Enabled = true; groupBox3.Enabled = true; }
public EnterpriseView(VSDSession session, string id) { this.enterpriseID = id; this.session = session; InitializeComponent(); }