Ejemplo n.º 1
0
 /// <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();
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(SplashScreen));
     this.lblStatus        = new Allberg.Shooter.Windows.Forms.SafeLabel();
     this.pnlStatus        = new System.Windows.Forms.Panel();
     this.lblTimeRemaining = new Allberg.Shooter.Windows.Forms.SafeLabel();
     this.timer1           = new System.Windows.Forms.Timer(this.components);
     this.SuspendLayout();
     //
     // lblStatus
     //
     this.lblStatus.BackColor = System.Drawing.Color.Transparent;
     this.lblStatus.Location  = new System.Drawing.Point(152, 116);
     this.lblStatus.Name      = "lblStatus";
     this.lblStatus.Size      = new System.Drawing.Size(237, 14);
     this.lblStatus.TabIndex  = 0;
     //
     // pnlStatus
     //
     this.pnlStatus.BackColor = System.Drawing.Color.Transparent;
     this.pnlStatus.Location  = new System.Drawing.Point(152, 138);
     this.pnlStatus.Name      = "pnlStatus";
     this.pnlStatus.Size      = new System.Drawing.Size(237, 24);
     this.pnlStatus.TabIndex  = 1;
     this.pnlStatus.Paint    += new System.Windows.Forms.PaintEventHandler(this.pnlStatus_Paint);
     //
     // lblTimeRemaining
     //
     this.lblTimeRemaining.BackColor = System.Drawing.Color.Transparent;
     this.lblTimeRemaining.Location  = new System.Drawing.Point(152, 169);
     this.lblTimeRemaining.Name      = "lblTimeRemaining";
     this.lblTimeRemaining.Size      = new System.Drawing.Size(237, 16);
     this.lblTimeRemaining.TabIndex  = 2;
     this.lblTimeRemaining.Text      = "Time remaining";
     this.lblTimeRemaining.Visible   = false;
     //
     // timer1
     //
     this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
     //
     // SplashScreen
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.BackColor         = System.Drawing.Color.LightGray;
     this.BackgroundImage   = ((System.Drawing.Image)(resources.GetObject("$this.BackgroundImage")));
     this.ClientSize        = new System.Drawing.Size(329, 221);
     this.Controls.Add(this.lblTimeRemaining);
     this.Controls.Add(this.pnlStatus);
     this.Controls.Add(this.lblStatus);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
     this.Name            = "SplashScreen";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "SplashScreen";
     this.DoubleClick    += new System.EventHandler(this.SplashScreen_DoubleClick);
     this.ResumeLayout(false);
 }
Ejemplo n.º 2
0
		/// <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();
			System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(FStations));
			this.btnSave = new System.Windows.Forms.Button();
			this.SafeLabel1 = new Allberg.Shooter.Windows.Forms.SafeLabel();
			this.numDdStationsTot = new System.Windows.Forms.NumericUpDown();
			this.SafeLabel2 = new Allberg.Shooter.Windows.Forms.SafeLabel();
			this.progressBarKonfig = new System.Windows.Forms.ProgressBar();
			this.SafeLabel3 = new Allberg.Shooter.Windows.Forms.SafeLabel();
			this.vScrollBar1 = new System.Windows.Forms.VScrollBar();
			this.lblStationNr = new Allberg.Shooter.Windows.Forms.SafeLabel();
			this.groupBox1 = new System.Windows.Forms.GroupBox();
			this.chkPoints = new System.Windows.Forms.CheckBox();
			this.numNumberOfShoots = new System.Windows.Forms.NumericUpDown();
			this.SafeLabel5 = new Allberg.Shooter.Windows.Forms.SafeLabel();
			this.numNumberOfFigures = new System.Windows.Forms.NumericUpDown();
			this.SafeLabel4 = new Allberg.Shooter.Windows.Forms.SafeLabel();
			this.groupBoxSample = new System.Windows.Forms.GroupBox();
			this.txtPoints = new Allberg.Shooter.Windows.Forms.SafeTextBox();
			this.lblPoints = new Allberg.Shooter.Windows.Forms.SafeLabel();
			this.btnCancel = new System.Windows.Forms.Button();
			this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
			((System.ComponentModel.ISupportInitialize)(this.numDdStationsTot)).BeginInit();
			this.groupBox1.SuspendLayout();
			((System.ComponentModel.ISupportInitialize)(this.numNumberOfShoots)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.numNumberOfFigures)).BeginInit();
			this.groupBoxSample.SuspendLayout();
			this.SuspendLayout();
			// 
			// btnSave
			// 
			this.btnSave.Location = new System.Drawing.Point(168, 192);
			this.btnSave.Name = "btnSave";
			this.btnSave.TabIndex = 11;
			this.btnSave.Text = "Spara";
			this.toolTip1.SetToolTip(this.btnSave, "Spara stationskonfiguration och stäng fönstret.");
			this.btnSave.Click += new System.EventHandler(this.btnSave_Click);
			// 
			// SafeLabel1
			// 
			this.SafeLabel1.Location = new System.Drawing.Point(8, 8);
			this.SafeLabel1.Name = "SafeLabel1";
			this.SafeLabel1.TabIndex = 2;
			this.SafeLabel1.Text = "Antal stationer";
			// 
			// numDdStationsTot
			// 
			this.numDdStationsTot.Location = new System.Drawing.Point(120, 8);
			this.numDdStationsTot.Maximum = new System.Decimal(new int[] {
																			 15,
																			 0,
																			 0,
																			 0});
			this.numDdStationsTot.Minimum = new System.Decimal(new int[] {
																			 1,
																			 0,
																			 0,
																			 0});
			this.numDdStationsTot.Name = "numDdStationsTot";
			this.numDdStationsTot.Size = new System.Drawing.Size(72, 20);
			this.numDdStationsTot.TabIndex = 3;
			this.numDdStationsTot.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
			this.toolTip1.SetToolTip(this.numDdStationsTot, "Välj hur många stationer som ska finnas");
			this.numDdStationsTot.Value = new System.Decimal(new int[] {
																		   1,
																		   0,
																		   0,
																		   0});
			this.numDdStationsTot.KeyUp += new System.Windows.Forms.KeyEventHandler(this.numDdStationsTot_KeyUp);
			this.numDdStationsTot.ValueChanged += new System.EventHandler(this.numDdStationsTot_ValueChanged);
			// 
			// SafeLabel2
			// 
			this.SafeLabel2.Location = new System.Drawing.Point(8, 32);
			this.SafeLabel2.Name = "SafeLabel2";
			this.SafeLabel2.Size = new System.Drawing.Size(112, 23);
			this.SafeLabel2.TabIndex = 4;
			this.SafeLabel2.Text = "Konfigurationsstatus";
			// 
			// progressBarKonfig
			// 
			this.progressBarKonfig.Location = new System.Drawing.Point(120, 32);
			this.progressBarKonfig.Maximum = 1;
			this.progressBarKonfig.Name = "progressBarKonfig";
			this.progressBarKonfig.Size = new System.Drawing.Size(72, 23);
			this.progressBarKonfig.TabIndex = 5;
			this.toolTip1.SetToolTip(this.progressBarKonfig, "Denna visar konfigurationsstatus. Samtliga stationer måste konfigureras.");
			// 
			// SafeLabel3
			// 
			this.SafeLabel3.Location = new System.Drawing.Point(8, 16);
			this.SafeLabel3.Name = "SafeLabel3";
			this.SafeLabel3.TabIndex = 6;
			this.SafeLabel3.Text = "Stationsnummer";
			// 
			// vScrollBar1
			// 
			this.vScrollBar1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
				| System.Windows.Forms.AnchorStyles.Right)));
			this.vScrollBar1.LargeChange = 1;
			this.vScrollBar1.Location = new System.Drawing.Point(160, 16);
			this.vScrollBar1.Maximum = 1;
			this.vScrollBar1.Minimum = 1;
			this.vScrollBar1.Name = "vScrollBar1";
			this.vScrollBar1.Size = new System.Drawing.Size(16, 96);
			this.vScrollBar1.TabIndex = 7;
			this.toolTip1.SetToolTip(this.vScrollBar1, "Använd denna för att gå från station till station");
			this.vScrollBar1.Value = 1;
			this.vScrollBar1.Scroll += new System.Windows.Forms.ScrollEventHandler(this.vScrollBar1_Scroll);
			// 
			// lblStationNr
			// 
			this.lblStationNr.Location = new System.Drawing.Point(112, 16);
			this.lblStationNr.Name = "lblStationNr";
			this.lblStationNr.Size = new System.Drawing.Size(40, 23);
			this.lblStationNr.TabIndex = 8;
			this.lblStationNr.Text = "1";
			this.lblStationNr.TextAlign = System.Drawing.ContentAlignment.TopRight;
			this.toolTip1.SetToolTip(this.lblStationNr, "Här visas vilket stationsnr som just nu håller på att konfigureras.");
			// 
			// groupBox1
			// 
			this.groupBox1.Controls.Add(this.chkPoints);
			this.groupBox1.Controls.Add(this.numNumberOfShoots);
			this.groupBox1.Controls.Add(this.SafeLabel5);
			this.groupBox1.Controls.Add(this.numNumberOfFigures);
			this.groupBox1.Controls.Add(this.SafeLabel4);
			this.groupBox1.Controls.Add(this.SafeLabel3);
			this.groupBox1.Controls.Add(this.lblStationNr);
			this.groupBox1.Controls.Add(this.vScrollBar1);
			this.groupBox1.Location = new System.Drawing.Point(8, 64);
			this.groupBox1.Name = "groupBox1";
			this.groupBox1.Size = new System.Drawing.Size(184, 116);
			this.groupBox1.TabIndex = 9;
			this.groupBox1.TabStop = false;
			this.groupBox1.Text = "Aktuell station";
			this.toolTip1.SetToolTip(this.groupBox1, "Data om aktuell station");
			// 
			// chkPoints
			// 
			this.chkPoints.Location = new System.Drawing.Point(8, 88);
			this.chkPoints.Name = "chkPoints";
			this.chkPoints.Size = new System.Drawing.Size(144, 24);
			this.chkPoints.TabIndex = 13;
			this.chkPoints.Text = "Poängtavla/or";
			this.toolTip1.SetToolTip(this.chkPoints, "Fyll i om det finns poängmål på denna station");
			this.chkPoints.CheckedChanged += new System.EventHandler(this.chkPoints_CheckedChanged);
			// 
			// numNumberOfShoots
			// 
			this.numNumberOfShoots.Location = new System.Drawing.Point(112, 64);
			this.numNumberOfShoots.Maximum = new System.Decimal(new int[] {
																			  6,
																			  0,
																			  0,
																			  0});
			this.numNumberOfShoots.Minimum = new System.Decimal(new int[] {
																			  1,
																			  0,
																			  0,
																			  0});
			this.numNumberOfShoots.Name = "numNumberOfShoots";
			this.numNumberOfShoots.Size = new System.Drawing.Size(40, 20);
			this.numNumberOfShoots.TabIndex = 12;
			this.toolTip1.SetToolTip(this.numNumberOfShoots, "Fyll i hur många skott skyttarna får använda på denna station");
			this.numNumberOfShoots.Value = new System.Decimal(new int[] {
																			6,
																			0,
																			0,
																			0});
			this.numNumberOfShoots.KeyUp += new System.Windows.Forms.KeyEventHandler(this.numNumberOfShoots_KeyUp);
			this.numNumberOfShoots.ValueChanged += new System.EventHandler(this.numNumberOfShoots_ValueChanged);
			// 
			// SafeLabel5
			// 
			this.SafeLabel5.Location = new System.Drawing.Point(8, 64);
			this.SafeLabel5.Name = "SafeLabel5";
			this.SafeLabel5.TabIndex = 11;
			this.SafeLabel5.Text = "Antal skott";
			// 
			// numNumberOfFigures
			// 
			this.numNumberOfFigures.Location = new System.Drawing.Point(112, 40);
			this.numNumberOfFigures.Maximum = new System.Decimal(new int[] {
																			   6,
																			   0,
																			   0,
																			   0});
			this.numNumberOfFigures.Minimum = new System.Decimal(new int[] {
																			   1,
																			   0,
																			   0,
																			   0});
			this.numNumberOfFigures.Name = "numNumberOfFigures";
			this.numNumberOfFigures.Size = new System.Drawing.Size(40, 20);
			this.numNumberOfFigures.TabIndex = 10;
			this.toolTip1.SetToolTip(this.numNumberOfFigures, "Fyll i hur många figurer som ska visas på denna station");
			this.numNumberOfFigures.Value = new System.Decimal(new int[] {
																			 1,
																			 0,
																			 0,
																			 0});
			this.numNumberOfFigures.KeyUp += new System.Windows.Forms.KeyEventHandler(this.numNumberOfFigures_KeyUp);
			this.numNumberOfFigures.ValueChanged += new System.EventHandler(this.numNumberOfFigures_ValueChanged);
			// 
			// SafeLabel4
			// 
			this.SafeLabel4.Location = new System.Drawing.Point(8, 40);
			this.SafeLabel4.Name = "SafeLabel4";
			this.SafeLabel4.TabIndex = 9;
			this.SafeLabel4.Text = "Antal figurer";
			// 
			// groupBoxSample
			// 
			this.groupBoxSample.Controls.Add(this.txtPoints);
			this.groupBoxSample.Controls.Add(this.lblPoints);
			this.groupBoxSample.Location = new System.Drawing.Point(200, 12);
			this.groupBoxSample.Name = "groupBoxSample";
			this.groupBoxSample.Size = new System.Drawing.Size(120, 168);
			this.groupBoxSample.TabIndex = 10;
			this.groupBoxSample.TabStop = false;
			this.groupBoxSample.Text = "Stationsexempel";
			this.toolTip1.SetToolTip(this.groupBoxSample, "Här visas ett exempel på hur det kommer att se ut vid ifyllnad av resultaten");
			// 
			// txtPoints
			// 
			this.txtPoints.Enabled = false;
			this.txtPoints.Location = new System.Drawing.Point(56, 136);
			this.txtPoints.Name = "txtPoints";
			this.txtPoints.Size = new System.Drawing.Size(56, 20);
			this.txtPoints.TabIndex = 1;
			this.txtPoints.Text = "";
			this.txtPoints.Visible = false;
			// 
			// lblPoints
			// 
			this.lblPoints.Location = new System.Drawing.Point(8, 136);
			this.lblPoints.Name = "lblPoints";
			this.lblPoints.Size = new System.Drawing.Size(40, 23);
			this.lblPoints.TabIndex = 0;
			this.lblPoints.Text = "Poäng";
			// 
			// btnCancel
			// 
			this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
			this.btnCancel.Location = new System.Drawing.Point(248, 192);
			this.btnCancel.Name = "btnCancel";
			this.btnCancel.TabIndex = 12;
			this.btnCancel.Text = "Stäng";
			this.toolTip1.SetToolTip(this.btnCancel, "Stäng fönstret");
			this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
			// 
			// FStations
			// 
			this.AcceptButton = this.btnSave;
			this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
			this.CancelButton = this.btnCancel;
			this.ClientSize = new System.Drawing.Size(328, 221);
			this.Controls.Add(this.btnCancel);
			this.Controls.Add(this.groupBoxSample);
			this.Controls.Add(this.groupBox1);
			this.Controls.Add(this.progressBarKonfig);
			this.Controls.Add(this.SafeLabel2);
			this.Controls.Add(this.numDdStationsTot);
			this.Controls.Add(this.SafeLabel1);
			this.Controls.Add(this.btnSave);
			this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
			this.KeyPreview = true;
			this.Name = "FStations";
			this.Text = "Stationer";
			((System.ComponentModel.ISupportInitialize)(this.numDdStationsTot)).EndInit();
			this.groupBox1.ResumeLayout(false);
			((System.ComponentModel.ISupportInitialize)(this.numNumberOfShoots)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.numNumberOfFigures)).EndInit();
			this.groupBoxSample.ResumeLayout(false);
			this.ResumeLayout(false);

		}
