コード例 #1
0
        private void createDatasetPatrol()
        {
            Trace.WriteLine("FPatrol: createDatasetPatrol started on thread \"" +
                            Thread.CurrentThread.Name + "\" ( " +
                            Thread.CurrentThread.ManagedThreadId.ToString() + " )");

            this.datasetPatrol = new DatasetPatrol();

            Trace.WriteLine("FPatrol: createDatasetPatrol ended.");
        }
コード例 #2
0
		private void createDatasetPatrol()
		{
			Trace.WriteLine("FPatrol: createDatasetPatrol started on thread \"" +
				Thread.CurrentThread.Name + "\" ( " +
				Thread.CurrentThread.ManagedThreadId.ToString() + " )");

			this.datasetPatrol = new DatasetPatrol();

			Trace.WriteLine("FPatrol: createDatasetPatrol ended.");
		}
コード例 #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.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FPatrol));
     this.datasetPatrol                 = new Allberg.Shooter.Windows.DatasetPatrol();
     this.dataGridAssigned              = new System.Windows.Forms.DataGrid();
     this.dataGridTableStyleAssigned    = new System.Windows.Forms.DataGridTableStyle();
     this.dataGridAssignedMove          = new System.Windows.Forms.DataGridBoolColumn();
     this.dataGridAssignedLane          = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridAssignedName          = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridAssignedClub          = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridAssignedWeaponClass   = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridAssignedWeapon        = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridUnassigned            = new System.Windows.Forms.DataGrid();
     this.dataGridTableStyleUnassigned  = new System.Windows.Forms.DataGridTableStyle();
     this.dataGridUnassignedLane        = new System.Windows.Forms.DataGridBoolColumn();
     this.dataGridUnassignedName        = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridUnassignedClub        = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridUnassignedWeaponClass = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridUnassignedWeapon      = new System.Windows.Forms.DataGridTextBoxColumn();
     this.toolTip1                       = new System.Windows.Forms.ToolTip(this.components);
     this.timePatrol                     = new Allberg.Shooter.Windows.Forms.SafeDateTimePicker();
     this.btnMoveDown                    = new SafeButton();
     this.btnMoveUp                      = new SafeButton();
     this.btnRemoveFromPatrol            = new SafeButton();
     this.btnAddToPatrol                 = new SafeButton();
     this.chkUseAutomaticTime            = new Allberg.Shooter.Windows.Forms.SafeCheckBox();
     this.safeLabel1                     = new SafeLabel();
     this.lblPatrolClass                 = new SafeLabel();
     this.SafeLabel2                     = new SafeLabel();
     this.lblPatrol                      = new SafeLabel();
     this.lblPatrolnumber                = new SafeLabel();
     this.chkBlockThisPatrolForAutomatic = new System.Windows.Forms.CheckBox();
     ((System.ComponentModel.ISupportInitialize)(this.datasetPatrol)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dataGridAssigned)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dataGridUnassigned)).BeginInit();
     this.SuspendLayout();
     //
     // datasetPatrol
     //
     this.datasetPatrol.DataSetName             = "DatasetPatrol";
     this.datasetPatrol.Locale                  = new System.Globalization.CultureInfo("en-US");
     this.datasetPatrol.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
     //
     // dataGridAssigned
     //
     this.dataGridAssigned.AllowNavigation = false;
     this.dataGridAssigned.Anchor          = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                                   | System.Windows.Forms.AnchorStyles.Left)));
     this.dataGridAssigned.CaptionText     = "Skyttar i patrullen";
     this.dataGridAssigned.DataMember      = "shooters";
     this.dataGridAssigned.DataSource      = this.datasetPatrol;
     this.dataGridAssigned.HeaderForeColor = System.Drawing.SystemColors.ControlText;
     this.dataGridAssigned.Location        = new System.Drawing.Point(8, 47);
     this.dataGridAssigned.Name            = "dataGridAssigned";
     this.dataGridAssigned.Size            = new System.Drawing.Size(272, 244);
     this.dataGridAssigned.TabIndex        = 6;
     this.dataGridAssigned.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] {
         this.dataGridTableStyleAssigned
     });
     this.toolTip1.SetToolTip(this.dataGridAssigned, "Skyttar som redan finns i patrullen");
     //
     // dataGridTableStyleAssigned
     //
     this.dataGridTableStyleAssigned.DataGrid = this.dataGridAssigned;
     this.dataGridTableStyleAssigned.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] {
         this.dataGridAssignedMove,
         this.dataGridAssignedLane,
         this.dataGridAssignedName,
         this.dataGridAssignedClub,
         this.dataGridAssignedWeaponClass,
         this.dataGridAssignedWeapon
     });
     this.dataGridTableStyleAssigned.HeaderForeColor   = System.Drawing.SystemColors.ControlText;
     this.dataGridTableStyleAssigned.MappingName       = "shooters";
     this.dataGridTableStyleAssigned.RowHeadersVisible = false;
     //
     // dataGridAssignedMove
     //
     this.dataGridAssignedMove.Alignment   = System.Windows.Forms.HorizontalAlignment.Center;
     this.dataGridAssignedMove.AllowNull   = false;
     this.dataGridAssignedMove.MappingName = "Move";
     this.dataGridAssignedMove.Width       = 20;
     //
     // dataGridAssignedLane
     //
     this.dataGridAssignedLane.Alignment   = System.Windows.Forms.HorizontalAlignment.Center;
     this.dataGridAssignedLane.Format      = "";
     this.dataGridAssignedLane.FormatInfo  = null;
     this.dataGridAssignedLane.HeaderText  = "Bana";
     this.dataGridAssignedLane.MappingName = "Lane";
     this.dataGridAssignedLane.ReadOnly    = true;
     this.dataGridAssignedLane.Width       = 40;
     //
     // dataGridAssignedName
     //
     this.dataGridAssignedName.Format      = "";
     this.dataGridAssignedName.FormatInfo  = null;
     this.dataGridAssignedName.HeaderText  = "Namn";
     this.dataGridAssignedName.MappingName = "Name";
     this.dataGridAssignedName.ReadOnly    = true;
     this.dataGridAssignedName.Width       = 75;
     //
     // dataGridAssignedClub
     //
     this.dataGridAssignedClub.Format      = "";
     this.dataGridAssignedClub.FormatInfo  = null;
     this.dataGridAssignedClub.HeaderText  = "Klubb";
     this.dataGridAssignedClub.MappingName = "Club";
     this.dataGridAssignedClub.ReadOnly    = true;
     this.dataGridAssignedClub.Width       = 75;
     //
     // dataGridAssignedWeaponClass
     //
     this.dataGridAssignedWeaponClass.Alignment   = System.Windows.Forms.HorizontalAlignment.Center;
     this.dataGridAssignedWeaponClass.Format      = "";
     this.dataGridAssignedWeaponClass.FormatInfo  = null;
     this.dataGridAssignedWeaponClass.HeaderText  = "Klass";
     this.dataGridAssignedWeaponClass.MappingName = "WeaponClass";
     this.dataGridAssignedWeaponClass.NullText    = "";
     this.dataGridAssignedWeaponClass.ReadOnly    = true;
     this.dataGridAssignedWeaponClass.Width       = 40;
     //
     // dataGridAssignedWeapon
     //
     this.dataGridAssignedWeapon.Format      = "";
     this.dataGridAssignedWeapon.FormatInfo  = null;
     this.dataGridAssignedWeapon.HeaderText  = "Vapen";
     this.dataGridAssignedWeapon.MappingName = "Weapon";
     this.dataGridAssignedWeapon.ReadOnly    = true;
     this.dataGridAssignedWeapon.Width       = 75;
     //
     // dataGridUnassigned
     //
     this.dataGridUnassigned.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                            | System.Windows.Forms.AnchorStyles.Right)));
     this.dataGridUnassigned.CaptionText     = "Skyttar utan patrull";
     this.dataGridUnassigned.DataMember      = "unassigned";
     this.dataGridUnassigned.DataSource      = this.datasetPatrol;
     this.dataGridUnassigned.HeaderForeColor = System.Drawing.SystemColors.ControlText;
     this.dataGridUnassigned.Location        = new System.Drawing.Point(318, 47);
     this.dataGridUnassigned.Name            = "dataGridUnassigned";
     this.dataGridUnassigned.Size            = new System.Drawing.Size(272, 244);
     this.dataGridUnassigned.TabIndex        = 9;
     this.dataGridUnassigned.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] {
         this.dataGridTableStyleUnassigned
     });
     this.toolTip1.SetToolTip(this.dataGridUnassigned, "Skyttar som inte blivit tilldelad någon patrull");
     //
     // dataGridTableStyleUnassigned
     //
     this.dataGridTableStyleUnassigned.DataGrid = this.dataGridUnassigned;
     this.dataGridTableStyleUnassigned.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] {
         this.dataGridUnassignedLane,
         this.dataGridUnassignedName,
         this.dataGridUnassignedClub,
         this.dataGridUnassignedWeaponClass,
         this.dataGridUnassignedWeapon
     });
     this.dataGridTableStyleUnassigned.HeaderForeColor   = System.Drawing.SystemColors.ControlText;
     this.dataGridTableStyleUnassigned.MappingName       = "unassigned";
     this.dataGridTableStyleUnassigned.RowHeadersVisible = false;
     //
     // dataGridUnassignedLane
     //
     this.dataGridUnassignedLane.AllowNull   = false;
     this.dataGridUnassignedLane.MappingName = "Move";
     this.dataGridUnassignedLane.Width       = 20;
     //
     // dataGridUnassignedName
     //
     this.dataGridUnassignedName.Format      = "";
     this.dataGridUnassignedName.FormatInfo  = null;
     this.dataGridUnassignedName.HeaderText  = "Namn";
     this.dataGridUnassignedName.MappingName = "Name";
     this.dataGridUnassignedName.ReadOnly    = true;
     this.dataGridUnassignedName.Width       = 75;
     //
     // dataGridUnassignedClub
     //
     this.dataGridUnassignedClub.Format      = "";
     this.dataGridUnassignedClub.FormatInfo  = null;
     this.dataGridUnassignedClub.HeaderText  = "Klubb";
     this.dataGridUnassignedClub.MappingName = "Club";
     this.dataGridUnassignedClub.ReadOnly    = true;
     this.dataGridUnassignedClub.Width       = 75;
     //
     // dataGridUnassignedWeaponClass
     //
     this.dataGridUnassignedWeaponClass.Alignment   = System.Windows.Forms.HorizontalAlignment.Center;
     this.dataGridUnassignedWeaponClass.Format      = "";
     this.dataGridUnassignedWeaponClass.FormatInfo  = null;
     this.dataGridUnassignedWeaponClass.HeaderText  = "Klass";
     this.dataGridUnassignedWeaponClass.MappingName = "WeaponClass";
     this.dataGridUnassignedWeaponClass.NullText    = "";
     this.dataGridUnassignedWeaponClass.ReadOnly    = true;
     this.dataGridUnassignedWeaponClass.Width       = 40;
     //
     // dataGridUnassignedWeapon
     //
     this.dataGridUnassignedWeapon.Format      = "";
     this.dataGridUnassignedWeapon.FormatInfo  = null;
     this.dataGridUnassignedWeapon.HeaderText  = "Vapen";
     this.dataGridUnassignedWeapon.MappingName = "Weapon";
     this.dataGridUnassignedWeapon.ReadOnly    = true;
     this.dataGridUnassignedWeapon.Width       = 75;
     //
     // timePatrol
     //
     this.timePatrol.CustomFormat = "hh:mm";
     this.timePatrol.Enabled      = false;
     this.timePatrol.Format       = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.timePatrol.Location     = new System.Drawing.Point(276, 6);
     this.timePatrol.Name         = "timePatrol";
     this.timePatrol.ShowUpDown   = true;
     this.timePatrol.Size         = new System.Drawing.Size(73, 20);
     this.timePatrol.TabIndex     = 14;
     this.toolTip1.SetToolTip(this.timePatrol, "Patrullens starttid kan sättas till annan tid än den som automatiskt sätts");
     this.timePatrol.Value         = new System.DateTime(2006, 6, 13, 19, 2, 18, 562);
     this.timePatrol.ValueChanged += new System.EventHandler(this.timePatrol_ValueChanged);
     //
     // btnMoveDown
     //
     this.btnMoveDown.Font     = new System.Drawing.Font("Symbol", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btnMoveDown.Location = new System.Drawing.Point(280, 128);
     this.btnMoveDown.Name     = "btnMoveDown";
     this.btnMoveDown.Size     = new System.Drawing.Size(32, 23);
     this.btnMoveDown.TabIndex = 11;
     this.btnMoveDown.Text     = "ß";
     this.toolTip1.SetToolTip(this.btnMoveDown, "Flytta skyttar till en senare bana");
     this.btnMoveDown.Click += new System.EventHandler(this.btnMoveDown_Click);
     //
     // btnMoveUp
     //
     this.btnMoveUp.Font     = new System.Drawing.Font("Symbol", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btnMoveUp.Location = new System.Drawing.Point(280, 104);
     this.btnMoveUp.Name     = "btnMoveUp";
     this.btnMoveUp.Size     = new System.Drawing.Size(32, 23);
     this.btnMoveUp.TabIndex = 10;
     this.btnMoveUp.Text     = "Ý";
     this.toolTip1.SetToolTip(this.btnMoveUp, "Flytta skyttar till en tidigare bana");
     this.btnMoveUp.Click += new System.EventHandler(this.btnMoveUp_Click);
     //
     // btnRemoveFromPatrol
     //
     this.btnRemoveFromPatrol.Font     = new System.Drawing.Font("Symbol", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btnRemoveFromPatrol.Location = new System.Drawing.Point(280, 56);
     this.btnRemoveFromPatrol.Name     = "btnRemoveFromPatrol";
     this.btnRemoveFromPatrol.Size     = new System.Drawing.Size(32, 23);
     this.btnRemoveFromPatrol.TabIndex = 8;
     this.btnRemoveFromPatrol.Text     = "Þ";
     this.toolTip1.SetToolTip(this.btnRemoveFromPatrol, "Ta bort skyttar ur patrullen");
     this.btnRemoveFromPatrol.Click += new System.EventHandler(this.btnRemoveFromPatrol_Click);
     //
     // btnAddToPatrol
     //
     this.btnAddToPatrol.Font     = new System.Drawing.Font("Symbol", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btnAddToPatrol.Location = new System.Drawing.Point(280, 80);
     this.btnAddToPatrol.Name     = "btnAddToPatrol";
     this.btnAddToPatrol.Size     = new System.Drawing.Size(32, 23);
     this.btnAddToPatrol.TabIndex = 7;
     this.btnAddToPatrol.Text     = "Ü";
     this.toolTip1.SetToolTip(this.btnAddToPatrol, "Lägg till skyttar i patrullen");
     this.btnAddToPatrol.Click += new System.EventHandler(this.btnAddToPatrol_Click);
     //
     // chkUseAutomaticTime
     //
     this.chkUseAutomaticTime.AutoSize = true;
     this.chkUseAutomaticTime.Location = new System.Drawing.Point(355, 8);
     this.chkUseAutomaticTime.Name     = "chkUseAutomaticTime";
     this.chkUseAutomaticTime.Size     = new System.Drawing.Size(131, 17);
     this.chkUseAutomaticTime.TabIndex = 15;
     this.chkUseAutomaticTime.Text     = "Använd automatisk tid";
     this.chkUseAutomaticTime.UseVisualStyleBackColor = true;
     this.chkUseAutomaticTime.CheckedChanged         += new System.EventHandler(this.chkUseAutomaticTime_CheckedChanged);
     //
     // safeLabel1
     //
     this.safeLabel1.AutoSize = true;
     this.safeLabel1.Location = new System.Drawing.Point(230, 8);
     this.safeLabel1.Name     = "safeLabel1";
     this.safeLabel1.Size     = new System.Drawing.Size(40, 13);
     this.safeLabel1.TabIndex = 13;
     this.safeLabel1.Text     = "Starttid";
     //
     // lblPatrolClass
     //
     this.lblPatrolClass.Location = new System.Drawing.Point(184, 8);
     this.lblPatrolClass.Name     = "lblPatrolClass";
     this.lblPatrolClass.Size     = new System.Drawing.Size(40, 23);
     this.lblPatrolClass.TabIndex = 5;
     this.lblPatrolClass.Text     = "Klass1";
     //
     // SafeLabel2
     //
     this.SafeLabel2.Font     = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.SafeLabel2.Location = new System.Drawing.Point(136, 8);
     this.SafeLabel2.Name     = "SafeLabel2";
     this.SafeLabel2.Size     = new System.Drawing.Size(40, 23);
     this.SafeLabel2.TabIndex = 4;
     this.SafeLabel2.Text     = "Klass";
     //
     // lblPatrol
     //
     this.lblPatrol.Location  = new System.Drawing.Point(96, 8);
     this.lblPatrol.Name      = "lblPatrol";
     this.lblPatrol.Size      = new System.Drawing.Size(32, 23);
     this.lblPatrol.TabIndex  = 3;
     this.lblPatrol.Text      = "0";
     this.lblPatrol.TextAlign = System.Drawing.ContentAlignment.TopRight;
     //
     // lblPatrolnumber
     //
     this.lblPatrolnumber.Font     = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblPatrolnumber.Location = new System.Drawing.Point(8, 8);
     this.lblPatrolnumber.Name     = "lblPatrolnumber";
     this.lblPatrolnumber.Size     = new System.Drawing.Size(88, 23);
     this.lblPatrolnumber.TabIndex = 2;
     this.lblPatrolnumber.Text     = "Patrullnummer";
     //
     // chkBlockThisPatrolForAutomatic
     //
     this.chkBlockThisPatrolForAutomatic.AutoSize = true;
     this.chkBlockThisPatrolForAutomatic.Location = new System.Drawing.Point(12, 24);
     this.chkBlockThisPatrolForAutomatic.Name     = "chkBlockThisPatrolForAutomatic";
     this.chkBlockThisPatrolForAutomatic.Size     = new System.Drawing.Size(233, 17);
     this.chkBlockThisPatrolForAutomatic.TabIndex = 16;
     this.chkBlockThisPatrolForAutomatic.Text     = "Stäng denna patrull för automatisk placering";
     this.chkBlockThisPatrolForAutomatic.UseVisualStyleBackColor = true;
     this.chkBlockThisPatrolForAutomatic.CheckedChanged         += new System.EventHandler(this.chkBlockThisPatrolForAutomatic_CheckedChanged);
     //
     // FPatrol
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(598, 297);
     this.Controls.Add(this.chkBlockThisPatrolForAutomatic);
     this.Controls.Add(this.chkUseAutomaticTime);
     this.Controls.Add(this.timePatrol);
     this.Controls.Add(this.safeLabel1);
     this.Controls.Add(this.btnMoveDown);
     this.Controls.Add(this.btnMoveUp);
     this.Controls.Add(this.dataGridUnassigned);
     this.Controls.Add(this.btnRemoveFromPatrol);
     this.Controls.Add(this.btnAddToPatrol);
     this.Controls.Add(this.dataGridAssigned);
     this.Controls.Add(this.lblPatrolClass);
     this.Controls.Add(this.SafeLabel2);
     this.Controls.Add(this.lblPatrol);
     this.Controls.Add(this.lblPatrolnumber);
     this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name = "FPatrol";
     this.Text = "Patrull";
     ((System.ComponentModel.ISupportInitialize)(this.datasetPatrol)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dataGridAssigned)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dataGridUnassigned)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #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(FPatrol));
			this.datasetPatrol = new Allberg.Shooter.Windows.DatasetPatrol();
			this.dataGridAssigned = new System.Windows.Forms.DataGrid();
			this.dataGridTableStyleAssigned = new System.Windows.Forms.DataGridTableStyle();
			this.dataGridAssignedMove = new System.Windows.Forms.DataGridBoolColumn();
			this.dataGridAssignedLane = new System.Windows.Forms.DataGridTextBoxColumn();
			this.dataGridAssignedName = new System.Windows.Forms.DataGridTextBoxColumn();
			this.dataGridAssignedClub = new System.Windows.Forms.DataGridTextBoxColumn();
			this.dataGridAssignedWeaponClass = new System.Windows.Forms.DataGridTextBoxColumn();
			this.dataGridAssignedWeapon = new System.Windows.Forms.DataGridTextBoxColumn();
			this.dataGridUnassigned = new System.Windows.Forms.DataGrid();
			this.dataGridTableStyleUnassigned = new System.Windows.Forms.DataGridTableStyle();
			this.dataGridUnassignedLane = new System.Windows.Forms.DataGridBoolColumn();
			this.dataGridUnassignedName = new System.Windows.Forms.DataGridTextBoxColumn();
			this.dataGridUnassignedClub = new System.Windows.Forms.DataGridTextBoxColumn();
			this.dataGridUnassignedWeaponClass = new System.Windows.Forms.DataGridTextBoxColumn();
			this.dataGridUnassignedWeapon = new System.Windows.Forms.DataGridTextBoxColumn();
			this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
			this.timePatrol = new Allberg.Shooter.Windows.Forms.SafeDateTimePicker();
			this.btnMoveDown = new SafeButton();
			this.btnMoveUp = new SafeButton();
			this.btnRemoveFromPatrol = new SafeButton();
			this.btnAddToPatrol = new SafeButton();
			this.chkUseAutomaticTime = new Allberg.Shooter.Windows.Forms.SafeCheckBox();
			this.safeLabel1 = new SafeLabel();
			this.lblPatrolClass = new SafeLabel();
			this.SafeLabel2 = new SafeLabel();
			this.lblPatrol = new SafeLabel();
			this.lblPatrolnumber = new SafeLabel();
			this.chkBlockThisPatrolForAutomatic = new System.Windows.Forms.CheckBox();
			((System.ComponentModel.ISupportInitialize)(this.datasetPatrol)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.dataGridAssigned)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.dataGridUnassigned)).BeginInit();
			this.SuspendLayout();
			// 
			// datasetPatrol
			// 
			this.datasetPatrol.DataSetName = "DatasetPatrol";
			this.datasetPatrol.Locale = new System.Globalization.CultureInfo("en-US");
			this.datasetPatrol.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
			// 
			// dataGridAssigned
			// 
			this.dataGridAssigned.AllowNavigation = false;
			this.dataGridAssigned.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
						| System.Windows.Forms.AnchorStyles.Left)));
			this.dataGridAssigned.CaptionText = "Skyttar i patrullen";
			this.dataGridAssigned.DataMember = "shooters";
			this.dataGridAssigned.DataSource = this.datasetPatrol;
			this.dataGridAssigned.HeaderForeColor = System.Drawing.SystemColors.ControlText;
			this.dataGridAssigned.Location = new System.Drawing.Point(8, 47);
			this.dataGridAssigned.Name = "dataGridAssigned";
			this.dataGridAssigned.Size = new System.Drawing.Size(272, 244);
			this.dataGridAssigned.TabIndex = 6;
			this.dataGridAssigned.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] {
			this.dataGridTableStyleAssigned});
			this.toolTip1.SetToolTip(this.dataGridAssigned, "Skyttar som redan finns i patrullen");
			// 
			// dataGridTableStyleAssigned
			// 
			this.dataGridTableStyleAssigned.DataGrid = this.dataGridAssigned;
			this.dataGridTableStyleAssigned.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] {
			this.dataGridAssignedMove,
			this.dataGridAssignedLane,
			this.dataGridAssignedName,
			this.dataGridAssignedClub,
			this.dataGridAssignedWeaponClass,
			this.dataGridAssignedWeapon});
			this.dataGridTableStyleAssigned.HeaderForeColor = System.Drawing.SystemColors.ControlText;
			this.dataGridTableStyleAssigned.MappingName = "shooters";
			this.dataGridTableStyleAssigned.RowHeadersVisible = false;
			// 
			// dataGridAssignedMove
			// 
			this.dataGridAssignedMove.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
			this.dataGridAssignedMove.AllowNull = false;
			this.dataGridAssignedMove.MappingName = "Move";
			this.dataGridAssignedMove.Width = 20;
			// 
			// dataGridAssignedLane
			// 
			this.dataGridAssignedLane.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
			this.dataGridAssignedLane.Format = "";
			this.dataGridAssignedLane.FormatInfo = null;
			this.dataGridAssignedLane.HeaderText = "Bana";
			this.dataGridAssignedLane.MappingName = "Lane";
			this.dataGridAssignedLane.ReadOnly = true;
			this.dataGridAssignedLane.Width = 40;
			// 
			// dataGridAssignedName
			// 
			this.dataGridAssignedName.Format = "";
			this.dataGridAssignedName.FormatInfo = null;
			this.dataGridAssignedName.HeaderText = "Namn";
			this.dataGridAssignedName.MappingName = "Name";
			this.dataGridAssignedName.ReadOnly = true;
			this.dataGridAssignedName.Width = 75;
			// 
			// dataGridAssignedClub
			// 
			this.dataGridAssignedClub.Format = "";
			this.dataGridAssignedClub.FormatInfo = null;
			this.dataGridAssignedClub.HeaderText = "Klubb";
			this.dataGridAssignedClub.MappingName = "Club";
			this.dataGridAssignedClub.ReadOnly = true;
			this.dataGridAssignedClub.Width = 75;
			// 
			// dataGridAssignedWeaponClass
			// 
			this.dataGridAssignedWeaponClass.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
			this.dataGridAssignedWeaponClass.Format = "";
			this.dataGridAssignedWeaponClass.FormatInfo = null;
			this.dataGridAssignedWeaponClass.HeaderText = "Klass";
			this.dataGridAssignedWeaponClass.MappingName = "WeaponClass";
			this.dataGridAssignedWeaponClass.NullText = "";
			this.dataGridAssignedWeaponClass.ReadOnly = true;
			this.dataGridAssignedWeaponClass.Width = 40;
			// 
			// dataGridAssignedWeapon
			// 
			this.dataGridAssignedWeapon.Format = "";
			this.dataGridAssignedWeapon.FormatInfo = null;
			this.dataGridAssignedWeapon.HeaderText = "Vapen";
			this.dataGridAssignedWeapon.MappingName = "Weapon";
			this.dataGridAssignedWeapon.ReadOnly = true;
			this.dataGridAssignedWeapon.Width = 75;
			// 
			// dataGridUnassigned
			// 
			this.dataGridUnassigned.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
						| System.Windows.Forms.AnchorStyles.Right)));
			this.dataGridUnassigned.CaptionText = "Skyttar utan patrull";
			this.dataGridUnassigned.DataMember = "unassigned";
			this.dataGridUnassigned.DataSource = this.datasetPatrol;
			this.dataGridUnassigned.HeaderForeColor = System.Drawing.SystemColors.ControlText;
			this.dataGridUnassigned.Location = new System.Drawing.Point(318, 47);
			this.dataGridUnassigned.Name = "dataGridUnassigned";
			this.dataGridUnassigned.Size = new System.Drawing.Size(272, 244);
			this.dataGridUnassigned.TabIndex = 9;
			this.dataGridUnassigned.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] {
			this.dataGridTableStyleUnassigned});
			this.toolTip1.SetToolTip(this.dataGridUnassigned, "Skyttar som inte blivit tilldelad någon patrull");
			// 
			// dataGridTableStyleUnassigned
			// 
			this.dataGridTableStyleUnassigned.DataGrid = this.dataGridUnassigned;
			this.dataGridTableStyleUnassigned.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] {
			this.dataGridUnassignedLane,
			this.dataGridUnassignedName,
			this.dataGridUnassignedClub,
			this.dataGridUnassignedWeaponClass,
			this.dataGridUnassignedWeapon});
			this.dataGridTableStyleUnassigned.HeaderForeColor = System.Drawing.SystemColors.ControlText;
			this.dataGridTableStyleUnassigned.MappingName = "unassigned";
			this.dataGridTableStyleUnassigned.RowHeadersVisible = false;
			// 
			// dataGridUnassignedLane
			// 
			this.dataGridUnassignedLane.AllowNull = false;
			this.dataGridUnassignedLane.MappingName = "Move";
			this.dataGridUnassignedLane.Width = 20;
			// 
			// dataGridUnassignedName
			// 
			this.dataGridUnassignedName.Format = "";
			this.dataGridUnassignedName.FormatInfo = null;
			this.dataGridUnassignedName.HeaderText = "Namn";
			this.dataGridUnassignedName.MappingName = "Name";
			this.dataGridUnassignedName.ReadOnly = true;
			this.dataGridUnassignedName.Width = 75;
			// 
			// dataGridUnassignedClub
			// 
			this.dataGridUnassignedClub.Format = "";
			this.dataGridUnassignedClub.FormatInfo = null;
			this.dataGridUnassignedClub.HeaderText = "Klubb";
			this.dataGridUnassignedClub.MappingName = "Club";
			this.dataGridUnassignedClub.ReadOnly = true;
			this.dataGridUnassignedClub.Width = 75;
			// 
			// dataGridUnassignedWeaponClass
			// 
			this.dataGridUnassignedWeaponClass.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
			this.dataGridUnassignedWeaponClass.Format = "";
			this.dataGridUnassignedWeaponClass.FormatInfo = null;
			this.dataGridUnassignedWeaponClass.HeaderText = "Klass";
			this.dataGridUnassignedWeaponClass.MappingName = "WeaponClass";
			this.dataGridUnassignedWeaponClass.NullText = "";
			this.dataGridUnassignedWeaponClass.ReadOnly = true;
			this.dataGridUnassignedWeaponClass.Width = 40;
			// 
			// dataGridUnassignedWeapon
			// 
			this.dataGridUnassignedWeapon.Format = "";
			this.dataGridUnassignedWeapon.FormatInfo = null;
			this.dataGridUnassignedWeapon.HeaderText = "Vapen";
			this.dataGridUnassignedWeapon.MappingName = "Weapon";
			this.dataGridUnassignedWeapon.ReadOnly = true;
			this.dataGridUnassignedWeapon.Width = 75;
			// 
			// timePatrol
			// 
			this.timePatrol.CustomFormat = "hh:mm";
			this.timePatrol.Enabled = false;
			this.timePatrol.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
			this.timePatrol.Location = new System.Drawing.Point(276, 6);
			this.timePatrol.Name = "timePatrol";
			this.timePatrol.ShowUpDown = true;
			this.timePatrol.Size = new System.Drawing.Size(73, 20);
			this.timePatrol.TabIndex = 14;
			this.toolTip1.SetToolTip(this.timePatrol, "Patrullens starttid kan sättas till annan tid än den som automatiskt sätts");
			this.timePatrol.Value = new System.DateTime(2006, 6, 13, 19, 2, 18, 562);
			this.timePatrol.ValueChanged += new System.EventHandler(this.timePatrol_ValueChanged);
			// 
			// btnMoveDown
			// 
			this.btnMoveDown.Font = new System.Drawing.Font("Symbol", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
			this.btnMoveDown.Location = new System.Drawing.Point(280, 128);
			this.btnMoveDown.Name = "btnMoveDown";
			this.btnMoveDown.Size = new System.Drawing.Size(32, 23);
			this.btnMoveDown.TabIndex = 11;
			this.btnMoveDown.Text = "ß";
			this.toolTip1.SetToolTip(this.btnMoveDown, "Flytta skyttar till en senare bana");
			this.btnMoveDown.Click += new System.EventHandler(this.btnMoveDown_Click);
			// 
			// btnMoveUp
			// 
			this.btnMoveUp.Font = new System.Drawing.Font("Symbol", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
			this.btnMoveUp.Location = new System.Drawing.Point(280, 104);
			this.btnMoveUp.Name = "btnMoveUp";
			this.btnMoveUp.Size = new System.Drawing.Size(32, 23);
			this.btnMoveUp.TabIndex = 10;
			this.btnMoveUp.Text = "Ý";
			this.toolTip1.SetToolTip(this.btnMoveUp, "Flytta skyttar till en tidigare bana");
			this.btnMoveUp.Click += new System.EventHandler(this.btnMoveUp_Click);
			// 
			// btnRemoveFromPatrol
			// 
			this.btnRemoveFromPatrol.Font = new System.Drawing.Font("Symbol", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
			this.btnRemoveFromPatrol.Location = new System.Drawing.Point(280, 56);
			this.btnRemoveFromPatrol.Name = "btnRemoveFromPatrol";
			this.btnRemoveFromPatrol.Size = new System.Drawing.Size(32, 23);
			this.btnRemoveFromPatrol.TabIndex = 8;
			this.btnRemoveFromPatrol.Text = "Þ";
			this.toolTip1.SetToolTip(this.btnRemoveFromPatrol, "Ta bort skyttar ur patrullen");
			this.btnRemoveFromPatrol.Click += new System.EventHandler(this.btnRemoveFromPatrol_Click);
			// 
			// btnAddToPatrol
			// 
			this.btnAddToPatrol.Font = new System.Drawing.Font("Symbol", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
			this.btnAddToPatrol.Location = new System.Drawing.Point(280, 80);
			this.btnAddToPatrol.Name = "btnAddToPatrol";
			this.btnAddToPatrol.Size = new System.Drawing.Size(32, 23);
			this.btnAddToPatrol.TabIndex = 7;
			this.btnAddToPatrol.Text = "Ü";
			this.toolTip1.SetToolTip(this.btnAddToPatrol, "Lägg till skyttar i patrullen");
			this.btnAddToPatrol.Click += new System.EventHandler(this.btnAddToPatrol_Click);
			// 
			// chkUseAutomaticTime
			// 
			this.chkUseAutomaticTime.AutoSize = true;
			this.chkUseAutomaticTime.Location = new System.Drawing.Point(355, 8);
			this.chkUseAutomaticTime.Name = "chkUseAutomaticTime";
			this.chkUseAutomaticTime.Size = new System.Drawing.Size(131, 17);
			this.chkUseAutomaticTime.TabIndex = 15;
			this.chkUseAutomaticTime.Text = "Använd automatisk tid";
			this.chkUseAutomaticTime.UseVisualStyleBackColor = true;
			this.chkUseAutomaticTime.CheckedChanged += new System.EventHandler(this.chkUseAutomaticTime_CheckedChanged);
			// 
			// safeLabel1
			// 
			this.safeLabel1.AutoSize = true;
			this.safeLabel1.Location = new System.Drawing.Point(230, 8);
			this.safeLabel1.Name = "safeLabel1";
			this.safeLabel1.Size = new System.Drawing.Size(40, 13);
			this.safeLabel1.TabIndex = 13;
			this.safeLabel1.Text = "Starttid";
			// 
			// lblPatrolClass
			// 
			this.lblPatrolClass.Location = new System.Drawing.Point(184, 8);
			this.lblPatrolClass.Name = "lblPatrolClass";
			this.lblPatrolClass.Size = new System.Drawing.Size(40, 23);
			this.lblPatrolClass.TabIndex = 5;
			this.lblPatrolClass.Text = "Klass1";
			// 
			// SafeLabel2
			// 
			this.SafeLabel2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
			this.SafeLabel2.Location = new System.Drawing.Point(136, 8);
			this.SafeLabel2.Name = "SafeLabel2";
			this.SafeLabel2.Size = new System.Drawing.Size(40, 23);
			this.SafeLabel2.TabIndex = 4;
			this.SafeLabel2.Text = "Klass";
			// 
			// lblPatrol
			// 
			this.lblPatrol.Location = new System.Drawing.Point(96, 8);
			this.lblPatrol.Name = "lblPatrol";
			this.lblPatrol.Size = new System.Drawing.Size(32, 23);
			this.lblPatrol.TabIndex = 3;
			this.lblPatrol.Text = "0";
			this.lblPatrol.TextAlign = System.Drawing.ContentAlignment.TopRight;
			// 
			// lblPatrolnumber
			// 
			this.lblPatrolnumber.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
			this.lblPatrolnumber.Location = new System.Drawing.Point(8, 8);
			this.lblPatrolnumber.Name = "lblPatrolnumber";
			this.lblPatrolnumber.Size = new System.Drawing.Size(88, 23);
			this.lblPatrolnumber.TabIndex = 2;
			this.lblPatrolnumber.Text = "Patrullnummer";
			// 
			// chkBlockThisPatrolForAutomatic
			// 
			this.chkBlockThisPatrolForAutomatic.AutoSize = true;
			this.chkBlockThisPatrolForAutomatic.Location = new System.Drawing.Point(12, 24);
			this.chkBlockThisPatrolForAutomatic.Name = "chkBlockThisPatrolForAutomatic";
			this.chkBlockThisPatrolForAutomatic.Size = new System.Drawing.Size(233, 17);
			this.chkBlockThisPatrolForAutomatic.TabIndex = 16;
			this.chkBlockThisPatrolForAutomatic.Text = "Stäng denna patrull för automatisk placering";
			this.chkBlockThisPatrolForAutomatic.UseVisualStyleBackColor = true;
			this.chkBlockThisPatrolForAutomatic.CheckedChanged += new System.EventHandler(this.chkBlockThisPatrolForAutomatic_CheckedChanged);
			// 
			// FPatrol
			// 
			this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
			this.ClientSize = new System.Drawing.Size(598, 297);
			this.Controls.Add(this.chkBlockThisPatrolForAutomatic);
			this.Controls.Add(this.chkUseAutomaticTime);
			this.Controls.Add(this.timePatrol);
			this.Controls.Add(this.safeLabel1);
			this.Controls.Add(this.btnMoveDown);
			this.Controls.Add(this.btnMoveUp);
			this.Controls.Add(this.dataGridUnassigned);
			this.Controls.Add(this.btnRemoveFromPatrol);
			this.Controls.Add(this.btnAddToPatrol);
			this.Controls.Add(this.dataGridAssigned);
			this.Controls.Add(this.lblPatrolClass);
			this.Controls.Add(this.SafeLabel2);
			this.Controls.Add(this.lblPatrol);
			this.Controls.Add(this.lblPatrolnumber);
			this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
			this.Name = "FPatrol";
			this.Text = "Patrull";
			((System.ComponentModel.ISupportInitialize)(this.datasetPatrol)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.dataGridAssigned)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.dataGridUnassigned)).EndInit();
			this.ResumeLayout(false);
			this.PerformLayout();

		}