예제 #1
0
        private void buttonProjectProperties_Click(object sender, EventArgs e)
        {
            ProjectConfiguration dialog = new ProjectConfiguration(JiraServerModel.Instance, facade);

            dialog.ShowDialog(this);
            if (dialog.SomethingChanged)
            {
                // todo: only do this for changed servers - add server model listeners
                reloadKnownJiraServers();
            }
        }
예제 #2
0
        public void openProjectProperties(Guid?serverTypeToCreate)
        {
            ProjectConfiguration dialog =
                new ProjectConfiguration(serverTypeToCreate, JiraServerModel.Instance, BambooServerModel.Instance, tabJira.Facade, tabBamboo.Facade);

            dialog.ShowDialog(this);
            if (dialog.SomethingChanged)
            {
                // todo: only do this for changed servers - add server model listeners
                // currently this code blows :)
                tabJira.reinitialize(null);
                tabBamboo.reinitialize();
            }
        }