Ejemplo n.º 3
0
		/// <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();
			System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(FCompetition));
			this.lblName = new Allberg.Shooter.Windows.Forms.SafeLabel();
			this.txtName = new Allberg.Shooter.Windows.Forms.SafeTextBox();
			this.btnCancel = new System.Windows.Forms.Button();
			this.lblStartDate = new Allberg.Shooter.Windows.Forms.SafeLabel();
			this.dateTimePicker1 = new System.Windows.Forms.DateTimePicker();
			this.lblStartTime = new Allberg.Shooter.Windows.Forms.SafeLabel();
			this.numStartHour = new System.Windows.Forms.NumericUpDown();
			this.lblPatrolTime = new Allberg.Shooter.Windows.Forms.SafeLabel();
			this.numPatrolTime = new System.Windows.Forms.NumericUpDown();
			this.SafeLabel1 = new Allberg.Shooter.Windows.Forms.SafeLabel();
			this.numPatrolTimeBetween = new System.Windows.Forms.NumericUpDown();
			this.numPatrolSize = new System.Windows.Forms.NumericUpDown();
			this.SafeLabel2 = new Allberg.Shooter.Windows.Forms.SafeLabel();
			this.SafeLabel3 = new Allberg.Shooter.Windows.Forms.SafeLabel();
			this.numPatrolRest = new System.Windows.Forms.NumericUpDown();
			this.btnSave = new System.Windows.Forms.Button();
			this.chkNorwegianCount = new System.Windows.Forms.CheckBox();
			this.numStartMinute = new System.Windows.Forms.NumericUpDown();
			this.SafeLabel4 = new Allberg.Shooter.Windows.Forms.SafeLabel();
			this.SafeLabel5 = new Allberg.Shooter.Windows.Forms.SafeLabel();
			this.SafeLabel6 = new Allberg.Shooter.Windows.Forms.SafeLabel();
			this.SafeLabel7 = new Allberg.Shooter.Windows.Forms.SafeLabel();
			this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
			this.chkFinal = new System.Windows.Forms.CheckBox();
			this.chkUsePriceMoney = new System.Windows.Forms.CheckBox();
			this.numPriceMoneyReturn = new System.Windows.Forms.NumericUpDown();
			this.label1 = new System.Windows.Forms.Label();
			this.groupBox1 = new System.Windows.Forms.GroupBox();
			this.numShoterPercentWithPrice = new System.Windows.Forms.NumericUpDown();
			this.label4 = new System.Windows.Forms.Label();
			this.txtFirstPrice = new System.Windows.Forms.TextBox();
			this.label3 = new System.Windows.Forms.Label();
			this.txtShooterFee = new System.Windows.Forms.TextBox();
			this.label2 = new System.Windows.Forms.Label();
			((System.ComponentModel.ISupportInitialize)(this.numStartHour)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.numPatrolTime)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.numPatrolTimeBetween)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.numPatrolSize)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.numPatrolRest)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.numStartMinute)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.numPriceMoneyReturn)).BeginInit();
			this.groupBox1.SuspendLayout();
			((System.ComponentModel.ISupportInitialize)(this.numShoterPercentWithPrice)).BeginInit();
			this.SuspendLayout();
			// 
			// lblName
			// 
			this.lblName.Location = new System.Drawing.Point(8, 8);
			this.lblName.Name = "lblName";
			this.lblName.TabIndex = 0;
			this.lblName.Text = "Namn";
			// 
			// txtName
			// 
			this.txtName.Location = new System.Drawing.Point(112, 8);
			this.txtName.Name = "txtName";
			this.txtName.Size = new System.Drawing.Size(296, 20);
			this.txtName.TabIndex = 1;
			this.txtName.Text = "";
			this.toolTip1.SetToolTip(this.txtName, "Fyll i namnet på tävlingen. Detta kommer att bl.a. visas på utskrifter.");
			// 
			// btnCancel
			// 
			this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
			this.btnCancel.Location = new System.Drawing.Point(328, 192);
			this.btnCancel.Name = "btnCancel";
			this.btnCancel.TabIndex = 17;
			this.btnCancel.Text = "Stäng";
			this.toolTip1.SetToolTip(this.btnCancel, "Stäng fönstret utan att spara.");
			this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
			// 
			// lblStartDate
			// 
			this.lblStartDate.Location = new System.Drawing.Point(8, 32);
			this.lblStartDate.Name = "lblStartDate";
			this.lblStartDate.TabIndex = 3;
			this.lblStartDate.Text = "Startdatum";
			// 
			// dateTimePicker1
			// 
			this.dateTimePicker1.Location = new System.Drawing.Point(112, 32);
			this.dateTimePicker1.Name = "dateTimePicker1";
			this.dateTimePicker1.Size = new System.Drawing.Size(152, 20);
			this.dateTimePicker1.TabIndex = 2;
			this.toolTip1.SetToolTip(this.dateTimePicker1, "Fyll i datum för tävlingen");
			// 
			// lblStartTime
			// 
			this.lblStartTime.Location = new System.Drawing.Point(8, 56);
			this.lblStartTime.Name = "lblStartTime";
			this.lblStartTime.TabIndex = 5;
			this.lblStartTime.Text = "Starttid";
			// 
			// numStartHour
			// 
			this.numStartHour.Location = new System.Drawing.Point(112, 56);
			this.numStartHour.Maximum = new System.Decimal(new int[] {
																		 23,
																		 0,
																		 0,
																		 0});
			this.numStartHour.Name = "numStartHour";
			this.numStartHour.Size = new System.Drawing.Size(40, 20);
			this.numStartHour.TabIndex = 3;
			this.numStartHour.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
			this.toolTip1.SetToolTip(this.numStartHour, "Fyll i första patrullens starttid (timme)");
			this.numStartHour.Value = new System.Decimal(new int[] {
																	   8,
																	   0,
																	   0,
																	   0});
			this.numStartHour.KeyUp += new System.Windows.Forms.KeyEventHandler(this.numStartHour_KeyUp);
			// 
			// lblPatrolTime
			// 
			this.lblPatrolTime.Location = new System.Drawing.Point(8, 80);
			this.lblPatrolTime.Name = "lblPatrolTime";
			this.lblPatrolTime.TabIndex = 7;
			this.lblPatrolTime.Text = "Patrulltid";
			// 
			// numPatrolTime
			// 
			this.numPatrolTime.Location = new System.Drawing.Point(112, 80);
			this.numPatrolTime.Maximum = new System.Decimal(new int[] {
																		  240,
																		  0,
																		  0,
																		  0});
			this.numPatrolTime.Name = "numPatrolTime";
			this.numPatrolTime.Size = new System.Drawing.Size(40, 20);
			this.numPatrolTime.TabIndex = 5;
			this.numPatrolTime.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
			this.toolTip1.SetToolTip(this.numPatrolTime, "Fyll i hur lång tid en patrull beräknas ta på sig för att gå ett varv");
			this.numPatrolTime.Value = new System.Decimal(new int[] {
																		60,
																		0,
																		0,
																		0});
			this.numPatrolTime.KeyUp += new System.Windows.Forms.KeyEventHandler(this.numPatrolTime_KeyUp);
			// 
			// SafeLabel1
			// 
			this.SafeLabel1.Location = new System.Drawing.Point(8, 104);
			this.SafeLabel1.Name = "SafeLabel1";
			this.SafeLabel1.Size = new System.Drawing.Size(104, 23);
			this.SafeLabel1.TabIndex = 9;
			this.SafeLabel1.Text = "Tid mellan patruller";
			// 
			// numPatrolTimeBetween
			// 
			this.numPatrolTimeBetween.Location = new System.Drawing.Point(112, 104);
			this.numPatrolTimeBetween.Name = "numPatrolTimeBetween";
			this.numPatrolTimeBetween.Size = new System.Drawing.Size(40, 20);
			this.numPatrolTimeBetween.TabIndex = 6;
			this.numPatrolTimeBetween.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
			this.toolTip1.SetToolTip(this.numPatrolTimeBetween, "Fyll i hur lång tid det ska vara mellan patrullerna");
			this.numPatrolTimeBetween.Value = new System.Decimal(new int[] {
																			   10,
																			   0,
																			   0,
																			   0});
			this.numPatrolTimeBetween.KeyUp += new System.Windows.Forms.KeyEventHandler(this.numPatrolTimeBetween_KeyUp);
			// 
			// numPatrolSize
			// 
			this.numPatrolSize.Location = new System.Drawing.Point(112, 128);
			this.numPatrolSize.Maximum = new System.Decimal(new int[] {
																		  15,
																		  0,
																		  0,
																		  0});
			this.numPatrolSize.Minimum = new System.Decimal(new int[] {
																		  1,
																		  0,
																		  0,
																		  0});
			this.numPatrolSize.Name = "numPatrolSize";
			this.numPatrolSize.Size = new System.Drawing.Size(40, 20);
			this.numPatrolSize.TabIndex = 7;
			this.numPatrolSize.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
			this.toolTip1.SetToolTip(this.numPatrolSize, "Fyll i patrullens maxstorlek");
			this.numPatrolSize.Value = new System.Decimal(new int[] {
																		8,
																		0,
																		0,
																		0});
			this.numPatrolSize.KeyUp += new System.Windows.Forms.KeyEventHandler(this.numPatrolSize_KeyUp);
			// 
			// SafeLabel2
			// 
			this.SafeLabel2.Location = new System.Drawing.Point(8, 128);
			this.SafeLabel2.Name = "SafeLabel2";
			this.SafeLabel2.TabIndex = 12;
			this.SafeLabel2.Text = "Patrullstorlek";
			// 
			// SafeLabel3
			// 
			this.SafeLabel3.Location = new System.Drawing.Point(8, 152);
			this.SafeLabel3.Name = "SafeLabel3";
			this.SafeLabel3.TabIndex = 13;
			this.SafeLabel3.Text = "Vilotid";
			// 
			// numPatrolRest
			// 
			this.numPatrolRest.Location = new System.Drawing.Point(112, 152);
			this.numPatrolRest.Name = "numPatrolRest";
			this.numPatrolRest.Size = new System.Drawing.Size(40, 20);
			this.numPatrolRest.TabIndex = 8;
			this.numPatrolRest.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
			this.toolTip1.SetToolTip(this.numPatrolRest, "Fyll i vilotiden. Det är tiden från att en patrull ska vara tillbaka tills en sky" +
				"tt kan planeras in i nästa patrull");
			this.numPatrolRest.KeyUp += new System.Windows.Forms.KeyEventHandler(this.numPatrolRest_KeyUp);
			// 
			// btnSave
			// 
			this.btnSave.Location = new System.Drawing.Point(248, 192);
			this.btnSave.Name = "btnSave";
			this.btnSave.TabIndex = 16;
			this.btnSave.Text = "Spara";
			this.toolTip1.SetToolTip(this.btnSave, "Spara tävlingsinformation samt stäng fönstret");
			this.btnSave.Click += new System.EventHandler(this.btnSave_Click);
			// 
			// chkNorwegianCount
			// 
			this.chkNorwegianCount.Location = new System.Drawing.Point(72, 176);
			this.chkNorwegianCount.Name = "chkNorwegianCount";
			this.chkNorwegianCount.Size = new System.Drawing.Size(136, 24);
			this.chkNorwegianCount.TabIndex = 9;
			this.chkNorwegianCount.Text = "Poängfältskjutning";
			this.toolTip1.SetToolTip(this.chkNorwegianCount, "Här väljer du om det ska vara poängfältskjutning, vilket också kallas för norsk r" +
				"äkning");
			// 
			// numStartMinute
			// 
			this.numStartMinute.Increment = new System.Decimal(new int[] {
																			 5,
																			 0,
																			 0,
																			 0});
			this.numStartMinute.Location = new System.Drawing.Point(160, 56);
			this.numStartMinute.Maximum = new System.Decimal(new int[] {
																		   55,
																		   0,
																		   0,
																		   0});
			this.numStartMinute.Name = "numStartMinute";
			this.numStartMinute.Size = new System.Drawing.Size(40, 20);
			this.numStartMinute.TabIndex = 4;
			this.numStartMinute.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
			this.toolTip1.SetToolTip(this.numStartMinute, "Fyll i första patrullens starttid (minut)");
			this.numStartMinute.KeyUp += new System.Windows.Forms.KeyEventHandler(this.numStartMinute_KeyUp);
			// 
			// SafeLabel4
			// 
			this.SafeLabel4.Location = new System.Drawing.Point(160, 80);
			this.SafeLabel4.Name = "SafeLabel4";
			this.SafeLabel4.Size = new System.Drawing.Size(48, 23);
			this.SafeLabel4.TabIndex = 14;
			this.SafeLabel4.Text = "minuter";
			// 
			// SafeLabel5
			// 
			this.SafeLabel5.Location = new System.Drawing.Point(160, 104);
			this.SafeLabel5.Name = "SafeLabel5";
			this.SafeLabel5.Size = new System.Drawing.Size(48, 23);
			this.SafeLabel5.TabIndex = 15;
			this.SafeLabel5.Text = "minuter";
			// 
			// SafeLabel6
			// 
			this.SafeLabel6.Location = new System.Drawing.Point(160, 152);
			this.SafeLabel6.Name = "SafeLabel6";
			this.SafeLabel6.Size = new System.Drawing.Size(48, 23);
			this.SafeLabel6.TabIndex = 16;
			this.SafeLabel6.Text = "minuter";
			// 
			// SafeLabel7
			// 
			this.SafeLabel7.Location = new System.Drawing.Point(160, 128);
			this.SafeLabel7.Name = "SafeLabel7";
			this.SafeLabel7.Size = new System.Drawing.Size(48, 23);
			this.SafeLabel7.TabIndex = 17;
			this.SafeLabel7.Text = "stycken";
			// 
			// chkFinal
			// 
			this.chkFinal.Location = new System.Drawing.Point(72, 200);
			this.chkFinal.Name = "chkFinal";
			this.chkFinal.Size = new System.Drawing.Size(136, 24);
			this.chkFinal.TabIndex = 10;
			this.chkFinal.Text = "Särskjutning";
			this.toolTip1.SetToolTip(this.chkFinal, "Här väljer du om det ska vara särskjutning");
			// 
			// chkUsePriceMoney
			// 
			this.chkUsePriceMoney.Location = new System.Drawing.Point(8, 16);
			this.chkUsePriceMoney.Name = "chkUsePriceMoney";
			this.chkUsePriceMoney.Size = new System.Drawing.Size(88, 24);
			this.chkUsePriceMoney.TabIndex = 11;
			this.chkUsePriceMoney.Text = "Prispengar";
			this.chkUsePriceMoney.CheckedChanged += new System.EventHandler(this.chkUsePriceMoney_CheckedChanged);
			// 
			// numPriceMoneyReturn
			// 
			this.numPriceMoneyReturn.Increment = new System.Decimal(new int[] {
																				  5,
																				  0,
																				  0,
																				  0});
			this.numPriceMoneyReturn.Location = new System.Drawing.Point(136, 32);
			this.numPriceMoneyReturn.Minimum = new System.Decimal(new int[] {
																				5,
																				0,
																				0,
																				0});
			this.numPriceMoneyReturn.Name = "numPriceMoneyReturn";
			this.numPriceMoneyReturn.ReadOnly = true;
			this.numPriceMoneyReturn.Size = new System.Drawing.Size(48, 20);
			this.numPriceMoneyReturn.TabIndex = 12;
			this.numPriceMoneyReturn.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
			this.numPriceMoneyReturn.Value = new System.Decimal(new int[] {
																			  40,
																			  0,
																			  0,
																			  0});
			// 
			// label1
			// 
			this.label1.Location = new System.Drawing.Point(8, 40);
			this.label1.Name = "label1";
			this.label1.Size = new System.Drawing.Size(96, 23);
			this.label1.TabIndex = 21;
			this.label1.Text = "Återbetalning (%)";
			// 
			// groupBox1
			// 
			this.groupBox1.Controls.Add(this.numShoterPercentWithPrice);
			this.groupBox1.Controls.Add(this.label4);
			this.groupBox1.Controls.Add(this.txtFirstPrice);
			this.groupBox1.Controls.Add(this.label3);
			this.groupBox1.Controls.Add(this.txtShooterFee);
			this.groupBox1.Controls.Add(this.label2);
			this.groupBox1.Controls.Add(this.chkUsePriceMoney);
			this.groupBox1.Controls.Add(this.label1);
			this.groupBox1.Controls.Add(this.numPriceMoneyReturn);
			this.groupBox1.Location = new System.Drawing.Point(216, 56);
			this.groupBox1.Name = "groupBox1";
			this.groupBox1.Size = new System.Drawing.Size(192, 128);
			this.groupBox1.TabIndex = 22;
			this.groupBox1.TabStop = false;
			this.groupBox1.Text = "Prispengar";
			// 
			// numShoterPercentWithPrice
			// 
			this.numShoterPercentWithPrice.Increment = new System.Decimal(new int[] {
																						5,
																						0,
																						0,
																						0});
			this.numShoterPercentWithPrice.Location = new System.Drawing.Point(136, 56);
			this.numShoterPercentWithPrice.Minimum = new System.Decimal(new int[] {
																					  5,
																					  0,
																					  0,
																					  0});
			this.numShoterPercentWithPrice.Name = "numShoterPercentWithPrice";
			this.numShoterPercentWithPrice.ReadOnly = true;
			this.numShoterPercentWithPrice.Size = new System.Drawing.Size(48, 20);
			this.numShoterPercentWithPrice.TabIndex = 13;
			this.numShoterPercentWithPrice.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
			this.numShoterPercentWithPrice.Value = new System.Decimal(new int[] {
																					25,
																					0,
																					0,
																					0});
			// 
			// label4
			// 
			this.label4.Location = new System.Drawing.Point(8, 56);
			this.label4.Name = "label4";
			this.label4.Size = new System.Drawing.Size(112, 16);
			this.label4.TabIndex = 26;
			this.label4.Text = "Skyttar med pris (%)";
			// 
			// txtFirstPrice
			// 
			this.txtFirstPrice.Location = new System.Drawing.Point(120, 104);
			this.txtFirstPrice.Name = "txtFirstPrice";
			this.txtFirstPrice.ReadOnly = true;
			this.txtFirstPrice.Size = new System.Drawing.Size(64, 20);
			this.txtFirstPrice.TabIndex = 15;
			this.txtFirstPrice.Text = "250";
			this.txtFirstPrice.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
			// 
			// label3
			// 
			this.label3.Location = new System.Drawing.Point(8, 104);
			this.label3.Name = "label3";
			this.label3.Size = new System.Drawing.Size(100, 20);
			this.label3.TabIndex = 24;
			this.label3.Text = "Förstapris";
			// 
			// txtShooterFee
			// 
			this.txtShooterFee.Location = new System.Drawing.Point(120, 80);
			this.txtShooterFee.Name = "txtShooterFee";
			this.txtShooterFee.ReadOnly = true;
			this.txtShooterFee.Size = new System.Drawing.Size(64, 20);
			this.txtShooterFee.TabIndex = 14;
			this.txtShooterFee.Text = "100";
			this.txtShooterFee.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
			// 
			// label2
			// 
			this.label2.Location = new System.Drawing.Point(8, 80);
			this.label2.Name = "label2";
			this.label2.TabIndex = 22;
			this.label2.Text = "Anmälningsavgift";
			// 
			// FCompetition
			// 
			this.AcceptButton = this.btnSave;
			this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
			this.CancelButton = this.btnCancel;
			this.ClientSize = new System.Drawing.Size(416, 230);
			this.Controls.Add(this.groupBox1);
			this.Controls.Add(this.chkFinal);
			this.Controls.Add(this.SafeLabel7);
			this.Controls.Add(this.SafeLabel6);
			this.Controls.Add(this.SafeLabel5);
			this.Controls.Add(this.SafeLabel4);
			this.Controls.Add(this.numStartMinute);
			this.Controls.Add(this.chkNorwegianCount);
			this.Controls.Add(this.btnSave);
			this.Controls.Add(this.numPatrolRest);
			this.Controls.Add(this.SafeLabel3);
			this.Controls.Add(this.SafeLabel2);
			this.Controls.Add(this.numPatrolSize);
			this.Controls.Add(this.numPatrolTimeBetween);
			this.Controls.Add(this.SafeLabel1);
			this.Controls.Add(this.numPatrolTime);
			this.Controls.Add(this.lblPatrolTime);
			this.Controls.Add(this.numStartHour);
			this.Controls.Add(this.lblStartTime);
			this.Controls.Add(this.dateTimePicker1);
			this.Controls.Add(this.lblStartDate);
			this.Controls.Add(this.btnCancel);
			this.Controls.Add(this.txtName);
			this.Controls.Add(this.lblName);
			this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
			this.MaximizeBox = false;
			this.MinimizeBox = false;
			this.Name = "FCompetition";
			this.Text = "Tävlingsinfo";
			((System.ComponentModel.ISupportInitialize)(this.numStartHour)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.numPatrolTime)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.numPatrolTimeBetween)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.numPatrolSize)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.numPatrolRest)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.numStartMinute)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.numPriceMoneyReturn)).EndInit();
			this.groupBox1.ResumeLayout(false);
			((System.ComponentModel.ISupportInitialize)(this.numShoterPercentWithPrice)).EndInit();
			this.ResumeLayout(false);

		}
