コード例 #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));
            }
        }
コード例 #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;
                }
            }
        }