Click here to Skip to main content
15,897,704 members
Articles / Web Development / ASP.NET

DNN Module Packager

Rate me:
Please Sign up or sign in to vote.
4.61/5 (11 votes)
22 Nov 2006CPOL2 min read 64.3K   1K   28  
A utility that creates a DotNetNuke manifest file and packages a module.
namespace DNN_Module_Packager
{
    partial class FormMain
    {
        /// <summary>
        /// Required designer variable.
        /// </summary>
        private System.ComponentModel.IContainer components = null;

        /// <summary>
        /// Clean up any resources being used.
        /// </summary>
        /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
        protected override void Dispose(bool disposing)
        {
            if (disposing && (components != null))
            {
                components.Dispose();
            }
            base.Dispose(disposing);
        }

        #region Windows Form Designer generated code

        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.grpSettings = new System.Windows.Forms.GroupBox();
            this.txtExcludeExts = new System.Windows.Forms.TextBox();
            this.label1 = new System.Windows.Forms.Label();
            this.btnZipOutput = new System.Windows.Forms.Button();
            this.btnProjectPath = new System.Windows.Forms.Button();
            this.btnDnnFile = new System.Windows.Forms.Button();
            this.txtZipOutput = new System.Windows.Forms.TextBox();
            this.txtProjectPath = new System.Windows.Forms.TextBox();
            this.txtDnnFile = new System.Windows.Forms.TextBox();
            this.lblProjectPath = new System.Windows.Forms.Label();
            this.lblZipOutput = new System.Windows.Forms.Label();
            this.lblDnnFile = new System.Windows.Forms.Label();
            this.lblDescription = new System.Windows.Forms.Label();
            this.tbcTabs = new System.Windows.Forms.TabControl();
            this.tabFiles = new System.Windows.Forms.TabPage();
            this.lblFiles = new System.Windows.Forms.Label();
            this.btnRemove = new System.Windows.Forms.Button();
            this.btnAddFile = new System.Windows.Forms.Button();
            this.lstFiles = new System.Windows.Forms.ListBox();
            this.tabOutput = new System.Windows.Forms.TabPage();
            this.txtGenerated = new System.Windows.Forms.TextBox();
            this.btnExitApp = new System.Windows.Forms.Button();
            this.btnGenerateDNNFile = new System.Windows.Forms.Button();
            this.btnGeneratePackage = new System.Windows.Forms.Button();
            this.grpSettings.SuspendLayout();
            this.tbcTabs.SuspendLayout();
            this.tabFiles.SuspendLayout();
            this.tabOutput.SuspendLayout();
            this.SuspendLayout();
            // 
            // grpSettings
            // 
            this.grpSettings.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                        | System.Windows.Forms.AnchorStyles.Right)));
            this.grpSettings.Controls.Add(this.txtExcludeExts);
            this.grpSettings.Controls.Add(this.label1);
            this.grpSettings.Controls.Add(this.btnZipOutput);
            this.grpSettings.Controls.Add(this.btnProjectPath);
            this.grpSettings.Controls.Add(this.btnDnnFile);
            this.grpSettings.Controls.Add(this.txtZipOutput);
            this.grpSettings.Controls.Add(this.txtProjectPath);
            this.grpSettings.Controls.Add(this.txtDnnFile);
            this.grpSettings.Controls.Add(this.lblProjectPath);
            this.grpSettings.Controls.Add(this.lblZipOutput);
            this.grpSettings.Controls.Add(this.lblDnnFile);
            this.grpSettings.Controls.Add(this.lblDescription);
            this.grpSettings.Location = new System.Drawing.Point(12, 12);
            this.grpSettings.Name = "grpSettings";
            this.grpSettings.Size = new System.Drawing.Size(586, 169);
            this.grpSettings.TabIndex = 0;
            this.grpSettings.TabStop = false;
            this.grpSettings.Text = "DNN Module Packager Settings";
            // 
            // txtExcludeExts
            // 
            this.txtExcludeExts.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                        | System.Windows.Forms.AnchorStyles.Right)));
            this.txtExcludeExts.Location = new System.Drawing.Point(88, 132);
            this.txtExcludeExts.MaxLength = 255;
            this.txtExcludeExts.Name = "txtExcludeExts";
            this.txtExcludeExts.Size = new System.Drawing.Size(465, 20);
            this.txtExcludeExts.TabIndex = 18;
            this.txtExcludeExts.Text = ".scc, .vssscc";
            // 
            // label1
            // 
            this.label1.AutoSize = true;
            this.label1.Location = new System.Drawing.Point(6, 136);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(71, 13);
            this.label1.TabIndex = 17;
            this.label1.Text = "Exclude Exts:";
            // 
            // btnZipOutput
            // 
            this.btnZipOutput.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.btnZipOutput.Location = new System.Drawing.Point(555, 102);
            this.btnZipOutput.Name = "btnZipOutput";
            this.btnZipOutput.Size = new System.Drawing.Size(25, 22);
            this.btnZipOutput.TabIndex = 16;
            this.btnZipOutput.Text = "...";
            this.btnZipOutput.UseVisualStyleBackColor = true;
            this.btnZipOutput.Click += new System.EventHandler(this.btnZipOutput_Click);
            // 
            // btnProjectPath
            // 
            this.btnProjectPath.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.btnProjectPath.Location = new System.Drawing.Point(555, 72);
            this.btnProjectPath.Name = "btnProjectPath";
            this.btnProjectPath.Size = new System.Drawing.Size(25, 22);
            this.btnProjectPath.TabIndex = 15;
            this.btnProjectPath.Text = "...";
            this.btnProjectPath.UseVisualStyleBackColor = true;
            this.btnProjectPath.Click += new System.EventHandler(this.btnProjectPath_Click);
            // 
            // btnDnnFile
            // 
            this.btnDnnFile.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.btnDnnFile.Location = new System.Drawing.Point(555, 43);
            this.btnDnnFile.Name = "btnDnnFile";
            this.btnDnnFile.Size = new System.Drawing.Size(25, 22);
            this.btnDnnFile.TabIndex = 14;
            this.btnDnnFile.Text = "...";
            this.btnDnnFile.UseVisualStyleBackColor = true;
            this.btnDnnFile.Click += new System.EventHandler(this.btnDnnFile_Click);
            // 
            // txtZipOutput
            // 
            this.txtZipOutput.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                        | System.Windows.Forms.AnchorStyles.Right)));
            this.txtZipOutput.Location = new System.Drawing.Point(88, 103);
            this.txtZipOutput.Name = "txtZipOutput";
            this.txtZipOutput.Size = new System.Drawing.Size(465, 20);
            this.txtZipOutput.TabIndex = 13;
            // 
            // txtProjectPath
            // 
            this.txtProjectPath.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                        | System.Windows.Forms.AnchorStyles.Right)));
            this.txtProjectPath.Location = new System.Drawing.Point(88, 73);
            this.txtProjectPath.Name = "txtProjectPath";
            this.txtProjectPath.Size = new System.Drawing.Size(465, 20);
            this.txtProjectPath.TabIndex = 12;
            // 
            // txtDnnFile
            // 
            this.txtDnnFile.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                        | System.Windows.Forms.AnchorStyles.Right)));
            this.txtDnnFile.Location = new System.Drawing.Point(88, 44);
            this.txtDnnFile.Name = "txtDnnFile";
            this.txtDnnFile.Size = new System.Drawing.Size(465, 20);
            this.txtDnnFile.TabIndex = 11;
            // 
            // lblProjectPath
            // 
            this.lblProjectPath.AutoSize = true;
            this.lblProjectPath.Location = new System.Drawing.Point(6, 77);
            this.lblProjectPath.Name = "lblProjectPath";
            this.lblProjectPath.Size = new System.Drawing.Size(68, 13);
            this.lblProjectPath.TabIndex = 10;
            this.lblProjectPath.Text = "Project Path:";
            // 
            // lblZipOutput
            // 
            this.lblZipOutput.AutoSize = true;
            this.lblZipOutput.Location = new System.Drawing.Point(6, 106);
            this.lblZipOutput.Name = "lblZipOutput";
            this.lblZipOutput.Size = new System.Drawing.Size(60, 13);
            this.lblZipOutput.TabIndex = 9;
            this.lblZipOutput.Text = "Zip Output:";
            // 
            // lblDnnFile
            // 
            this.lblDnnFile.AutoSize = true;
            this.lblDnnFile.Location = new System.Drawing.Point(6, 48);
            this.lblDnnFile.Name = "lblDnnFile";
            this.lblDnnFile.Size = new System.Drawing.Size(53, 13);
            this.lblDnnFile.TabIndex = 8;
            this.lblDnnFile.Text = "DNN File:";
            // 
            // lblDescription
            // 
            this.lblDescription.AutoSize = true;
            this.lblDescription.Location = new System.Drawing.Point(6, 19);
            this.lblDescription.Name = "lblDescription";
            this.lblDescription.Size = new System.Drawing.Size(439, 13);
            this.lblDescription.TabIndex = 7;
            this.lblDescription.Text = "This utility generates an updated .DNN file from your module files and packages t" +
                "he module.";
            // 
            // tbcTabs
            // 
            this.tbcTabs.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                        | System.Windows.Forms.AnchorStyles.Left)
                        | System.Windows.Forms.AnchorStyles.Right)));
            this.tbcTabs.Controls.Add(this.tabFiles);
            this.tbcTabs.Controls.Add(this.tabOutput);
            this.tbcTabs.Location = new System.Drawing.Point(12, 198);
            this.tbcTabs.Name = "tbcTabs";
            this.tbcTabs.SelectedIndex = 0;
            this.tbcTabs.Size = new System.Drawing.Size(671, 343);
            this.tbcTabs.TabIndex = 1;
            // 
            // tabFiles
            // 
            this.tabFiles.Controls.Add(this.lblFiles);
            this.tabFiles.Controls.Add(this.btnRemove);
            this.tabFiles.Controls.Add(this.btnAddFile);
            this.tabFiles.Controls.Add(this.lstFiles);
            this.tabFiles.Location = new System.Drawing.Point(4, 22);
            this.tabFiles.Name = "tabFiles";
            this.tabFiles.Padding = new System.Windows.Forms.Padding(3);
            this.tabFiles.Size = new System.Drawing.Size(663, 317);
            this.tabFiles.TabIndex = 0;
            this.tabFiles.Text = "Additional Files";
            this.tabFiles.UseVisualStyleBackColor = true;
            // 
            // lblFiles
            // 
            this.lblFiles.AutoSize = true;
            this.lblFiles.Location = new System.Drawing.Point(6, 13);
            this.lblFiles.Name = "lblFiles";
            this.lblFiles.Size = new System.Drawing.Size(269, 13);
            this.lblFiles.TabIndex = 6;
            this.lblFiles.Text = "Select additional files to include in the module package:";
            // 
            // btnRemove
            // 
            this.btnRemove.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.btnRemove.Location = new System.Drawing.Point(582, 60);
            this.btnRemove.Name = "btnRemove";
            this.btnRemove.Size = new System.Drawing.Size(75, 23);
            this.btnRemove.TabIndex = 5;
            this.btnRemove.Text = "Remove";
            this.btnRemove.UseVisualStyleBackColor = true;
            this.btnRemove.Click += new System.EventHandler(this.btnRemove_Click);
            // 
            // btnAddFile
            // 
            this.btnAddFile.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.btnAddFile.Location = new System.Drawing.Point(582, 31);
            this.btnAddFile.Name = "btnAddFile";
            this.btnAddFile.Size = new System.Drawing.Size(75, 23);
            this.btnAddFile.TabIndex = 4;
            this.btnAddFile.Text = "Add File";
            this.btnAddFile.UseVisualStyleBackColor = true;
            this.btnAddFile.Click += new System.EventHandler(this.btnAddFile_Click);
            // 
            // lstFiles
            // 
            this.lstFiles.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                        | System.Windows.Forms.AnchorStyles.Left)
                        | System.Windows.Forms.AnchorStyles.Right)));
            this.lstFiles.FormattingEnabled = true;
            this.lstFiles.Location = new System.Drawing.Point(9, 29);
            this.lstFiles.Name = "lstFiles";
            this.lstFiles.ScrollAlwaysVisible = true;
            this.lstFiles.Size = new System.Drawing.Size(567, 277);
            this.lstFiles.TabIndex = 0;
            // 
            // tabOutput
            // 
            this.tabOutput.Controls.Add(this.txtGenerated);
            this.tabOutput.Location = new System.Drawing.Point(4, 22);
            this.tabOutput.Name = "tabOutput";
            this.tabOutput.Padding = new System.Windows.Forms.Padding(3);
            this.tabOutput.Size = new System.Drawing.Size(663, 317);
            this.tabOutput.TabIndex = 1;
            this.tabOutput.Text = "DNN Config File";
            this.tabOutput.UseVisualStyleBackColor = true;
            // 
            // txtGenerated
            // 
            this.txtGenerated.Dock = System.Windows.Forms.DockStyle.Fill;
            this.txtGenerated.Location = new System.Drawing.Point(3, 3);
            this.txtGenerated.Multiline = true;
            this.txtGenerated.Name = "txtGenerated";
            this.txtGenerated.ScrollBars = System.Windows.Forms.ScrollBars.Both;
            this.txtGenerated.Size = new System.Drawing.Size(657, 311);
            this.txtGenerated.TabIndex = 0;
            // 
            // btnExitApp
            // 
            this.btnExitApp.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.btnExitApp.Location = new System.Drawing.Point(608, 108);
            this.btnExitApp.Name = "btnExitApp";
            this.btnExitApp.Size = new System.Drawing.Size(75, 23);
            this.btnExitApp.TabIndex = 2;
            this.btnExitApp.Text = "Exit";
            this.btnExitApp.UseVisualStyleBackColor = true;
            this.btnExitApp.Click += new System.EventHandler(this.btnExitApp_Click);
            // 
            // btnGenerateDNNFile
            // 
            this.btnGenerateDNNFile.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.btnGenerateDNNFile.Location = new System.Drawing.Point(608, 21);
            this.btnGenerateDNNFile.Name = "btnGenerateDNNFile";
            this.btnGenerateDNNFile.Size = new System.Drawing.Size(75, 37);
            this.btnGenerateDNNFile.TabIndex = 3;
            this.btnGenerateDNNFile.Text = "Generate Manifest";
            this.btnGenerateDNNFile.UseVisualStyleBackColor = true;
            this.btnGenerateDNNFile.Click += new System.EventHandler(this.btnGenerateDNNFile_Click);
            // 
            // btnGeneratePackage
            // 
            this.btnGeneratePackage.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.btnGeneratePackage.Location = new System.Drawing.Point(608, 64);
            this.btnGeneratePackage.Name = "btnGeneratePackage";
            this.btnGeneratePackage.Size = new System.Drawing.Size(75, 37);
            this.btnGeneratePackage.TabIndex = 4;
            this.btnGeneratePackage.Text = "Generate Package";
            this.btnGeneratePackage.UseVisualStyleBackColor = true;
            this.btnGeneratePackage.Click += new System.EventHandler(this.btnGeneratePackage_Click);
            // 
            // FormMain
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(695, 543);
            this.Controls.Add(this.btnGeneratePackage);
            this.Controls.Add(this.btnGenerateDNNFile);
            this.Controls.Add(this.btnExitApp);
            this.Controls.Add(this.tbcTabs);
            this.Controls.Add(this.grpSettings);
            this.Name = "FormMain";
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text = "DNN Module Packager";
            this.Load += new System.EventHandler(this.frmMain_Load);
            this.grpSettings.ResumeLayout(false);
            this.grpSettings.PerformLayout();
            this.tbcTabs.ResumeLayout(false);
            this.tabFiles.ResumeLayout(false);
            this.tabFiles.PerformLayout();
            this.tabOutput.ResumeLayout(false);
            this.tabOutput.PerformLayout();
            this.ResumeLayout(false);

        }

        #endregion

        private System.Windows.Forms.GroupBox grpSettings;
        private System.Windows.Forms.TabControl tbcTabs;
        private System.Windows.Forms.TabPage tabFiles;
        private System.Windows.Forms.TabPage tabOutput;
        private System.Windows.Forms.Button btnExitApp;
        private System.Windows.Forms.Button btnGenerateDNNFile;
        private System.Windows.Forms.Button btnRemove;
        private System.Windows.Forms.Button btnAddFile;
        private System.Windows.Forms.ListBox lstFiles;
        private System.Windows.Forms.Label lblProjectPath;
        private System.Windows.Forms.Label lblZipOutput;
        private System.Windows.Forms.Label lblDnnFile;
        private System.Windows.Forms.Label lblDescription;
        private System.Windows.Forms.Label lblFiles;
        private System.Windows.Forms.TextBox txtGenerated;
        private System.Windows.Forms.Button btnDnnFile;
        private System.Windows.Forms.TextBox txtZipOutput;
        private System.Windows.Forms.TextBox txtProjectPath;
        private System.Windows.Forms.TextBox txtDnnFile;
        private System.Windows.Forms.Button btnZipOutput;
        private System.Windows.Forms.Button btnProjectPath;
        private System.Windows.Forms.Button btnGeneratePackage;
        private System.Windows.Forms.TextBox txtExcludeExts;
        private System.Windows.Forms.Label label1;
    }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer
United States United States
SOFTWARE: Chris Hambleton is a Software Developer with proven experience in developing both web and Windows client-server applications with WPF, ASP.NET, C#, SQL Server, VB.NET, Visual C++, and VB6.

Chris's website is at ChrisHambleton.com and he has a small web-hosting/consulting business called CustomersInFocus.com. He has several other websites such as EzekielWatch.com, iWriterPro.com, and BookBlitzer.com.

WRITING: He has also written several fiction books ("The Time of Jacob's Trouble" and "Endeavor in Time"), available at CWHambleton.com and of course, at Amazon.com (Full Amazon Profile).

Comments and Discussions