Ejemplo n.º 4
0
 /// <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();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FMain));
     this.dataGrid1                 = new System.Windows.Forms.DataGrid();
     this.datasetClients1           = new Allberg.Shooter.WinShooterServer.DatasetClients();
     this.dataGridTableStyle1       = new System.Windows.Forms.DataGridTableStyle();
     this.dataGridTextBoxIPAddress  = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridTextBoxLastUpdate = new System.Windows.Forms.DataGridTextBoxColumn();
     this.openFileDialog1           = new System.Windows.Forms.OpenFileDialog();
     this.btnDispose                = new System.Windows.Forms.Button();
     this.timerClientsUpdate        = new System.Windows.Forms.Timer(this.components);
     this.chkWebServer              = new System.Windows.Forms.CheckBox();
     this.timerKeepConnection       = new System.Windows.Forms.Timer(this.components);
     this.numCasheSeconds           = new System.Windows.Forms.NumericUpDown();
     this.progressBarThreads        = new System.Windows.Forms.ProgressBar();
     this.timerThreadCount          = new System.Windows.Forms.Timer(this.components);
     this.numHttpPort               = new System.Windows.Forms.NumericUpDown();
     this.btnBackup                 = new System.Windows.Forms.Button();
     this.label4           = new Allberg.Shooter.Windows.Forms.SafeLabel();
     this.label3           = new Allberg.Shooter.Windows.Forms.SafeLabel();
     this.txtServerAddress = new Allberg.Shooter.Windows.Forms.SafeTextBox();
     this.txtFilename      = new Allberg.Shooter.Windows.Forms.SafeTextBox();
     this.label2           = new Allberg.Shooter.Windows.Forms.SafeLabel();
     this.label1           = new Allberg.Shooter.Windows.Forms.SafeLabel();
     ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.datasetClients1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.numCasheSeconds)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.numHttpPort)).BeginInit();
     this.SuspendLayout();
     //
     // dataGrid1
     //
     this.dataGrid1.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.dataGrid1.CaptionText       = "Anslutna klienter";
     this.dataGrid1.DataMember        = "Clients";
     this.dataGrid1.DataSource        = this.datasetClients1;
     this.dataGrid1.HeaderForeColor   = System.Drawing.SystemColors.ControlText;
     this.dataGrid1.Location          = new System.Drawing.Point(12, 88);
     this.dataGrid1.Name              = "dataGrid1";
     this.dataGrid1.ReadOnly          = true;
     this.dataGrid1.RowHeadersVisible = false;
     this.dataGrid1.Size              = new System.Drawing.Size(576, 191);
     this.dataGrid1.TabIndex          = 2;
     this.dataGrid1.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] {
         this.dataGridTableStyle1
     });
     //
     // datasetClients1
     //
     this.datasetClients1.DataSetName             = "DatasetClients";
     this.datasetClients1.Locale                  = new System.Globalization.CultureInfo("en-US");
     this.datasetClients1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
     //
     // dataGridTableStyle1
     //
     this.dataGridTableStyle1.DataGrid = this.dataGrid1;
     this.dataGridTableStyle1.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] {
         this.dataGridTextBoxIPAddress,
         this.dataGridTextBoxLastUpdate
     });
     this.dataGridTableStyle1.HeaderForeColor      = System.Drawing.SystemColors.ControlText;
     this.dataGridTableStyle1.MappingName          = "Clients";
     this.dataGridTableStyle1.PreferredColumnWidth = 125;
     this.dataGridTableStyle1.ReadOnly             = true;
     this.dataGridTableStyle1.RowHeadersVisible    = false;
     //
     // dataGridTextBoxIPAddress
     //
     this.dataGridTextBoxIPAddress.Alignment   = System.Windows.Forms.HorizontalAlignment.Center;
     this.dataGridTextBoxIPAddress.Format      = "";
     this.dataGridTextBoxIPAddress.FormatInfo  = null;
     this.dataGridTextBoxIPAddress.HeaderText  = "Klient";
     this.dataGridTextBoxIPAddress.MappingName = "IPAddress";
     this.dataGridTextBoxIPAddress.NullText    = "";
     this.dataGridTextBoxIPAddress.ReadOnly    = true;
     this.dataGridTextBoxIPAddress.Width       = 125;
     //
     // dataGridTextBoxLastUpdate
     //
     this.dataGridTextBoxLastUpdate.Alignment   = System.Windows.Forms.HorizontalAlignment.Center;
     this.dataGridTextBoxLastUpdate.Format      = "";
     this.dataGridTextBoxLastUpdate.FormatInfo  = null;
     this.dataGridTextBoxLastUpdate.HeaderText  = "Senast anslutning";
     this.dataGridTextBoxLastUpdate.MappingName = "LastUpdate";
     this.dataGridTextBoxLastUpdate.NullText    = "";
     this.dataGridTextBoxLastUpdate.ReadOnly    = true;
     this.dataGridTextBoxLastUpdate.Width       = 150;
     //
     // btnDispose
     //
     this.btnDispose.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.btnDispose.Location = new System.Drawing.Point(496, 287);
     this.btnDispose.Name     = "btnDispose";
     this.btnDispose.Size     = new System.Drawing.Size(88, 23);
     this.btnDispose.TabIndex = 3;
     this.btnDispose.Text     = "Avsluta server";
     this.btnDispose.Click   += new System.EventHandler(this.btnDispose_Click);
     //
     // timerClientsUpdate
     //
     this.timerClientsUpdate.Interval = 5000;
     this.timerClientsUpdate.Tick    += new System.EventHandler(this.timerClientsUpdate_Tick);
     //
     // chkWebServer
     //
     this.chkWebServer.Location        = new System.Drawing.Point(96, 58);
     this.chkWebServer.Name            = "chkWebServer";
     this.chkWebServer.Size            = new System.Drawing.Size(152, 24);
     this.chkWebServer.TabIndex        = 6;
     this.chkWebServer.Text            = "Kör som webbserver med";
     this.chkWebServer.CheckedChanged += new System.EventHandler(this.chkWebServer_CheckedChanged);
     //
     // timerKeepConnection
     //
     this.timerKeepConnection.Interval = 60000;
     this.timerKeepConnection.Tick    += new System.EventHandler(this.timerKeepConnection_Tick);
     //
     // numCasheSeconds
     //
     this.numCasheSeconds.Increment = new decimal(new int[] {
         10,
         0,
         0,
         0
     });
     this.numCasheSeconds.Location = new System.Drawing.Point(248, 58);
     this.numCasheSeconds.Maximum  = new decimal(new int[] {
         600,
         0,
         0,
         0
     });
     this.numCasheSeconds.Minimum = new decimal(new int[] {
         10,
         0,
         0,
         0
     });
     this.numCasheSeconds.Name      = "numCasheSeconds";
     this.numCasheSeconds.Size      = new System.Drawing.Size(56, 20);
     this.numCasheSeconds.TabIndex  = 7;
     this.numCasheSeconds.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     this.numCasheSeconds.Value     = new decimal(new int[] {
         120,
         0,
         0,
         0
     });
     //
     // progressBarThreads
     //
     this.progressBarThreads.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                                                                            | System.Windows.Forms.AnchorStyles.Right)));
     this.progressBarThreads.Location = new System.Drawing.Point(120, 287);
     this.progressBarThreads.Name     = "progressBarThreads";
     this.progressBarThreads.Size     = new System.Drawing.Size(368, 23);
     this.progressBarThreads.TabIndex = 9;
     this.progressBarThreads.Click   += new System.EventHandler(this.progressBarThreads_Click);
     //
     // timerThreadCount
     //
     this.timerThreadCount.Enabled = true;
     this.timerThreadCount.Tick   += new System.EventHandler(this.timerThreadCount_Tick);
     //
     // numHttpPort
     //
     this.numHttpPort.Location = new System.Drawing.Point(441, 58);
     this.numHttpPort.Maximum  = new decimal(new int[] {
         89,
         0,
         0,
         0
     });
     this.numHttpPort.Minimum = new decimal(new int[] {
         80,
         0,
         0,
         0
     });
     this.numHttpPort.Name      = "numHttpPort";
     this.numHttpPort.Size      = new System.Drawing.Size(56, 20);
     this.numHttpPort.TabIndex  = 11;
     this.numHttpPort.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     this.numHttpPort.Value     = new decimal(new int[] {
         80,
         0,
         0,
         0
     });
     //
     // btnBackup
     //
     this.btnBackup.Location = new System.Drawing.Point(8, 58);
     this.btnBackup.Name     = "btnBackup";
     this.btnBackup.Size     = new System.Drawing.Size(75, 23);
     this.btnBackup.TabIndex = 12;
     this.btnBackup.Text     = "Backup";
     this.btnBackup.UseVisualStyleBackColor = true;
     this.btnBackup.Click += new System.EventHandler(this.btnBackup_Click);
     //
     // label4
     //
     this.label4.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.label4.Location = new System.Drawing.Point(8, 287);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(100, 23);
     this.label4.TabIndex = 10;
     this.label4.Text     = "Antal trådar";
     //
     // label3
     //
     this.label3.Location = new System.Drawing.Point(310, 62);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(144, 16);
     this.label3.TabIndex = 8;
     this.label3.Text     = "sekunders cache på port";
     //
     // txtServerAddress
     //
     this.txtServerAddress.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                          | System.Windows.Forms.AnchorStyles.Right)));
     this.txtServerAddress.Location = new System.Drawing.Point(96, 32);
     this.txtServerAddress.Name     = "txtServerAddress";
     this.txtServerAddress.ReadOnly = true;
     this.txtServerAddress.Size     = new System.Drawing.Size(488, 20);
     this.txtServerAddress.TabIndex = 5;
     //
     // txtFilename
     //
     this.txtFilename.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                     | System.Windows.Forms.AnchorStyles.Right)));
     this.txtFilename.Location = new System.Drawing.Point(96, 8);
     this.txtFilename.Name     = "txtFilename";
     this.txtFilename.ReadOnly = true;
     this.txtFilename.Size     = new System.Drawing.Size(488, 20);
     this.txtFilename.TabIndex = 1;
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(8, 32);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(80, 23);
     this.label2.TabIndex = 4;
     this.label2.Text     = "Server adress";
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(8, 8);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(48, 23);
     this.label1.TabIndex = 0;
     this.label1.Text     = "Databas";
     //
     // FMain
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(592, 317);
     this.Controls.Add(this.btnBackup);
     this.Controls.Add(this.numHttpPort);
     this.Controls.Add(this.label4);
     this.Controls.Add(this.progressBarThreads);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.numCasheSeconds);
     this.Controls.Add(this.chkWebServer);
     this.Controls.Add(this.txtServerAddress);
     this.Controls.Add(this.txtFilename);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.btnDispose);
     this.Controls.Add(this.dataGrid1);
     this.Controls.Add(this.label1);
     this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name = "FMain";
     this.Text = "WinShooter Server";
     ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.datasetClients1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.numCasheSeconds)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.numHttpPort)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Ejemplo n.º 5
