Exemplo 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();
        }
Exemplo 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();
        }
Exemplo n.º 3
0
        public static void createNSG(VSDSession session, Enterprise enterprise)
        {
            NSGView nv = new NSGView();

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

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