private void editWebServicesToolStripMenuItem_Click(object sender, EventArgs e)
        {
            string applicationName;

            lock (_applicationList)
            {
                //Check if user selected any application to remove
                if (gwApplicationList.SelectedRows.Count <= 0)
                {
                    return;
                }

                var selectedIndex = gwApplicationList.SelectedRows[0].Index;
                if ((selectedIndex < 0) || (selectedIndex >= _applicationList.Count))
                {
                    return;
                }

                //Get confirmation from user to remove application.
                applicationName = _applicationList[selectedIndex].ApplicationName;
            }

            var editWebServiceForm = new EditApplicationWebServicesForm(_controller, applicationName);

            editWebServiceForm.ShowDialog();
        }
        private void editWebServicesToolStripMenuItem_Click(object sender, EventArgs e)
        {
            string applicationName;
            lock (_applicationList)
            {
                //Check if user selected any application to remove
                if (gwApplicationList.SelectedRows.Count <= 0)
                {
                    return;
                }

                var selectedIndex = gwApplicationList.SelectedRows[0].Index;
                if ((selectedIndex < 0) || (selectedIndex >= _applicationList.Count))
                {
                    return;
                }

                //Get confirmation from user to remove application.
                applicationName = _applicationList[selectedIndex].ApplicationName;
            }

            var editWebServiceForm = new EditApplicationWebServicesForm(_controller, applicationName);
            editWebServiceForm.ShowDialog();
        }