0
 /// <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();
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(FStations));
     this.btnSave            = new System.Windows.Forms.Button();
     this.SafeLabel1         = new Allberg.Shooter.Windows.Forms.SafeLabel();
     this.numDdStationsTot   = new System.Windows.Forms.NumericUpDown();
     this.SafeLabel2         = new Allberg.Shooter.Windows.Forms.SafeLabel();
     this.progressBarKonfig  = new System.Windows.Forms.ProgressBar();
     this.SafeLabel3         = new Allberg.Shooter.Windows.Forms.SafeLabel();
     this.vScrollBar1        = new System.Windows.Forms.VScrollBar();
     this.lblStationNr       = new Allberg.Shooter.Windows.Forms.SafeLabel();
     this.groupBox1          = new System.Windows.Forms.GroupBox();
     this.chkPoints          = new System.Windows.Forms.CheckBox();
     this.numNumberOfShoots  = new System.Windows.Forms.NumericUpDown();
     this.SafeLabel5         = new Allberg.Shooter.Windows.Forms.SafeLabel();
     this.numNumberOfFigures = new System.Windows.Forms.NumericUpDown();
     this.SafeLabel4         = new Allberg.Shooter.Windows.Forms.SafeLabel();
     this.groupBoxSample     = new System.Windows.Forms.GroupBox();
     this.txtPoints          = new Allberg.Shooter.Windows.Forms.SafeTextBox();
     this.lblPoints          = new Allberg.Shooter.Windows.Forms.SafeLabel();
     this.btnCancel          = new System.Windows.Forms.Button();
     this.toolTip1           = new System.Windows.Forms.ToolTip(this.components);
     ((System.ComponentModel.ISupportInitialize)(this.numDdStationsTot)).BeginInit();
     this.groupBox1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.numNumberOfShoots)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.numNumberOfFigures)).BeginInit();
     this.groupBoxSample.SuspendLayout();
     this.SuspendLayout();
     //
     // btnSave
     //
     this.btnSave.Location = new System.Drawing.Point(168, 192);
     this.btnSave.Name     = "btnSave";
     this.btnSave.TabIndex = 11;
     this.btnSave.Text     = "Spara";
     this.toolTip1.SetToolTip(this.btnSave, "Spara stationskonfiguration och stäng fönstret.");
     this.btnSave.Click += new System.EventHandler(this.btnSave_Click);
     //
     // SafeLabel1
     //
     this.SafeLabel1.Location = new System.Drawing.Point(8, 8);
     this.SafeLabel1.Name     = "SafeLabel1";
     this.SafeLabel1.TabIndex = 2;
     this.SafeLabel1.Text     = "Antal stationer";
     //
     // numDdStationsTot
     //
     this.numDdStationsTot.Location = new System.Drawing.Point(120, 8);
     this.numDdStationsTot.Maximum  = new System.Decimal(new int[] {
         15,
         0,
         0,
         0
     });
     this.numDdStationsTot.Minimum = new System.Decimal(new int[] {
         1,
         0,
         0,
         0
     });
     this.numDdStationsTot.Name      = "numDdStationsTot";
     this.numDdStationsTot.Size      = new System.Drawing.Size(72, 20);
     this.numDdStationsTot.TabIndex  = 3;
     this.numDdStationsTot.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     this.toolTip1.SetToolTip(this.numDdStationsTot, "Välj hur många stationer som ska finnas");
     this.numDdStationsTot.Value = new System.Decimal(new int[] {
         1,
         0,
         0,
         0
     });
     this.numDdStationsTot.KeyUp        += new System.Windows.Forms.KeyEventHandler(this.numDdStationsTot_KeyUp);
     this.numDdStationsTot.ValueChanged += new System.EventHandler(this.numDdStationsTot_ValueChanged);
     //
     // SafeLabel2
     //
     this.SafeLabel2.Location = new System.Drawing.Point(8, 32);
     this.SafeLabel2.Name     = "SafeLabel2";
     this.SafeLabel2.Size     = new System.Drawing.Size(112, 23);
     this.SafeLabel2.TabIndex = 4;
     this.SafeLabel2.Text     = "Konfigurationsstatus";
     //
     // progressBarKonfig
     //
     this.progressBarKonfig.Location = new System.Drawing.Point(120, 32);
     this.progressBarKonfig.Maximum  = 1;
     this.progressBarKonfig.Name     = "progressBarKonfig";
     this.progressBarKonfig.Size     = new System.Drawing.Size(72, 23);
     this.progressBarKonfig.TabIndex = 5;
     this.toolTip1.SetToolTip(this.progressBarKonfig, "Denna visar konfigurationsstatus. Samtliga stationer måste konfigureras.");
     //
     // SafeLabel3
     //
     this.SafeLabel3.Location = new System.Drawing.Point(8, 16);
     this.SafeLabel3.Name     = "SafeLabel3";
     this.SafeLabel3.TabIndex = 6;
     this.SafeLabel3.Text     = "Stationsnummer";
     //
     // vScrollBar1
     //
     this.vScrollBar1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                     | System.Windows.Forms.AnchorStyles.Right)));
     this.vScrollBar1.LargeChange = 1;
     this.vScrollBar1.Location    = new System.Drawing.Point(160, 16);
     this.vScrollBar1.Maximum     = 1;
     this.vScrollBar1.Minimum     = 1;
     this.vScrollBar1.Name        = "vScrollBar1";
     this.vScrollBar1.Size        = new System.Drawing.Size(16, 96);
     this.vScrollBar1.TabIndex    = 7;
     this.toolTip1.SetToolTip(this.vScrollBar1, "Använd denna för att gå från station till station");
     this.vScrollBar1.Value   = 1;
     this.vScrollBar1.Scroll += new System.Windows.Forms.ScrollEventHandler(this.vScrollBar1_Scroll);
     //
     // lblStationNr
     //
     this.lblStationNr.Location  = new System.Drawing.Point(112, 16);
     this.lblStationNr.Name      = "lblStationNr";
     this.lblStationNr.Size      = new System.Drawing.Size(40, 23);
     this.lblStationNr.TabIndex  = 8;
     this.lblStationNr.Text      = "1";
     this.lblStationNr.TextAlign = System.Drawing.ContentAlignment.TopRight;
     this.toolTip1.SetToolTip(this.lblStationNr, "Här visas vilket stationsnr som just nu håller på att konfigureras.");
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.chkPoints);
     this.groupBox1.Controls.Add(this.numNumberOfShoots);
     this.groupBox1.Controls.Add(this.SafeLabel5);
     this.groupBox1.Controls.Add(this.numNumberOfFigures);
     this.groupBox1.Controls.Add(this.SafeLabel4);
     this.groupBox1.Controls.Add(this.SafeLabel3);
     this.groupBox1.Controls.Add(this.lblStationNr);
     this.groupBox1.Controls.Add(this.vScrollBar1);
     this.groupBox1.Location = new System.Drawing.Point(8, 64);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(184, 116);
     this.groupBox1.TabIndex = 9;
     this.groupBox1.TabStop  = false;
     this.groupBox1.Text     = "Aktuell station";
     this.toolTip1.SetToolTip(this.groupBox1, "Data om aktuell station");
     //
     // chkPoints
     //
     this.chkPoints.Location = new System.Drawing.Point(8, 88);
     this.chkPoints.Name     = "chkPoints";
     this.chkPoints.Size     = new System.Drawing.Size(144, 24);
     this.chkPoints.TabIndex = 13;
     this.chkPoints.Text     = "Poängtavla/or";
     this.toolTip1.SetToolTip(this.chkPoints, "Fyll i om det finns poängmål på denna station");
     this.chkPoints.CheckedChanged += new System.EventHandler(this.chkPoints_CheckedChanged);
     //
     // numNumberOfShoots
     //
     this.numNumberOfShoots.Location = new System.Drawing.Point(112, 64);
     this.numNumberOfShoots.Maximum  = new System.Decimal(new int[] {
         6,
         0,
         0,
         0
     });
     this.numNumberOfShoots.Minimum = new System.Decimal(new int[] {
         1,
         0,
         0,
         0
     });
     this.numNumberOfShoots.Name     = "numNumberOfShoots";
     this.numNumberOfShoots.Size     = new System.Drawing.Size(40, 20);
     this.numNumberOfShoots.TabIndex = 12;
     this.toolTip1.SetToolTip(this.numNumberOfShoots, "Fyll i hur många skott skyttarna får använda på denna station");
     this.numNumberOfShoots.Value = new System.Decimal(new int[] {
         6,
         0,
         0,
         0
     });
     this.numNumberOfShoots.KeyUp        += new System.Windows.Forms.KeyEventHandler(this.numNumberOfShoots_KeyUp);
     this.numNumberOfShoots.ValueChanged += new System.EventHandler(this.numNumberOfShoots_ValueChanged);
     //
     // SafeLabel5
     //
     this.SafeLabel5.Location = new System.Drawing.Point(8, 64);
     this.SafeLabel5.Name     = "SafeLabel5";
     this.SafeLabel5.TabIndex = 11;
     this.SafeLabel5.Text     = "Antal skott";
     //
     // numNumberOfFigures
     //
     this.numNumberOfFigures.Location = new System.Drawing.Point(112, 40);
     this.numNumberOfFigures.Maximum  = new System.Decimal(new int[] {
         6,
         0,
         0,
         0
     });
     this.numNumberOfFigures.Minimum = new System.Decimal(new int[] {
         1,
         0,
         0,
         0
     });
     this.numNumberOfFigures.Name     = "numNumberOfFigures";
     this.numNumberOfFigures.Size     = new System.Drawing.Size(40, 20);
     this.numNumberOfFigures.TabIndex = 10;
     this.toolTip1.SetToolTip(this.numNumberOfFigures, "Fyll i hur många figurer som ska visas på denna station");
     this.numNumberOfFigures.Value = new System.Decimal(new int[] {
         1,
         0,
         0,
         0
     });
     this.numNumberOfFigures.KeyUp        += new System.Windows.Forms.KeyEventHandler(this.numNumberOfFigures_KeyUp);
     this.numNumberOfFigures.ValueChanged += new System.EventHandler(this.numNumberOfFigures_ValueChanged);
     //
     // SafeLabel4
     //
     this.SafeLabel4.Location = new System.Drawing.Point(8, 40);
     this.SafeLabel4.Name     = "SafeLabel4";
     this.SafeLabel4.TabIndex = 9;
     this.SafeLabel4.Text     = "Antal figurer";
     //
     // groupBoxSample
     //
     this.groupBoxSample.Controls.Add(this.txtPoints);
     this.groupBoxSample.Controls.Add(this.lblPoints);
     this.groupBoxSample.Location = new System.Drawing.Point(200, 12);
     this.groupBoxSample.Name     = "groupBoxSample";
     this.groupBoxSample.Size     = new System.Drawing.Size(120, 168);
     this.groupBoxSample.TabIndex = 10;
     this.groupBoxSample.TabStop  = false;
     this.groupBoxSample.Text     = "Stationsexempel";
     this.toolTip1.SetToolTip(this.groupBoxSample, "Här visas ett exempel på hur det kommer att se ut vid ifyllnad av resultaten");
     //
     // txtPoints
     //
     this.txtPoints.Enabled  = false;
     this.txtPoints.Location = new System.Drawing.Point(56, 136);
     this.txtPoints.Name     = "txtPoints";
     this.txtPoints.Size     = new System.Drawing.Size(56, 20);
     this.txtPoints.TabIndex = 1;
     this.txtPoints.Text     = "";
     this.txtPoints.Visible  = false;
     //
     // lblPoints
     //
     this.lblPoints.Location = new System.Drawing.Point(8, 136);
     this.lblPoints.Name     = "lblPoints";
     this.lblPoints.Size     = new System.Drawing.Size(40, 23);
     this.lblPoints.TabIndex = 0;
     this.lblPoints.Text     = "Poäng";
     //
     // btnCancel
     //
     this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.btnCancel.Location     = new System.Drawing.Point(248, 192);
     this.btnCancel.Name         = "btnCancel";
     this.btnCancel.TabIndex     = 12;
     this.btnCancel.Text         = "Stäng";
     this.toolTip1.SetToolTip(this.btnCancel, "Stäng fönstret");
     this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
     //
     // FStations
     //
     this.AcceptButton      = this.btnSave;
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.CancelButton      = this.btnCancel;
     this.ClientSize        = new System.Drawing.Size(328, 221);
     this.Controls.Add(this.btnCancel);
     this.Controls.Add(this.groupBoxSample);
     this.Controls.Add(this.groupBox1);
     this.Controls.Add(this.progressBarKonfig);
     this.Controls.Add(this.SafeLabel2);
     this.Controls.Add(this.numDdStationsTot);
     this.Controls.Add(this.SafeLabel1);
     this.Controls.Add(this.btnSave);
     this.Icon       = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.KeyPreview = true;
     this.Name       = "FStations";
     this.Text       = "Stationer";
     ((System.ComponentModel.ISupportInitialize)(this.numDdStationsTot)).EndInit();
     this.groupBox1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.numNumberOfShoots)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.numNumberOfFigures)).EndInit();
     this.groupBoxSample.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Ejemplo n.º 6
