Click here to Skip to main content
15,891,657 members
Articles / Programming Languages / C# 4.0

Easy Desktop Web Stats

Rate me:
Please Sign up or sign in to vote.
5.00/5 (1 vote)
23 Oct 2012CPOL4 min read 11.7K   120   5  
Create a Windows desktop app to display daily web stats from your personal site
namespace Desktop_Web_Stats
{
    partial class Main
    {
        /// <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()
        {
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Main));
            this.statsGrid = new System.Windows.Forms.DataGridView();
            this.home_Column = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.qa_Column = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.purchase_Column = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.lastHit_Column = new System.Windows.Forms.DataGridViewTextBoxColumn();
            ((System.ComponentModel.ISupportInitialize)(this.statsGrid)).BeginInit();
            this.SuspendLayout();
            // 
            // statsGrid
            // 
            this.statsGrid.AllowUserToDeleteRows = false;
            this.statsGrid.AllowUserToResizeColumns = false;
            this.statsGrid.AllowUserToResizeRows = false;
            this.statsGrid.BorderStyle = System.Windows.Forms.BorderStyle.None;
            this.statsGrid.CausesValidation = false;
            this.statsGrid.CellBorderStyle = System.Windows.Forms.DataGridViewCellBorderStyle.SingleVertical;
            this.statsGrid.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
            dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
            dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control;
            dataGridViewCellStyle1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText;
            dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
            dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
            dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
            this.statsGrid.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
            this.statsGrid.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
            this.statsGrid.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
            this.home_Column,
            this.qa_Column,
            this.purchase_Column,
            this.lastHit_Column});
            dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
            dataGridViewCellStyle6.BackColor = System.Drawing.SystemColors.Window;
            dataGridViewCellStyle6.Font = new System.Drawing.Font("Segoe UI Semibold", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            dataGridViewCellStyle6.ForeColor = System.Drawing.SystemColors.ControlText;
            dataGridViewCellStyle6.SelectionBackColor = System.Drawing.SystemColors.Highlight;
            dataGridViewCellStyle6.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
            dataGridViewCellStyle6.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
            this.statsGrid.DefaultCellStyle = dataGridViewCellStyle6;
            this.statsGrid.Dock = System.Windows.Forms.DockStyle.Fill;
            this.statsGrid.Location = new System.Drawing.Point(0, 0);
            this.statsGrid.Name = "statsGrid";
            this.statsGrid.ReadOnly = true;
            this.statsGrid.RowHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
            this.statsGrid.RowHeadersVisible = false;
            this.statsGrid.ScrollBars = System.Windows.Forms.ScrollBars.None;
            this.statsGrid.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.CellSelect;
            this.statsGrid.ShowEditingIcon = false;
            this.statsGrid.Size = new System.Drawing.Size(240, 42);
            this.statsGrid.TabIndex = 0;
            // 
            // home_Column
            // 
            this.home_Column.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
            dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
            this.home_Column.DefaultCellStyle = dataGridViewCellStyle2;
            this.home_Column.HeaderText = "Home";
            this.home_Column.Name = "home_Column";
            this.home_Column.ReadOnly = true;
            this.home_Column.Resizable = System.Windows.Forms.DataGridViewTriState.False;
            this.home_Column.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
            this.home_Column.Width = 60;
            // 
            // qa_Column
            // 
            dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
            this.qa_Column.DefaultCellStyle = dataGridViewCellStyle3;
            this.qa_Column.HeaderText = "Q&A";
            this.qa_Column.Name = "qa_Column";
            this.qa_Column.ReadOnly = true;
            this.qa_Column.Resizable = System.Windows.Forms.DataGridViewTriState.False;
            this.qa_Column.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
            this.qa_Column.Width = 60;
            // 
            // purchase_Column
            // 
            dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
            this.purchase_Column.DefaultCellStyle = dataGridViewCellStyle4;
            this.purchase_Column.HeaderText = "Purchase";
            this.purchase_Column.Name = "purchase_Column";
            this.purchase_Column.ReadOnly = true;
            this.purchase_Column.Resizable = System.Windows.Forms.DataGridViewTriState.False;
            this.purchase_Column.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
            this.purchase_Column.Width = 60;
            // 
            // lastHit_Column
            // 
            dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
            this.lastHit_Column.DefaultCellStyle = dataGridViewCellStyle5;
            this.lastHit_Column.HeaderText = "Latest";
            this.lastHit_Column.Name = "lastHit_Column";
            this.lastHit_Column.ReadOnly = true;
            this.lastHit_Column.Resizable = System.Windows.Forms.DataGridViewTriState.False;
            this.lastHit_Column.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
            this.lastHit_Column.Width = 60;
            // 
            // Main
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(240, 42);
            this.ControlBox = false;
            this.Controls.Add(this.statsGrid);
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D;
            this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.MaximumSize = new System.Drawing.Size(250, 74);
            this.MinimumSize = new System.Drawing.Size(250, 74);
            this.Name = "Main";
            this.ShowIcon = false;
            this.ShowInTaskbar = false;
            this.Text = " Mega Lotto Widget Daily Web Stats";
            this.Load += new System.EventHandler(this.Main_Load);
            this.Move += new System.EventHandler(this.Main_Move);
            ((System.ComponentModel.ISupportInitialize)(this.statsGrid)).EndInit();
            this.ResumeLayout(false);

        }

        #endregion

        public System.Windows.Forms.DataGridView statsGrid;
        private System.Windows.Forms.DataGridViewTextBoxColumn home_Column;
        private System.Windows.Forms.DataGridViewTextBoxColumn qa_Column;
        private System.Windows.Forms.DataGridViewTextBoxColumn purchase_Column;
        private System.Windows.Forms.DataGridViewTextBoxColumn lastHit_Column;
    }
}

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
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions