Beispiel #1
0
        private void newPackageBuilder_Click(object sender, EventArgs e)
        {
            var f = new DeploymentFolderManagerEditor();

            if (f.ShowDialog(this) == DialogResult.OK)
            {
                Entities.DeploymentFolderManager data = f.FolderManagerData;

                deploymentFolderManagersList.Controls.Add(new DeploymentFolderManagerInstance(data));
            }
        }
Beispiel #2
0
        private void editDeploymentManagerButton_Click(object sender, EventArgs e)
        {
            using (var f = new DeploymentFolderManagerEditor(DeploymentFolderManagerData))
            {
                var dialogResult = f.ShowDialog(this);

                if (dialogResult == DialogResult.OK)
                {
                    this.DeploymentFolderManagerData = f.FolderManagerData;
                }
            }
        }