0
		/// <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();
			System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FMain));
			this.dataGrid1 = new System.Windows.Forms.DataGrid();
			this.datasetClients1 = new Allberg.Shooter.WinShooterServer.DatasetClients();
			this.dataGridTableStyle1 = new System.Windows.Forms.DataGridTableStyle();
			this.dataGridTextBoxIPAddress = new System.Windows.Forms.DataGridTextBoxColumn();
			this.dataGridTextBoxLastUpdate = new System.Windows.Forms.DataGridTextBoxColumn();
			this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog();
			this.btnDispose = new System.Windows.Forms.Button();
			this.timerClientsUpdate = new System.Windows.Forms.Timer(this.components);
			this.chkWebServer = new System.Windows.Forms.CheckBox();
			this.timerKeepConnection = new System.Windows.Forms.Timer(this.components);
			this.numCasheSeconds = new System.Windows.Forms.NumericUpDown();
			this.progressBarThreads = new System.Windows.Forms.ProgressBar();
			this.timerThreadCount = new System.Windows.Forms.Timer(this.components);
			this.numHttpPort = new System.Windows.Forms.NumericUpDown();
			this.btnBackup = new System.Windows.Forms.Button();
			this.label4 = new Allberg.Shooter.Windows.Forms.SafeLabel();
			this.label3 = new Allberg.Shooter.Windows.Forms.SafeLabel();
			this.txtServerAddress = new Allberg.Shooter.Windows.Forms.SafeTextBox();
			this.txtFilename = new Allberg.Shooter.Windows.Forms.SafeTextBox();
			this.label2 = new Allberg.Shooter.Windows.Forms.SafeLabel();
			this.label1 = new Allberg.Shooter.Windows.Forms.SafeLabel();
			((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.datasetClients1)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.numCasheSeconds)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.numHttpPort)).BeginInit();
			this.SuspendLayout();
			// 
			// dataGrid1
			// 
			this.dataGrid1.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.dataGrid1.CaptionText = "Anslutna klienter";
			this.dataGrid1.DataMember = "Clients";
			this.dataGrid1.DataSource = this.datasetClients1;
			this.dataGrid1.HeaderForeColor = System.Drawing.SystemColors.ControlText;
			this.dataGrid1.Location = new System.Drawing.Point(12, 88);
			this.dataGrid1.Name = "dataGrid1";
			this.dataGrid1.ReadOnly = true;
			this.dataGrid1.RowHeadersVisible = false;
			this.dataGrid1.Size = new System.Drawing.Size(576, 191);
			this.dataGrid1.TabIndex = 2;
			this.dataGrid1.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] {
			this.dataGridTableStyle1});
			// 
			// datasetClients1
			// 
			this.datasetClients1.DataSetName = "DatasetClients";
			this.datasetClients1.Locale = new System.Globalization.CultureInfo("en-US");
			this.datasetClients1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
			// 
			// dataGridTableStyle1
			// 
			this.dataGridTableStyle1.DataGrid = this.dataGrid1;
			this.dataGridTableStyle1.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] {
			this.dataGridTextBoxIPAddress,
			this.dataGridTextBoxLastUpdate});
			this.dataGridTableStyle1.HeaderForeColor = System.Drawing.SystemColors.ControlText;
			this.dataGridTableStyle1.MappingName = "Clients";
			this.dataGridTableStyle1.PreferredColumnWidth = 125;
			this.dataGridTableStyle1.ReadOnly = true;
			this.dataGridTableStyle1.RowHeadersVisible = false;
			// 
			// dataGridTextBoxIPAddress
			// 
			this.dataGridTextBoxIPAddress.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
			this.dataGridTextBoxIPAddress.Format = "";
			this.dataGridTextBoxIPAddress.FormatInfo = null;
			this.dataGridTextBoxIPAddress.HeaderText = "Klient";
			this.dataGridTextBoxIPAddress.MappingName = "IPAddress";
			this.dataGridTextBoxIPAddress.NullText = "";
			this.dataGridTextBoxIPAddress.ReadOnly = true;
			this.dataGridTextBoxIPAddress.Width = 125;
			// 
			// dataGridTextBoxLastUpdate
			// 
			this.dataGridTextBoxLastUpdate.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
			this.dataGridTextBoxLastUpdate.Format = "";
			this.dataGridTextBoxLastUpdate.FormatInfo = null;
			this.dataGridTextBoxLastUpdate.HeaderText = "Senast anslutning";
			this.dataGridTextBoxLastUpdate.MappingName = "LastUpdate";
			this.dataGridTextBoxLastUpdate.NullText = "";
			this.dataGridTextBoxLastUpdate.ReadOnly = true;
			this.dataGridTextBoxLastUpdate.Width = 150;
			// 
			// btnDispose
			// 
			this.btnDispose.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
			this.btnDispose.Location = new System.Drawing.Point(496, 287);
			this.btnDispose.Name = "btnDispose";
			this.btnDispose.Size = new System.Drawing.Size(88, 23);
			this.btnDispose.TabIndex = 3;
			this.btnDispose.Text = "Avsluta server";
			this.btnDispose.Click += new System.EventHandler(this.btnDispose_Click);
			// 
			// timerClientsUpdate
			// 
			this.timerClientsUpdate.Interval = 5000;
			this.timerClientsUpdate.Tick += new System.EventHandler(this.timerClientsUpdate_Tick);
			// 
			// chkWebServer
			// 
			this.chkWebServer.Location = new System.Drawing.Point(96, 58);
			this.chkWebServer.Name = "chkWebServer";
			this.chkWebServer.Size = new System.Drawing.Size(152, 24);
			this.chkWebServer.TabIndex = 6;
			this.chkWebServer.Text = "Kör som webbserver med";
			this.chkWebServer.CheckedChanged += new System.EventHandler(this.chkWebServer_CheckedChanged);
			// 
			// timerKeepConnection
			// 
			this.timerKeepConnection.Interval = 60000;
			this.timerKeepConnection.Tick += new System.EventHandler(this.timerKeepConnection_Tick);
			// 
			// numCasheSeconds
			// 
			this.numCasheSeconds.Increment = new decimal(new int[] {
			10,
			0,
			0,
			0});
			this.numCasheSeconds.Location = new System.Drawing.Point(248, 58);
			this.numCasheSeconds.Maximum = new decimal(new int[] {
			600,
			0,
			0,
			0});
			this.numCasheSeconds.Minimum = new decimal(new int[] {
			10,
			0,
			0,
			0});
			this.numCasheSeconds.Name = "numCasheSeconds";
			this.numCasheSeconds.Size = new System.Drawing.Size(56, 20);
			this.numCasheSeconds.TabIndex = 7;
			this.numCasheSeconds.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
			this.numCasheSeconds.Value = new decimal(new int[] {
			120,
			0,
			0,
			0});
			// 
			// progressBarThreads
			// 
			this.progressBarThreads.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
						| System.Windows.Forms.AnchorStyles.Right)));
			this.progressBarThreads.Location = new System.Drawing.Point(120, 287);
			this.progressBarThreads.Name = "progressBarThreads";
			this.progressBarThreads.Size = new System.Drawing.Size(368, 23);
			this.progressBarThreads.TabIndex = 9;
			this.progressBarThreads.Click += new System.EventHandler(this.progressBarThreads_Click);
			// 
			// timerThreadCount
			// 
			this.timerThreadCount.Enabled = true;
			this.timerThreadCount.Tick += new System.EventHandler(this.timerThreadCount_Tick);
			// 
			// numHttpPort
			// 
			this.numHttpPort.Location = new System.Drawing.Point(441, 58);
			this.numHttpPort.Maximum = new decimal(new int[] {
			89,
			0,
			0,
			0});
			this.numHttpPort.Minimum = new decimal(new int[] {
			80,
			0,
			0,
			0});
			this.numHttpPort.Name = "numHttpPort";
			this.numHttpPort.Size = new System.Drawing.Size(56, 20);
			this.numHttpPort.TabIndex = 11;
			this.numHttpPort.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
			this.numHttpPort.Value = new decimal(new int[] {
			80,
			0,
			0,
			0});
			// 
			// btnBackup
			// 
			this.btnBackup.Location = new System.Drawing.Point(8, 58);
			this.btnBackup.Name = "btnBackup";
			this.btnBackup.Size = new System.Drawing.Size(75, 23);
			this.btnBackup.TabIndex = 12;
			this.btnBackup.Text = "Backup";
			this.btnBackup.UseVisualStyleBackColor = true;
			this.btnBackup.Click += new System.EventHandler(this.btnBackup_Click);
			// 
			// label4
			// 
			this.label4.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
			this.label4.Location = new System.Drawing.Point(8, 287);
			this.label4.Name = "label4";
			this.label4.Size = new System.Drawing.Size(100, 23);
			this.label4.TabIndex = 10;
			this.label4.Text = "Antal trådar";
			// 
			// label3
			// 
			this.label3.Location = new System.Drawing.Point(310, 62);
			this.label3.Name = "label3";
			this.label3.Size = new System.Drawing.Size(144, 16);
			this.label3.TabIndex = 8;
			this.label3.Text = "sekunders cache på port";
			// 
			// txtServerAddress
			// 
			this.txtServerAddress.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
						| System.Windows.Forms.AnchorStyles.Right)));
			this.txtServerAddress.Location = new System.Drawing.Point(96, 32);
			this.txtServerAddress.Name = "txtServerAddress";
			this.txtServerAddress.ReadOnly = true;
			this.txtServerAddress.Size = new System.Drawing.Size(488, 20);
			this.txtServerAddress.TabIndex = 5;
			// 
			// txtFilename
			// 
			this.txtFilename.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
						| System.Windows.Forms.AnchorStyles.Right)));
			this.txtFilename.Location = new System.Drawing.Point(96, 8);
			this.txtFilename.Name = "txtFilename";
			this.txtFilename.ReadOnly = true;
			this.txtFilename.Size = new System.Drawing.Size(488, 20);
			this.txtFilename.TabIndex = 1;
			// 
			// label2
			// 
			this.label2.Location = new System.Drawing.Point(8, 32);
			this.label2.Name = "label2";
			this.label2.Size = new System.Drawing.Size(80, 23);
			this.label2.TabIndex = 4;
			this.label2.Text = "Server adress";
			// 
			// label1
			// 
			this.label1.Location = new System.Drawing.Point(8, 8);
			this.label1.Name = "label1";
			this.label1.Size = new System.Drawing.Size(48, 23);
			this.label1.TabIndex = 0;
			this.label1.Text = "Databas";
			// 
			// FMain
			// 
			this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
			this.ClientSize = new System.Drawing.Size(592, 317);
			this.Controls.Add(this.btnBackup);
			this.Controls.Add(this.numHttpPort);
			this.Controls.Add(this.label4);
			this.Controls.Add(this.progressBarThreads);
			this.Controls.Add(this.label3);
			this.Controls.Add(this.numCasheSeconds);
			this.Controls.Add(this.chkWebServer);
			this.Controls.Add(this.txtServerAddress);
			this.Controls.Add(this.txtFilename);
			this.Controls.Add(this.label2);
			this.Controls.Add(this.btnDispose);
			this.Controls.Add(this.dataGrid1);
			this.Controls.Add(this.label1);
			this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
			this.Name = "FMain";
			this.Text = "WinShooter Server";
			((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.datasetClients1)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.numCasheSeconds)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.numHttpPort)).EndInit();
			this.ResumeLayout(false);
			this.PerformLayout();

		}
