Click here to Skip to main content
15,891,905 members
Articles / Mobile Apps / Windows Mobile

My Experience with the Windows Marketplace for Mobile and Windows Mobile 6

Rate me:
Please Sign up or sign in to vote.
4.89/5 (12 votes)
22 Mar 2010CPOL27 min read 27.8K   193   14  
My experience with the Windows Marketplace for Mobile for 6.x devices and the certification process.
namespace SpeedTracker
{
    partial class Form1
    {
        /// <summary>
        /// Required designer variable.
        /// </summary>
        private System.ComponentModel.IContainer components = null;
        private System.Windows.Forms.MainMenu mainMenu1;

        /// <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.mainMenu1 = new System.Windows.Forms.MainMenu();
            this.menuItem2 = new System.Windows.Forms.MenuItem();
            this.miExit = new System.Windows.Forms.MenuItem();
            this.miAbout = new System.Windows.Forms.MenuItem();
            this.menuItem1 = new System.Windows.Forms.MenuItem();
            this.miMiles = new System.Windows.Forms.MenuItem();
            this.miKilometers = new System.Windows.Forms.MenuItem();
            this.menuItem3 = new System.Windows.Forms.MenuItem();
            this.miNightColors = new System.Windows.Forms.MenuItem();
            this.miDayColors = new System.Windows.Forms.MenuItem();
            this.menuItem5 = new System.Windows.Forms.MenuItem();
            this.miKeepAwake = new System.Windows.Forms.MenuItem();
            this.miShowLocation = new System.Windows.Forms.MenuItem();
            this.menuItem4 = new System.Windows.Forms.MenuItem();
            this.miResetOdometer = new System.Windows.Forms.MenuItem();
            this.KeepAwakeTimer = new System.Windows.Forms.Timer();
            this.txtNoFix = new System.Windows.Forms.Label();
            this.OdometerReadout = new SpeedTracker.TextOdometer();
            this.speedGauge = new SpeedTracker.SpeedGauge();
            this.LocationTimeout = new System.Windows.Forms.Timer();
            this.SuspendLayout();
            // 
            // mainMenu1
            // 
            this.mainMenu1.MenuItems.Add(this.menuItem2);
            this.mainMenu1.MenuItems.Add(this.menuItem1);
            // 
            // menuItem2
            // 
            this.menuItem2.MenuItems.Add(this.miAbout);
            this.menuItem2.MenuItems.Add(this.miExit);
            this.menuItem2.Text = "&File";
            // 
            // miExit
            // 
            this.miExit.Text = "E&xit";
            this.miExit.Click += new System.EventHandler(this.miExit_Click);
            // 
            // miAbout
            // 
            this.miAbout.Text = "&About";
            this.miAbout.Click += new System.EventHandler(this.miAbout_Click);
            // 
            // menuItem1
            // 
            this.menuItem1.MenuItems.Add(this.miMiles);
            this.menuItem1.MenuItems.Add(this.miKilometers);
            this.menuItem1.MenuItems.Add(this.menuItem3);
            this.menuItem1.MenuItems.Add(this.miNightColors);
            this.menuItem1.MenuItems.Add(this.miDayColors);
            this.menuItem1.MenuItems.Add(this.menuItem5);
            this.menuItem1.MenuItems.Add(this.miKeepAwake);
            this.menuItem1.MenuItems.Add(this.miShowLocation);
            this.menuItem1.MenuItems.Add(this.menuItem4);
            this.menuItem1.MenuItems.Add(this.miResetOdometer);
            this.menuItem1.Text = "&Options";
            // 
            // miMiles
            // 
            this.miMiles.Text = "&Miles";
            this.miMiles.Click += new System.EventHandler(this.miMiles_Click);
            // 
            // miKilometers
            // 
            this.miKilometers.Checked = true;
            this.miKilometers.Text = "&Kilometers";
            this.miKilometers.Click += new System.EventHandler(this.miKilometers_Click);
            // 
            // menuItem3
            // 
            this.menuItem3.Text = "-";
            // 
            // miNightColors
            // 
            this.miNightColors.Text = "Night Colours";
            this.miNightColors.Click += new System.EventHandler(this.miNightColors_Click);
            // 
            // miDayColors
            // 
            this.miDayColors.Text = "Day Colours";
            this.miDayColors.Click += new System.EventHandler(this.miDayColors_Click);
            // 
            // menuItem5
            // 
            this.menuItem5.Text = "-";
            // 
            // miKeepAwake
            // 
            this.miKeepAwake.Text = "Keep Awake";
            this.miKeepAwake.Click += new System.EventHandler(this.miKeepAwake_Click);
            // 
            // miShowLocation
            // 
            this.miShowLocation.Text = "Show Location";
            this.miShowLocation.Click += new System.EventHandler(this.miShowLocation_Click);
            // 
            // menuItem4
            // 
            this.menuItem4.Text = "-";
            // 
            // miResetOdometer
            // 
            this.miResetOdometer.Text = "&Reset Odometer";
            this.miResetOdometer.Click += new System.EventHandler(this.miResetOdometer_Click);
            // 
            // KeepAwakeTimer
            // 
            this.KeepAwakeTimer.Interval = 1000;
            this.KeepAwakeTimer.Tick += new System.EventHandler(this.KeepAwakeTimer_Tick);
            // 
            // txtNoFix
            // 
            this.txtNoFix.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                        | System.Windows.Forms.AnchorStyles.Right)));
            this.txtNoFix.Location = new System.Drawing.Point(0, 240);
            this.txtNoFix.Name = "txtNoFix";
            this.txtNoFix.Size = new System.Drawing.Size(240, 28);
            this.txtNoFix.Text = "Waiting on GPS Fix...";
            this.txtNoFix.TextAlign = System.Drawing.ContentAlignment.TopCenter;
            // 
            // OdometerReadout
            // 
            this.OdometerReadout.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                        | System.Windows.Forms.AnchorStyles.Right)));
            this.OdometerReadout.Font = new System.Drawing.Font("Tahoma", 20F, System.Drawing.FontStyle.Regular);
            this.OdometerReadout.Location = new System.Drawing.Point(0, 209);
            this.OdometerReadout.Name = "OdometerReadout";
            this.OdometerReadout.Size = new System.Drawing.Size(240, 36);
            this.OdometerReadout.Text = "OdometerReadout";
            this.OdometerReadout.TextAlign = System.Drawing.ContentAlignment.TopCenter;
            // 
            // speedGauge
            // 
            this.speedGauge.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.speedGauge.BackColor = System.Drawing.Color.Black;
            this.speedGauge.GaugeMetricsChanged = false;
            this.speedGauge.HighSpeedMarkerColor = System.Drawing.Color.Red;
            this.speedGauge.Location = new System.Drawing.Point(0, 0);
            this.speedGauge.MajorMarkerColor = System.Drawing.Color.Blue;
            this.speedGauge.MajorMarkInterval = 5;
            this.speedGauge.MaximumReading = 140;
            this.speedGauge.MinorMarkerColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(128)))), ((int)(((byte)(255)))));
            this.speedGauge.Name = "speedGauge";
            this.speedGauge.NeedleColor = System.Drawing.Color.Empty;
            this.speedGauge.NormalTextColor = System.Drawing.Color.Empty;
            this.speedGauge.Size = new System.Drawing.Size(240, 209);
            this.speedGauge.TabIndex = 0;
            this.speedGauge.Value = 0;
            // 
            // LocationTimeout
            // 
            this.LocationTimeout.Interval = 4000;
            this.LocationTimeout.Tick += new System.EventHandler(this.LocationTimeout_Tick);
            // 
            // Form1
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
            this.AutoScroll = true;
            this.ClientSize = new System.Drawing.Size(240, 268);
            this.Controls.Add(this.txtNoFix);
            this.Controls.Add(this.OdometerReadout);
            this.Controls.Add(this.speedGauge);
            this.Menu = this.mainMenu1;
            this.Name = "Form1";
            this.Text = "SpeedTracker";
            this.Load += new System.EventHandler(this.Form1_Load);
            this.Closed += new System.EventHandler(this.Form1_Closed);
            this.Closing += new System.ComponentModel.CancelEventHandler(this.Form1_Closing);
            this.ResumeLayout(false);

        }

        #endregion

        private SpeedGauge speedGauge;
        private System.Windows.Forms.Timer KeepAwakeTimer;
        private System.Windows.Forms.MenuItem miExit;
        private System.Windows.Forms.MenuItem menuItem1;
        private System.Windows.Forms.MenuItem miMiles;
        private System.Windows.Forms.MenuItem miKilometers;
        private System.Windows.Forms.MenuItem menuItem2;
        private System.Windows.Forms.MenuItem miKeepAwake;
        private System.Windows.Forms.MenuItem menuItem3;
        private System.Windows.Forms.MenuItem miNightColors;
        private System.Windows.Forms.MenuItem menuItem5;
        private System.Windows.Forms.MenuItem miDayColors;
        private System.Windows.Forms.MenuItem menuItem4;
        private System.Windows.Forms.MenuItem miAbout;
        private System.Windows.Forms.MenuItem miShowLocation;
        private TextOdometer OdometerReadout;
        private System.Windows.Forms.MenuItem miResetOdometer;
        private System.Windows.Forms.Label txtNoFix;
        private System.Windows.Forms.Timer LocationTimeout;
    }
}

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
I attended Southern Polytechnic State University and earned a Bachelors of Science in Computer Science and later returned to earn a Masters of Science in Software Engineering. I've largely developed solutions that are based on a mix of Microsoft technologies with open source technologies mixed in. I've got an interest in astronomy and you'll see that interest overflow into some of my code project articles from time to time.



Twitter:@j2inet

Instagram: j2inet


Comments and Discussions