Esempio n. 1
0
        public static void createNetwork(VSDSession s, Enterprise enterprise)
        {
            NetworkView nv = new NetworkView();

            nv.enterprise = enterprise;
            nv.subnet     = null;
            nv.session    = s;
            nv.ShowDialog();
        }
Esempio n. 2
0
        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();
        }
Esempio n. 3
0
        public static void createNSG(VSDSession session, Enterprise enterprise)
        {
            NSGView nv = new NSGView();

            nv.session    = session;
            nv.enterprise = enterprise;

            nv.ShowDialog();
        }
Esempio n. 4
0
        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();
        }
Esempio n. 5
0
 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;
 }
Esempio n. 6
0
 public EnterpriseView(VSDSession session, string id)
 {
     this.enterpriseID = id;
     this.session      = session;
     InitializeComponent();
 }