Ejemplo n.º 7
0
		/// <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();
			System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(SplashScreen));
			this.lblStatus = new Allberg.Shooter.Windows.Forms.SafeLabel();
			this.pnlStatus = new System.Windows.Forms.Panel();
			this.lblTimeRemaining = new Allberg.Shooter.Windows.Forms.SafeLabel();
			this.timer1 = new System.Windows.Forms.Timer(this.components);
			this.SuspendLayout();
			// 
			// lblStatus
			// 
			this.lblStatus.BackColor = System.Drawing.Color.Transparent;
			this.lblStatus.Location = new System.Drawing.Point(152, 116);
			this.lblStatus.Name = "lblStatus";
			this.lblStatus.Size = new System.Drawing.Size(237, 14);
			this.lblStatus.TabIndex = 0;
			// 
			// pnlStatus
			// 
			this.pnlStatus.BackColor = System.Drawing.Color.Transparent;
			this.pnlStatus.Location = new System.Drawing.Point(152, 138);
			this.pnlStatus.Name = "pnlStatus";
			this.pnlStatus.Size = new System.Drawing.Size(237, 24);
			this.pnlStatus.TabIndex = 1;
			this.pnlStatus.Paint += new System.Windows.Forms.PaintEventHandler(this.pnlStatus_Paint);
			// 
			// lblTimeRemaining
			// 
			this.lblTimeRemaining.BackColor = System.Drawing.Color.Transparent;
			this.lblTimeRemaining.Location = new System.Drawing.Point(152, 169);
			this.lblTimeRemaining.Name = "lblTimeRemaining";
			this.lblTimeRemaining.Size = new System.Drawing.Size(237, 16);
			this.lblTimeRemaining.TabIndex = 2;
			this.lblTimeRemaining.Text = "Time remaining";
			this.lblTimeRemaining.Visible = false;
			// 
			// timer1
			// 
			this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
			// 
			// SplashScreen
			// 
			this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
			this.BackColor = System.Drawing.Color.LightGray;
			this.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("$this.BackgroundImage")));
			this.ClientSize = new System.Drawing.Size(329, 221);
			this.Controls.Add(this.lblTimeRemaining);
			this.Controls.Add(this.pnlStatus);
			this.Controls.Add(this.lblStatus);
			this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
			this.Name = "SplashScreen";
			this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
			this.Text = "SplashScreen";
			this.DoubleClick += new System.EventHandler(this.SplashScreen_DoubleClick);
			this.ResumeLayout(false);

		}
