예제 #1
0
        private void buttonCreateNetworkFromCommunity_Click(object sender, EventArgs e)
        {
            string network = (string)listNetworks.SelectedItem;

            if (listViewCommunities.SelectedItems.Count > 0)
            {
                string community = listViewCommunities.SelectedItems[0].Text;
                _service.CreateNetworkFromCommunity(network, community);
            }
        }