Exemplo n.º 1
0
        private void btnAdd_Click(object sender, EventArgs e)
        {
            NetworkSetup.EditNetworkSetupForm setup = new ePlus.NetworkSetup.EditNetworkSetupForm(new ServerInfo());
            setup.ShowDialog();
            setup.Dispose();

            RefreshServerList();
        }
Exemplo n.º 2
0
        private void btnAttribute_Click(object sender, EventArgs e)
        {
            if (listView.SelectedItems.Count > 0)
            {
                ServerInfo serverInfo = (ServerInfo)listView.SelectedItems[0].Tag;

                NetworkSetup.EditNetworkSetupForm setup = new ePlus.NetworkSetup.EditNetworkSetupForm(serverInfo);
                setup.ShowDialog();
                setup.Dispose();

                RefreshServerList();
            }
        }