Click here to Skip to main content
15,892,517 members
Articles / Database Development / SQL Server / SQL Server 2008

Architecture Guide: Windows Forms, Generics, Auto-Mapper, Entity Framework, Framework Design, and many more..

Rate me:
Please Sign up or sign in to vote.
4.93/5 (39 votes)
12 Dec 2013CPOL15 min read 141.7K   3.8K   175  
Architecting a Windows Forms based system on top of a framework. This will help you develop a form based application faster.
namespace Raptor.Delmah.ChildControls
{
    partial class DelmahReports
    {
        /// <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 Component 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.components = new System.ComponentModel.Container();
            Microsoft.Reporting.WinForms.ReportDataSource reportDataSource1 = new Microsoft.Reporting.WinForms.ReportDataSource();
            this.WeightingViewBindingSource = new System.Windows.Forms.BindingSource(this.components);
            this.splitContainer1 = new System.Windows.Forms.SplitContainer();
            this.buttonNext = new System.Windows.Forms.Button();
            this.labelBatch = new System.Windows.Forms.Label();
            this.buttonPrevious = new System.Windows.Forms.Button();
            this.dateTimePickerProcessedDate = new System.Windows.Forms.DateTimePicker();
            this.label3 = new System.Windows.Forms.Label();
            this.buttonLoad = new System.Windows.Forms.Button();
            this.comboBoxProcessingPoint = new System.Windows.Forms.ComboBox();
            this.label2 = new System.Windows.Forms.Label();
            this.label1 = new System.Windows.Forms.Label();
            this.reportViewerEntryPointWeight = new Microsoft.Reporting.WinForms.ReportViewer();
            ((System.ComponentModel.ISupportInitialize)(this.WeightingViewBindingSource)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
            this.splitContainer1.Panel1.SuspendLayout();
            this.splitContainer1.Panel2.SuspendLayout();
            this.splitContainer1.SuspendLayout();
            this.SuspendLayout();
            // 
            // WeightingViewBindingSource
            // 
            this.WeightingViewBindingSource.DataSource = typeof(Raptor.Delmah.Models.WeightingView);
            // 
            // splitContainer1
            // 
            this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.splitContainer1.Location = new System.Drawing.Point(0, 0);
            this.splitContainer1.Name = "splitContainer1";
            this.splitContainer1.Orientation = System.Windows.Forms.Orientation.Horizontal;
            // 
            // splitContainer1.Panel1
            // 
            this.splitContainer1.Panel1.Controls.Add(this.buttonNext);
            this.splitContainer1.Panel1.Controls.Add(this.labelBatch);
            this.splitContainer1.Panel1.Controls.Add(this.buttonPrevious);
            this.splitContainer1.Panel1.Controls.Add(this.dateTimePickerProcessedDate);
            this.splitContainer1.Panel1.Controls.Add(this.label3);
            this.splitContainer1.Panel1.Controls.Add(this.buttonLoad);
            this.splitContainer1.Panel1.Controls.Add(this.comboBoxProcessingPoint);
            this.splitContainer1.Panel1.Controls.Add(this.label2);
            this.splitContainer1.Panel1.Controls.Add(this.label1);
            // 
            // splitContainer1.Panel2
            // 
            this.splitContainer1.Panel2.Controls.Add(this.reportViewerEntryPointWeight);
            this.splitContainer1.Size = new System.Drawing.Size(927, 616);
            this.splitContainer1.SplitterDistance = 73;
            this.splitContainer1.TabIndex = 0;
            // 
            // buttonNext
            // 
            this.buttonNext.Enabled = false;
            this.buttonNext.Location = new System.Drawing.Point(207, 44);
            this.buttonNext.Name = "buttonNext";
            this.buttonNext.Size = new System.Drawing.Size(28, 23);
            this.buttonNext.TabIndex = 18;
            this.buttonNext.Text = ">";
            this.buttonNext.UseVisualStyleBackColor = true;
            this.buttonNext.Click += new System.EventHandler(this.buttonNext_Click);
            // 
            // labelBatch
            // 
            this.labelBatch.AutoSize = true;
            this.labelBatch.Location = new System.Drawing.Point(132, 49);
            this.labelBatch.Name = "labelBatch";
            this.labelBatch.Size = new System.Drawing.Size(31, 13);
            this.labelBatch.TabIndex = 17;
            this.labelBatch.Text = "4000";
            // 
            // buttonPrevious
            // 
            this.buttonPrevious.Enabled = false;
            this.buttonPrevious.Location = new System.Drawing.Point(98, 44);
            this.buttonPrevious.Name = "buttonPrevious";
            this.buttonPrevious.Size = new System.Drawing.Size(28, 23);
            this.buttonPrevious.TabIndex = 16;
            this.buttonPrevious.Text = "<";
            this.buttonPrevious.UseVisualStyleBackColor = true;
            this.buttonPrevious.Click += new System.EventHandler(this.buttonPrevious_Click);
            // 
            // dateTimePickerProcessedDate
            // 
            this.dateTimePickerProcessedDate.Format = System.Windows.Forms.DateTimePickerFormat.Short;
            this.dateTimePickerProcessedDate.Location = new System.Drawing.Point(276, 16);
            this.dateTimePickerProcessedDate.Name = "dateTimePickerProcessedDate";
            this.dateTimePickerProcessedDate.Size = new System.Drawing.Size(192, 20);
            this.dateTimePickerProcessedDate.TabIndex = 15;
            this.dateTimePickerProcessedDate.Value = new System.DateTime(2010, 10, 6, 0, 0, 0, 0);
            // 
            // label3
            // 
            this.label3.Location = new System.Drawing.Point(241, 19);
            this.label3.Name = "label3";
            this.label3.Size = new System.Drawing.Size(34, 13);
            this.label3.TabIndex = 14;
            this.label3.Text = "Date";
            // 
            // buttonLoad
            // 
            this.buttonLoad.Location = new System.Drawing.Point(474, 15);
            this.buttonLoad.Name = "buttonLoad";
            this.buttonLoad.Size = new System.Drawing.Size(75, 23);
            this.buttonLoad.TabIndex = 11;
            this.buttonLoad.Text = "Load";
            this.buttonLoad.UseVisualStyleBackColor = true;
            this.buttonLoad.Click += new System.EventHandler(this.buttonLoad_Click);
            // 
            // comboBoxProcessingPoint
            // 
            this.comboBoxProcessingPoint.DisplayMember = "ProcessingPointId";
            this.comboBoxProcessingPoint.FormattingEnabled = true;
            this.comboBoxProcessingPoint.Location = new System.Drawing.Point(98, 16);
            this.comboBoxProcessingPoint.Name = "comboBoxProcessingPoint";
            this.comboBoxProcessingPoint.Size = new System.Drawing.Size(137, 21);
            this.comboBoxProcessingPoint.TabIndex = 10;
            // 
            // label2
            // 
            this.label2.AutoSize = true;
            this.label2.Location = new System.Drawing.Point(57, 49);
            this.label2.Name = "label2";
            this.label2.Size = new System.Drawing.Size(35, 13);
            this.label2.TabIndex = 9;
            this.label2.Text = "Batch";
            // 
            // label1
            // 
            this.label1.AutoSize = true;
            this.label1.Location = new System.Drawing.Point(16, 21);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(76, 13);
            this.label1.TabIndex = 8;
            this.label1.Text = "Tracking Point";
            // 
            // reportViewerEntryPointWeight
            // 
            this.reportViewerEntryPointWeight.Dock = System.Windows.Forms.DockStyle.Fill;
            reportDataSource1.Name = "WeightingViewList";
            reportDataSource1.Value = this.WeightingViewBindingSource;
            this.reportViewerEntryPointWeight.LocalReport.DataSources.Add(reportDataSource1);
            this.reportViewerEntryPointWeight.LocalReport.ReportEmbeddedResource = "Raptor.Delmah.Reports.EntryBillReport.rdlc";
            this.reportViewerEntryPointWeight.Location = new System.Drawing.Point(0, 0);
            this.reportViewerEntryPointWeight.Name = "reportViewerEntryPointWeight";
            this.reportViewerEntryPointWeight.Size = new System.Drawing.Size(927, 539);
            this.reportViewerEntryPointWeight.TabIndex = 1;
            // 
            // DelmahReports
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.Controls.Add(this.splitContainer1);
            this.Name = "DelmahReports";
            this.Size = new System.Drawing.Size(927, 616);
            this.Load += new System.EventHandler(this.DelmahReports_Load);
            ((System.ComponentModel.ISupportInitialize)(this.WeightingViewBindingSource)).EndInit();
            this.splitContainer1.Panel1.ResumeLayout(false);
            this.splitContainer1.Panel1.PerformLayout();
            this.splitContainer1.Panel2.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
            this.splitContainer1.ResumeLayout(false);
            this.ResumeLayout(false);

        }