Ejemplo n.º 8
0
 /// <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();
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(FCompetition));
     this.lblName              = new Allberg.Shooter.Windows.Forms.SafeLabel();
     this.txtName              = new Allberg.Shooter.Windows.Forms.SafeTextBox();
     this.btnCancel            = new System.Windows.Forms.Button();
     this.lblStartDate         = new Allberg.Shooter.Windows.Forms.SafeLabel();
     this.dateTimePicker1      = new System.Windows.Forms.DateTimePicker();
     this.lblStartTime         = new Allberg.Shooter.Windows.Forms.SafeLabel();
     this.numStartHour         = new System.Windows.Forms.NumericUpDown();
     this.lblPatrolTime        = new Allberg.Shooter.Windows.Forms.SafeLabel();
     this.numPatrolTime        = new System.Windows.Forms.NumericUpDown();
     this.SafeLabel1           = new Allberg.Shooter.Windows.Forms.SafeLabel();
     this.numPatrolTimeBetween = new System.Windows.Forms.NumericUpDown();
     this.numPatrolSize        = new System.Windows.Forms.NumericUpDown();
     this.SafeLabel2           = new Allberg.Shooter.Windows.Forms.SafeLabel();
     this.SafeLabel3           = new Allberg.Shooter.Windows.Forms.SafeLabel();
     this.numPatrolRest        = new System.Windows.Forms.NumericUpDown();
     this.btnSave              = new System.Windows.Forms.Button();
     this.chkNorwegianCount    = new System.Windows.Forms.CheckBox();
     this.numStartMinute       = new System.Windows.Forms.NumericUpDown();
     this.SafeLabel4           = new Allberg.Shooter.Windows.Forms.SafeLabel();
     this.SafeLabel5           = new Allberg.Shooter.Windows.Forms.SafeLabel();
     this.SafeLabel6           = new Allberg.Shooter.Windows.Forms.SafeLabel();
     this.SafeLabel7           = new Allberg.Shooter.Windows.Forms.SafeLabel();
     this.toolTip1             = new System.Windows.Forms.ToolTip(this.components);
     this.chkFinal             = new System.Windows.Forms.CheckBox();
     this.chkUsePriceMoney     = new System.Windows.Forms.CheckBox();
     this.numPriceMoneyReturn  = new System.Windows.Forms.NumericUpDown();
     this.label1    = new System.Windows.Forms.Label();
     this.groupBox1 = new System.Windows.Forms.GroupBox();
     this.numShoterPercentWithPrice = new System.Windows.Forms.NumericUpDown();
     this.label4        = new System.Windows.Forms.Label();
     this.txtFirstPrice = new System.Windows.Forms.TextBox();
     this.label3        = new System.Windows.Forms.Label();
     this.txtShooterFee = new System.Windows.Forms.TextBox();
     this.label2        = new System.Windows.Forms.Label();
     ((System.ComponentModel.ISupportInitialize)(this.numStartHour)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.numPatrolTime)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.numPatrolTimeBetween)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.numPatrolSize)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.numPatrolRest)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.numStartMinute)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.numPriceMoneyReturn)).BeginInit();
     this.groupBox1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.numShoterPercentWithPrice)).BeginInit();
     this.SuspendLayout();
     //
     // lblName
     //
     this.lblName.Location = new System.Drawing.Point(8, 8);
     this.lblName.Name     = "lblName";
     this.lblName.TabIndex = 0;
     this.lblName.Text     = "Namn";
     //
     // txtName
     //
     this.txtName.Location = new System.Drawing.Point(112, 8);
     this.txtName.Name     = "txtName";
     this.txtName.Size     = new System.Drawing.Size(296, 20);
     this.txtName.TabIndex = 1;
     this.txtName.Text     = "";
     this.toolTip1.SetToolTip(this.txtName, "Fyll i namnet på tävlingen. Detta kommer att bl.a. visas på utskrifter.");
     //
     // btnCancel
     //
     this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.btnCancel.Location     = new System.Drawing.Point(328, 192);
     this.btnCancel.Name         = "btnCancel";
     this.btnCancel.TabIndex     = 17;
     this.btnCancel.Text         = "Stäng";
     this.toolTip1.SetToolTip(this.btnCancel, "Stäng fönstret utan att spara.");
     this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
     //
     // lblStartDate
     //
     this.lblStartDate.Location = new System.Drawing.Point(8, 32);
     this.lblStartDate.Name     = "lblStartDate";
     this.lblStartDate.TabIndex = 3;
     this.lblStartDate.Text     = "Startdatum";
     //
     // dateTimePicker1
     //
     this.dateTimePicker1.Location = new System.Drawing.Point(112, 32);
     this.dateTimePicker1.Name     = "dateTimePicker1";
     this.dateTimePicker1.Size     = new System.Drawing.Size(152, 20);
     this.dateTimePicker1.TabIndex = 2;
     this.toolTip1.SetToolTip(this.dateTimePicker1, "Fyll i datum för tävlingen");
     //
     // lblStartTime
     //
     this.lblStartTime.Location = new System.Drawing.Point(8, 56);
     this.lblStartTime.Name     = "lblStartTime";
     this.lblStartTime.TabIndex = 5;
     this.lblStartTime.Text     = "Starttid";
     //
     // numStartHour
     //
     this.numStartHour.Location = new System.Drawing.Point(112, 56);
     this.numStartHour.Maximum  = new System.Decimal(new int[] {
         23,
         0,
         0,
         0
     });
     this.numStartHour.Name      = "numStartHour";
     this.numStartHour.Size      = new System.Drawing.Size(40, 20);
     this.numStartHour.TabIndex  = 3;
     this.numStartHour.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     this.toolTip1.SetToolTip(this.numStartHour, "Fyll i första patrullens starttid (timme)");
     this.numStartHour.Value = new System.Decimal(new int[] {
         8,
         0,
         0,
         0
     });
     this.numStartHour.KeyUp += new System.Windows.Forms.KeyEventHandler(this.numStartHour_KeyUp);
     //
     // lblPatrolTime
     //
     this.lblPatrolTime.Location = new System.Drawing.Point(8, 80);
     this.lblPatrolTime.Name     = "lblPatrolTime";
     this.lblPatrolTime.TabIndex = 7;
     this.lblPatrolTime.Text     = "Patrulltid";
     //
     // numPatrolTime
     //
     this.numPatrolTime.Location = new System.Drawing.Point(112, 80);
     this.numPatrolTime.Maximum  = new System.Decimal(new int[] {
         240,
         0,
         0,
         0
     });
     this.numPatrolTime.Name      = "numPatrolTime";
     this.numPatrolTime.Size      = new System.Drawing.Size(40, 20);
     this.numPatrolTime.TabIndex  = 5;
     this.numPatrolTime.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     this.toolTip1.SetToolTip(this.numPatrolTime, "Fyll i hur lång tid en patrull beräknas ta på sig för att gå ett varv");
     this.numPatrolTime.Value = new System.Decimal(new int[] {
         60,
         0,
         0,
         0
     });
     this.numPatrolTime.KeyUp += new System.Windows.Forms.KeyEventHandler(this.numPatrolTime_KeyUp);
     //
     // SafeLabel1
     //
     this.SafeLabel1.Location = new System.Drawing.Point(8, 104);
     this.SafeLabel1.Name     = "SafeLabel1";
     this.SafeLabel1.Size     = new System.Drawing.Size(104, 23);
     this.SafeLabel1.TabIndex = 9;
     this.SafeLabel1.Text     = "Tid mellan patruller";
     //
     // numPatrolTimeBetween
     //
     this.numPatrolTimeBetween.Location  = new System.Drawing.Point(112, 104);
     this.numPatrolTimeBetween.Name      = "numPatrolTimeBetween";
     this.numPatrolTimeBetween.Size      = new System.Drawing.Size(40, 20);
     this.numPatrolTimeBetween.TabIndex  = 6;
     this.numPatrolTimeBetween.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     this.toolTip1.SetToolTip(this.numPatrolTimeBetween, "Fyll i hur lång tid det ska vara mellan patrullerna");
     this.numPatrolTimeBetween.Value = new System.Decimal(new int[] {
         10,
         0,
         0,
         0
     });
     this.numPatrolTimeBetween.KeyUp += new System.Windows.Forms.KeyEventHandler(this.numPatrolTimeBetween_KeyUp);
     //
     // numPatrolSize
     //
     this.numPatrolSize.Location = new System.Drawing.Point(112, 128);
     this.numPatrolSize.Maximum  = new System.Decimal(new int[] {
         15,
         0,
         0,
         0
     });
     this.numPatrolSize.Minimum = new System.Decimal(new int[] {
         1,
         0,
         0,
         0
     });
     this.numPatrolSize.Name      = "numPatrolSize";
     this.numPatrolSize.Size      = new System.Drawing.Size(40, 20);
     this.numPatrolSize.TabIndex  = 7;
     this.numPatrolSize.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     this.toolTip1.SetToolTip(this.numPatrolSize, "Fyll i patrullens maxstorlek");
     this.numPatrolSize.Value = new System.Decimal(new int[] {
         8,
         0,
         0,
         0
     });
     this.numPatrolSize.KeyUp += new System.Windows.Forms.KeyEventHandler(this.numPatrolSize_KeyUp);
     //
     // SafeLabel2
     //
     this.SafeLabel2.Location = new System.Drawing.Point(8, 128);
     this.SafeLabel2.Name     = "SafeLabel2";
     this.SafeLabel2.TabIndex = 12;
     this.SafeLabel2.Text     = "Patrullstorlek";
     //
     // SafeLabel3
     //
     this.SafeLabel3.Location = new System.Drawing.Point(8, 152);
     this.SafeLabel3.Name     = "SafeLabel3";
     this.SafeLabel3.TabIndex = 13;
     this.SafeLabel3.Text     = "Vilotid";
     //
     // numPatrolRest
     //
     this.numPatrolRest.Location  = new System.Drawing.Point(112, 152);
     this.numPatrolRest.Name      = "numPatrolRest";
     this.numPatrolRest.Size      = new System.Drawing.Size(40, 20);
     this.numPatrolRest.TabIndex  = 8;
     this.numPatrolRest.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     this.toolTip1.SetToolTip(this.numPatrolRest, "Fyll i vilotiden. Det är tiden från att en patrull ska vara tillbaka tills en sky" +
                              "tt kan planeras in i nästa patrull");
     this.numPatrolRest.KeyUp += new System.Windows.Forms.KeyEventHandler(this.numPatrolRest_KeyUp);
     //
     // btnSave
     //
     this.btnSave.Location = new System.Drawing.Point(248, 192);
     this.btnSave.Name     = "btnSave";
     this.btnSave.TabIndex = 16;
     this.btnSave.Text     = "Spara";
     this.toolTip1.SetToolTip(this.btnSave, "Spara tävlingsinformation samt stäng fönstret");
     this.btnSave.Click += new System.EventHandler(this.btnSave_Click);
     //
     // chkNorwegianCount
     //
     this.chkNorwegianCount.Location = new System.Drawing.Point(72, 176);
     this.chkNorwegianCount.Name     = "chkNorwegianCount";
     this.chkNorwegianCount.Size     = new System.Drawing.Size(136, 24);
     this.chkNorwegianCount.TabIndex = 9;
     this.chkNorwegianCount.Text     = "Poängfältskjutning";
     this.toolTip1.SetToolTip(this.chkNorwegianCount, "Här väljer du om det ska vara poängfältskjutning, vilket också kallas för norsk r" +
                              "äkning");
     //
     // numStartMinute
     //
     this.numStartMinute.Increment = new System.Decimal(new int[] {
         5,
         0,
         0,
         0
     });
     this.numStartMinute.Location = new System.Drawing.Point(160, 56);
     this.numStartMinute.Maximum  = new System.Decimal(new int[] {
         55,
         0,
         0,
         0
     });
     this.numStartMinute.Name      = "numStartMinute";
     this.numStartMinute.Size      = new System.Drawing.Size(40, 20);
     this.numStartMinute.TabIndex  = 4;
     this.numStartMinute.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     this.toolTip1.SetToolTip(this.numStartMinute, "Fyll i första patrullens starttid (minut)");
     this.numStartMinute.KeyUp += new System.Windows.Forms.KeyEventHandler(this.numStartMinute_KeyUp);
     //
     // SafeLabel4
     //
     this.SafeLabel4.Location = new System.Drawing.Point(160, 80);
     this.SafeLabel4.Name     = "SafeLabel4";
     this.SafeLabel4.Size     = new System.Drawing.Size(48, 23);
     this.SafeLabel4.TabIndex = 14;
     this.SafeLabel4.Text     = "minuter";
     //
     // SafeLabel5
     //
     this.SafeLabel5.Location = new System.Drawing.Point(160, 104);
     this.SafeLabel5.Name     = "SafeLabel5";
     this.SafeLabel5.Size     = new System.Drawing.Size(48, 23);
     this.SafeLabel5.TabIndex = 15;
     this.SafeLabel5.Text     = "minuter";
     //
     // SafeLabel6
     //
     this.SafeLabel6.Location = new System.Drawing.Point(160, 152);
     this.SafeLabel6.Name     = "SafeLabel6";
     this.SafeLabel6.Size     = new System.Drawing.Size(48, 23);
     this.SafeLabel6.TabIndex = 16;
     this.SafeLabel6.Text     = "minuter";
     //
     // SafeLabel7
     //
     this.SafeLabel7.Location = new System.Drawing.Point(160, 128);
     this.SafeLabel7.Name     = "SafeLabel7";
     this.SafeLabel7.Size     = new System.Drawing.Size(48, 23);
     this.SafeLabel7.TabIndex = 17;
     this.SafeLabel7.Text     = "stycken";
     //
     // chkFinal
     //
     this.chkFinal.Location = new System.Drawing.Point(72, 200);
     this.chkFinal.Name     = "chkFinal";
     this.chkFinal.Size     = new System.Drawing.Size(136, 24);
     this.chkFinal.TabIndex = 10;
     this.chkFinal.Text     = "Särskjutning";
     this.toolTip1.SetToolTip(this.chkFinal, "Här väljer du om det ska vara särskjutning");
     //
     // chkUsePriceMoney
     //
     this.chkUsePriceMoney.Location        = new System.Drawing.Point(8, 16);
     this.chkUsePriceMoney.Name            = "chkUsePriceMoney";
     this.chkUsePriceMoney.Size            = new System.Drawing.Size(88, 24);
     this.chkUsePriceMoney.TabIndex        = 11;
     this.chkUsePriceMoney.Text            = "Prispengar";
     this.chkUsePriceMoney.CheckedChanged += new System.EventHandler(this.chkUsePriceMoney_CheckedChanged);
     //
     // numPriceMoneyReturn
     //
     this.numPriceMoneyReturn.Increment = new System.Decimal(new int[] {
         5,
         0,
         0,
         0
     });
     this.numPriceMoneyReturn.Location = new System.Drawing.Point(136, 32);
     this.numPriceMoneyReturn.Minimum  = new System.Decimal(new int[] {
         5,
         0,
         0,
         0
     });
     this.numPriceMoneyReturn.Name      = "numPriceMoneyReturn";
     this.numPriceMoneyReturn.ReadOnly  = true;
     this.numPriceMoneyReturn.Size      = new System.Drawing.Size(48, 20);
     this.numPriceMoneyReturn.TabIndex  = 12;
     this.numPriceMoneyReturn.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     this.numPriceMoneyReturn.Value     = new System.Decimal(new int[] {
         40,
         0,
         0,
         0
     });
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(8, 40);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(96, 23);
     this.label1.TabIndex = 21;
     this.label1.Text     = "Återbetalning (%)";
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.numShoterPercentWithPrice);
     this.groupBox1.Controls.Add(this.label4);
     this.groupBox1.Controls.Add(this.txtFirstPrice);
     this.groupBox1.Controls.Add(this.label3);
     this.groupBox1.Controls.Add(this.txtShooterFee);
     this.groupBox1.Controls.Add(this.label2);
     this.groupBox1.Controls.Add(this.chkUsePriceMoney);
     this.groupBox1.Controls.Add(this.label1);
     this.groupBox1.Controls.Add(this.numPriceMoneyReturn);
     this.groupBox1.Location = new System.Drawing.Point(216, 56);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(192, 128);
     this.groupBox1.TabIndex = 22;
     this.groupBox1.TabStop  = false;
     this.groupBox1.Text     = "Prispengar";
     //
     // numShoterPercentWithPrice
     //
     this.numShoterPercentWithPrice.Increment = new System.Decimal(new int[] {
         5,
         0,
         0,
         0
     });
     this.numShoterPercentWithPrice.Location = new System.Drawing.Point(136, 56);
     this.numShoterPercentWithPrice.Minimum  = new System.Decimal(new int[] {
         5,
         0,
         0,
         0
     });
     this.numShoterPercentWithPrice.Name      = "numShoterPercentWithPrice";
     this.numShoterPercentWithPrice.ReadOnly  = true;
     this.numShoterPercentWithPrice.Size      = new System.Drawing.Size(48, 20);
     this.numShoterPercentWithPrice.TabIndex  = 13;
     this.numShoterPercentWithPrice.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     this.numShoterPercentWithPrice.Value     = new System.Decimal(new int[] {
         25,
         0,
         0,
         0
     });
     //
     // label4
     //
     this.label4.Location = new System.Drawing.Point(8, 56);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(112, 16);
     this.label4.TabIndex = 26;
     this.label4.Text     = "Skyttar med pris (%)";
     //
     // txtFirstPrice
     //
     this.txtFirstPrice.Location  = new System.Drawing.Point(120, 104);
     this.txtFirstPrice.Name      = "txtFirstPrice";
     this.txtFirstPrice.ReadOnly  = true;
     this.txtFirstPrice.Size      = new System.Drawing.Size(64, 20);
     this.txtFirstPrice.TabIndex  = 15;
     this.txtFirstPrice.Text      = "250";
     this.txtFirstPrice.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     //
     // label3
     //
     this.label3.Location = new System.Drawing.Point(8, 104);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(100, 20);
     this.label3.TabIndex = 24;
     this.label3.Text     = "Förstapris";
     //
     // txtShooterFee
     //
     this.txtShooterFee.Location  = new System.Drawing.Point(120, 80);
     this.txtShooterFee.Name      = "txtShooterFee";
     this.txtShooterFee.ReadOnly  = true;
     this.txtShooterFee.Size      = new System.Drawing.Size(64, 20);
     this.txtShooterFee.TabIndex  = 14;
     this.txtShooterFee.Text      = "100";
     this.txtShooterFee.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(8, 80);
     this.label2.Name     = "label2";
     this.label2.TabIndex = 22;
     this.label2.Text     = "Anmälningsavgift";
     //
     // FCompetition
     //
     this.AcceptButton      = this.btnSave;
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.CancelButton      = this.btnCancel;
     this.ClientSize        = new System.Drawing.Size(416, 230);
     this.Controls.Add(this.groupBox1);
     this.Controls.Add(this.chkFinal);
     this.Controls.Add(this.SafeLabel7);
     this.Controls.Add(this.SafeLabel6);
     this.Controls.Add(this.SafeLabel5);
     this.Controls.Add(this.SafeLabel4);
     this.Controls.Add(this.numStartMinute);
     this.Controls.Add(this.chkNorwegianCount);
     this.Controls.Add(this.btnSave);
     this.Controls.Add(this.numPatrolRest);
     this.Controls.Add(this.SafeLabel3);
     this.Controls.Add(this.SafeLabel2);
     this.Controls.Add(this.numPatrolSize);
     this.Controls.Add(this.numPatrolTimeBetween);
     this.Controls.Add(this.SafeLabel1);
     this.Controls.Add(this.numPatrolTime);
     this.Controls.Add(this.lblPatrolTime);
     this.Controls.Add(this.numStartHour);
     this.Controls.Add(this.lblStartTime);
     this.Controls.Add(this.dateTimePicker1);
     this.Controls.Add(this.lblStartDate);
     this.Controls.Add(this.btnCancel);
     this.Controls.Add(this.txtName);
     this.Controls.Add(this.lblName);
     this.Icon        = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox = false;
     this.MinimizeBox = false;
     this.Name        = "FCompetition";
     this.Text        = "Tävlingsinfo";
     ((System.ComponentModel.ISupportInitialize)(this.numStartHour)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.numPatrolTime)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.numPatrolTimeBetween)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.numPatrolSize)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.numPatrolRest)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.numStartMinute)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.numPriceMoneyReturn)).EndInit();
     this.groupBox1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.numShoterPercentWithPrice)).EndInit();
     this.ResumeLayout(false);
 }