        #endregion

        private System.Windows.Forms.SplitContainer splitContainer1;
        private System.Windows.Forms.Button buttonLoad;
        private System.Windows.Forms.ComboBox comboBoxProcessingPoint;
        private System.Windows.Forms.Label label2;
        private System.Windows.Forms.Label label1;
        private Microsoft.Reporting.WinForms.ReportViewer reportViewerEntryPointWeight;
        private System.Windows.Forms.BindingSource WeightingViewBindingSource;
        private System.Windows.Forms.Label label3;
        private System.Windows.Forms.DateTimePicker dateTimePickerProcessedDate;
        private System.Windows.Forms.Button buttonNext;
        private System.Windows.Forms.Label labelBatch;
        private System.Windows.Forms.Button buttonPrevious;        
    }
}

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
Architect Virtusa Pvt. Ltd.
Sri Lanka Sri Lanka
In-depth coverage of Microsoft .Net, Cloud and many other cutting-edge Technologies.

- The Mandelbrot set – someone has called it the thumb-print of God – is one of the most beautiful and remarkable discoveries in the entire history of mathematics. My profile picture is generated with that equation.

You may contact Nirosh for Consultations, Code Reviews and Architecture Guide Workshops via c_nir*o*sh@hotmail.com (Remove * to use)



View Nirosh L.W.C.'s profile on LinkedIn


Other Links

Comments and Discussions