Пример #1
0
		private void redrawStations()
		{
			switch(CompetitionType)
			{
				case Structs.CompetitionTypeEnum.Precision:
					groupBoxWidth = 80;
					groupBoxHeight = 110; // 80
					break;
				case Structs.CompetitionTypeEnum.Field:
					groupBoxWidth = 80;
					groupBoxHeight = 125;
					break;
				case Structs.CompetitionTypeEnum.MagnumField:
					groupBoxWidth = 80;
					groupBoxHeight = 125;
					break;
				default:
					throw new ApplicationException("Unknown Competition Type:" + 
						CompetitionType.ToString());
			}
			groupBoxNextY = groupBoxHeight + 10;
			groupBoxNextX = groupBoxWidth + 10;

			clearCurrentStations();

			// NextGroup Startposition
			int x = groupBoxStartX;
			int y = groupBoxStartY;

			// Draw all stations on screen
			Structs.Station[] stations = CommonCode.GetStations();
			Structs.Competition comp = CommonCode.GetCompetitions()[0];
			//bool norwegianCount = comp.NorwegianCount;
			bool doFinalShooting = comp.DoFinalShooting;

			foreach(Structs.Station station in stations)
			{
				// Create new group
				GroupBox thisGroup = new GroupBox();
				thisGroup.SuspendLayout();
				thisGroup.Location = new System.Drawing.Point(x, y);
				setNewGroupBoxDrawPoint(ref x, ref y);
				thisGroup.Name = "target" + station.StationNr.ToString();
				thisGroup.Size = new System.Drawing.Size(groupBoxWidth, groupBoxHeight);
				thisGroup.TabStop = false;
				switch (CompetitionType)
				{
					case Structs.CompetitionTypeEnum.Precision:
						thisGroup.Text = "Serie " + station.StationNr.ToString();
						break;
					case Structs.CompetitionTypeEnum.Field:
						thisGroup.Text = "Station " + station.StationNr.ToString();
						break;
					case Structs.CompetitionTypeEnum.MagnumField:
						thisGroup.Text = "Station " + station.StationNr.ToString();
						break;
					default:
						throw new ApplicationException("Unknown CompetitionType: " +
							CompetitionType.ToString());
				}

				// Add SafeLabels
				SafeLabel SafeLabelPoints = new Forms.SafeLabel();
				SafeLabelPoints.Location = new System.Drawing.Point(4, groupBoxHeight-25);
				SafeLabelPoints.Text = "P:";
				SafeLabelPoints.Size = new System.Drawing.Size(20, 23);
				thisGroup.Controls.Add(SafeLabelPoints);

				// Add txtBoxes
				foreach(SafeTextBox thisBox in createTxtBoxes(station.StationNr, station.Figures))
				{
					thisGroup.Controls.Add(thisBox);
					thisBox.TextChanged+=new EventHandler(figureBox_TextChanged);
					thisBox.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
					resultFigures.Add(thisBox);
				}

				// Add points txtBox
				Allberg.Shooter.Windows.Forms.SafeTextBox txtPoints = new SafeTextBox();
				txtPoints.Name = "Points" + station.StationNr.ToString();
				txtPoints.Location = new Point(SafeLabelPoints.Width+5, groupBoxHeight-25);
				txtPoints.Text = "";
				txtPoints.Size = new Size(30,20);
				txtPoints.Enabled = station.Points;
				txtPoints.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
				txtPoints.TextChanged += new System.EventHandler(this.txtPoints_TextChanged);
				thisGroup.Controls.Add(txtPoints);
				if (CompetitionType == Structs.CompetitionTypeEnum.Precision)
				{
					txtPoints.Visible = false;
					SafeLabelPoints.Visible = false;
				}
				resultPoints.Add(txtPoints);

				// Draw the whole thing
				thisGroup.ResumeLayout();

				// Add to form
				this.panel1.Controls.Add(thisGroup);

				// Add to form holder
				this.resultBoxes.Add(thisGroup);
			}

			if (doFinalShooting)
			{
				GroupBox finalGroup = new GroupBox();
				finalGroup.SuspendLayout();

				finalGroup.Location = new System.Drawing.Point(x, y);
				setNewGroupBoxDrawPoint(ref x, ref y);
				finalGroup.Name = "Final";
				finalGroup.Size = new System.Drawing.Size(groupBoxWidth+5, groupBoxHeight);
				finalGroup.TabStop = false;
				finalGroup.Text = "Särskjutning";

				// Add SafeLabels
				SafeLabel SafeLabelPoints = new SafeLabel();
				SafeLabelPoints.Location = getTxtBoxLocation(3, 1);
				SafeLabelPoints.Text = "Placering:";
				SafeLabelPoints.Size = new System.Drawing.Size(60, 23);
				finalGroup.Controls.Add(SafeLabelPoints);

				// Add SafeTextBox
				txtFinalPlace = new SafeTextBox();
				txtFinalPlace.Location = getTxtBoxLocation(3, 2);
				txtFinalPlace.Text = "";
				txtFinalPlace.Size = new System.Drawing.Size(40,23);
				txtFinalPlace.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
				txtFinalPlace.TextChanged += new System.EventHandler(this.txtFinalPlace_TextChanged);
				finalGroup.Controls.Add(txtFinalPlace);

				// Add to form
				this.panel1.Controls.Add(finalGroup);

				// Add to form holder
				this.resultBoxes.Add(finalGroup);
			}
		}
Пример #2
0
		private SafeTextBox[] createTxtBoxes(int stationNr, int figures)
		{
			ArrayList boxes = new ArrayList();

			for (int i=1 ; i<= figures ; i++ )
			{
				SafeTextBox thisBox = new SafeTextBox();
				thisBox.Name = "Figure" + stationNr.ToString() + "-" + i.ToString();
				thisBox.Text = "";
				thisBox.Location = getTxtBoxLocation(figures, i);
				thisBox.Size = getTxtBoxSize(figures, i);
				boxes.Add(thisBox);
			}

			SafeTextBox[] boxesArray =  (SafeTextBox[])boxes.ToArray(new SafeTextBox().GetType());
			return boxesArray;
		}
Пример #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(FClubs));
     this._safeLabel1              = new Forms.SafeLabel();
     this._ddClubs                 = new Forms.SafeComboBox();
     this._btnDelete               = new Forms.SafeButton();
     this._safeLabel2              = new Forms.SafeLabel();
     this._txtName                 = new Forms.SafeTextBox();
     this._safeLabel3              = new Forms.SafeLabel();
     this._safeLabel4              = new Forms.SafeLabel();
     this._txtOfficialName         = new Forms.SafeTextBox();
     this._ddCountry               = new Forms.SafeComboBox();
     this._btnSave                 = new Forms.SafeButton();
     this._btnCancel               = new Forms.SafeButton();
     this._linkFetchClubsAutomatic = new System.Windows.Forms.LinkLabel();
     this._toolTip1                = new System.Windows.Forms.ToolTip(this.components);
     this._txtPgInfo               = new System.Windows.Forms.TextBox();
     this._txtBgInfo               = new System.Windows.Forms.TextBox();
     this._label1     = new System.Windows.Forms.Label();
     this._label2     = new System.Windows.Forms.Label();
     this._picPgError = new System.Windows.Forms.PictureBox();
     this._picBgError = new System.Windows.Forms.PictureBox();
     this.SuspendLayout();
     //
     // SafeLabel1
     //
     this._safeLabel1.Location = new System.Drawing.Point(8, 8);
     this._safeLabel1.Name     = "_safeLabel1";
     this._safeLabel1.TabIndex = 0;
     this._safeLabel1.Text     = "Klubbar:";
     //
     // ddClubs
     //
     this._ddClubs.DropDownStyle         = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this._ddClubs.Location              = new System.Drawing.Point(112, 8);
     this._ddClubs.Name                  = "_ddClubs";
     this._ddClubs.Size                  = new System.Drawing.Size(200, 21);
     this._ddClubs.TabIndex              = 1;
     this._ddClubs.SelectedIndexChanged += new System.EventHandler(this.DdClubsSelectedIndexChanged);
     //
     // btnDelete
     //
     this._btnDelete.Location = new System.Drawing.Point(320, 8);
     this._btnDelete.Name     = "_btnDelete";
     this._btnDelete.TabIndex = 2;
     this._btnDelete.Text     = "Radera";
     this._toolTip1.SetToolTip(this._btnDelete, "Här raderar du den valda klubben");
     this._btnDelete.Click += new System.EventHandler(this.BtnDeleteClick);
     //
     // SafeLabel2
     //
     this._safeLabel2.Location = new System.Drawing.Point(8, 56);
     this._safeLabel2.Name     = "_safeLabel2";
     this._safeLabel2.TabIndex = 4;
     this._safeLabel2.Text     = "Namn";
     //
     // txtName
     //
     this._txtName.Location     = new System.Drawing.Point(112, 56);
     this._txtName.Name         = "_txtName";
     this._txtName.Size         = new System.Drawing.Size(280, 20);
     this._txtName.TabIndex     = 4;
     this._txtName.Text         = "";
     this._txtName.TextChanged += new System.EventHandler(this.TxtNameTextChanged);
     //
     // SafeLabel3
     //
     this._safeLabel3.Location = new System.Drawing.Point(8, 80);
     this._safeLabel3.Name     = "_safeLabel3";
     this._safeLabel3.TabIndex = 6;
     this._safeLabel3.Text     = "Land";
     //
     // SafeLabel4
     //
     this._safeLabel4.Location = new System.Drawing.Point(8, 32);
     this._safeLabel4.Name     = "_safeLabel4";
     this._safeLabel4.TabIndex = 7;
     this._safeLabel4.Text     = "Officiell beteckning";
     //
     // txtOfficialName
     //
     this._txtOfficialName.Location     = new System.Drawing.Point(112, 32);
     this._txtOfficialName.Name         = "_txtOfficialName";
     this._txtOfficialName.Size         = new System.Drawing.Size(280, 20);
     this._txtOfficialName.TabIndex     = 3;
     this._txtOfficialName.Text         = "";
     this._txtOfficialName.TextChanged += new System.EventHandler(this.TxtOfficialNameTextChanged);
     //
     // ddCountry
     //
     this._ddCountry.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this._ddCountry.Location      = new System.Drawing.Point(112, 80);
     this._ddCountry.Name          = "_ddCountry";
     this._ddCountry.Size          = new System.Drawing.Size(280, 21);
     this._ddCountry.TabIndex      = 5;
     //
     // btnSave
     //
     this._btnSave.Enabled  = false;
     this._btnSave.Location = new System.Drawing.Point(240, 160);
     this._btnSave.Name     = "_btnSave";
     this._btnSave.TabIndex = 8;
     this._btnSave.Text     = "Spara";
     this._toolTip1.SetToolTip(this._btnSave, "Spara den ändrade informationen");
     this._btnSave.Click += new System.EventHandler(this.BtnSaveClick);
     //
     // btnCancel
     //
     this._btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this._btnCancel.Location     = new System.Drawing.Point(320, 160);
     this._btnCancel.Name         = "_btnCancel";
     this._btnCancel.TabIndex     = 9;
     this._btnCancel.Text         = "Stäng";
     this._toolTip1.SetToolTip(this._btnCancel, "Stäng utan att spara");
     this._btnCancel.Click += new System.EventHandler(this.BtnCancelClick);
     //
     // linkFetchClubsAutomatic
     //
     this._linkFetchClubsAutomatic.Location     = new System.Drawing.Point(8, 160);
     this._linkFetchClubsAutomatic.Name         = "_linkFetchClubsAutomatic";
     this._linkFetchClubsAutomatic.Size         = new System.Drawing.Size(160, 23);
     this._linkFetchClubsAutomatic.TabIndex     = 10;
     this._linkFetchClubsAutomatic.TabStop      = true;
     this._linkFetchClubsAutomatic.Text         = "Hämta klubbar från Internet";
     this._linkFetchClubsAutomatic.Visible      = false;
     this._linkFetchClubsAutomatic.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.LinkFetchClubsAutomaticLinkClicked);
     //
     // txtPgInfo
     //
     this._txtPgInfo.Location     = new System.Drawing.Point(112, 104);
     this._txtPgInfo.Name         = "_txtPgInfo";
     this._txtPgInfo.Size         = new System.Drawing.Size(280, 20);
     this._txtPgInfo.TabIndex     = 6;
     this._txtPgInfo.Text         = "";
     this._txtPgInfo.TextChanged += new System.EventHandler(this.TxtPgInfoTextChanged);
     //
     // txtBgInfo
     //
     this._txtBgInfo.Location     = new System.Drawing.Point(112, 128);
     this._txtBgInfo.Name         = "_txtBgInfo";
     this._txtBgInfo.Size         = new System.Drawing.Size(280, 20);
     this._txtBgInfo.TabIndex     = 7;
     this._txtBgInfo.Text         = "";
     this._txtBgInfo.TextChanged += new System.EventHandler(this.TxtBgInfoTextChanged);
     //
     // label1
     //
     this._label1.Location = new System.Drawing.Point(8, 104);
     this._label1.Name     = "_label1";
     this._label1.TabIndex = 12;
     this._label1.Text     = "Postgiro";
     //
     // label2
     //
     this._label2.Location = new System.Drawing.Point(8, 128);
     this._label2.Name     = "_label2";
     this._label2.Size     = new System.Drawing.Size(104, 23);
     this._label2.TabIndex = 13;
     this._label2.Text     = "Bankgiro";
     //
     // picPgError
     //
     this._picPgError.Image    = ((System.Drawing.Image)(resources.GetObject("picPgError.Image")));
     this._picPgError.Location = new System.Drawing.Point(96, 112);
     this._picPgError.Name     = "_picPgError";
     this._picPgError.Size     = new System.Drawing.Size(16, 16);
     this._picPgError.TabIndex = 14;
     this._picPgError.TabStop  = false;
     this._picPgError.Visible  = false;
     //
     // picBgError
     //
     this._picBgError.Image    = ((System.Drawing.Image)(resources.GetObject("picBgError.Image")));
     this._picBgError.Location = new System.Drawing.Point(96, 136);
     this._picBgError.Name     = "_picBgError";
     this._picBgError.Size     = new System.Drawing.Size(16, 16);
     this._picBgError.TabIndex = 15;
     this._picBgError.TabStop  = false;
     this._picBgError.Visible  = false;
     //
     // FClubs
     //
     this.AcceptButton      = this._btnSave;
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.CancelButton      = this._btnCancel;
     this.ClientSize        = new System.Drawing.Size(400, 190);
     this.Controls.Add(this._picBgError);
     this.Controls.Add(this._picPgError);
     this.Controls.Add(this._label2);
     this.Controls.Add(this._label1);
     this.Controls.Add(this._txtBgInfo);
     this.Controls.Add(this._txtPgInfo);
     this.Controls.Add(this._linkFetchClubsAutomatic);
     this.Controls.Add(this._btnCancel);
     this.Controls.Add(this._btnSave);
     this.Controls.Add(this._ddCountry);
     this.Controls.Add(this._txtOfficialName);
     this.Controls.Add(this._txtName);
     this.Controls.Add(this._safeLabel4);
     this.Controls.Add(this._safeLabel3);
     this.Controls.Add(this._safeLabel2);
     this.Controls.Add(this._btnDelete);
     this.Controls.Add(this._ddClubs);
     this.Controls.Add(this._safeLabel1);
     this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name = "FClubs";
     this.Text = "Klubbar";
     this.ResumeLayout(false);
 }
Пример #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(FWeapons));
			this.btnCancel = new SafeButton();
			this.ddWeapons = new Allberg.Shooter.Windows.Forms.SafeComboBox();
			this.SafeLabel1 = new SafeLabel();
			this.btnDelete = new SafeButton();
			this.SafeLabel2 = new SafeLabel();
			this.SafeLabel3 = new SafeLabel();
			this.SafeLabel4 = new SafeLabel();
			this.chkInternet = new System.Windows.Forms.CheckBox();
			this.txtWeaponId = new Allberg.Shooter.Windows.Forms.SafeTextBox();
			this.txtManufacturer = new Allberg.Shooter.Windows.Forms.SafeTextBox();
			this.ddClass = new Allberg.Shooter.Windows.Forms.SafeComboBox();
			this.linkWeaponsAutomatic = new System.Windows.Forms.LinkLabel();
			this.btnSave = new SafeButton();
			this.SafeLabel5 = new SafeLabel();
			this.txtModel = new Allberg.Shooter.Windows.Forms.SafeTextBox();
			this.txtCaliber = new Allberg.Shooter.Windows.Forms.SafeTextBox();
			this.SafeLabel6 = new SafeLabel();
			this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
			this.SuspendLayout();
			// 
			// btnCancel
			// 
			this.btnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
			this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
			this.btnCancel.Location = new System.Drawing.Point(320, 176);
			this.btnCancel.Name = "btnCancel";
			this.btnCancel.Size = new System.Drawing.Size(75, 23);
			this.btnCancel.TabIndex = 9;
			this.btnCancel.Text = "Stäng";
			this.toolTip1.SetToolTip(this.btnCancel, "Stäng fönstret");
			this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
			// 
			// ddWeapons
			// 
			this.ddWeapons.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
						| System.Windows.Forms.AnchorStyles.Right)));
			this.ddWeapons.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
			this.ddWeapons.Location = new System.Drawing.Point(112, 8);
			this.ddWeapons.Name = "ddWeapons";
			this.ddWeapons.Size = new System.Drawing.Size(204, 21);
			this.ddWeapons.TabIndex = 1;
			this.toolTip1.SetToolTip(this.ddWeapons, "Välj ett vapen att konfigurera");
			this.ddWeapons.SelectedIndexChanged += new System.EventHandler(this.ddWeapons_SelectedIndexChanged);
			// 
			// SafeLabel1
			// 
			this.SafeLabel1.Location = new System.Drawing.Point(8, 8);
			this.SafeLabel1.Name = "SafeLabel1";
			this.SafeLabel1.Size = new System.Drawing.Size(96, 23);
			this.SafeLabel1.TabIndex = 2;
			this.SafeLabel1.Text = "Vapen";
			// 
			// btnDelete
			// 
			this.btnDelete.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
			this.btnDelete.Location = new System.Drawing.Point(320, 8);
			this.btnDelete.Name = "btnDelete";
			this.btnDelete.Size = new System.Drawing.Size(75, 23);
			this.btnDelete.TabIndex = 10;
			this.btnDelete.Text = "Radera";
			this.toolTip1.SetToolTip(this.btnDelete, "Raderar det valda vapnet");
			this.btnDelete.Click += new System.EventHandler(this.btnDelete_Click);
			// 
			// SafeLabel2
			// 
			this.SafeLabel2.Location = new System.Drawing.Point(8, 32);
			this.SafeLabel2.Name = "SafeLabel2";
			this.SafeLabel2.Size = new System.Drawing.Size(96, 23);
			this.SafeLabel2.TabIndex = 4;
			this.SafeLabel2.Text = "Beteckning";
			// 
			// SafeLabel3
			// 
			this.SafeLabel3.Location = new System.Drawing.Point(8, 80);
			this.SafeLabel3.Name = "SafeLabel3";
			this.SafeLabel3.Size = new System.Drawing.Size(96, 23);
			this.SafeLabel3.TabIndex = 5;
			this.SafeLabel3.Text = "Modell";
			// 
			// SafeLabel4
			// 
			this.SafeLabel4.Location = new System.Drawing.Point(8, 128);
			this.SafeLabel4.Name = "SafeLabel4";
			this.SafeLabel4.Size = new System.Drawing.Size(96, 23);
			this.SafeLabel4.TabIndex = 6;
			this.SafeLabel4.Text = "Klass";
			// 
			// chkInternet
			// 
			this.chkInternet.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
			this.chkInternet.Enabled = false;
			this.chkInternet.Location = new System.Drawing.Point(256, 152);
			this.chkInternet.Name = "chkInternet";
			this.chkInternet.Size = new System.Drawing.Size(136, 24);
			this.chkInternet.TabIndex = 7;
			this.chkInternet.TabStop = false;
			this.chkInternet.Text = "Hämtat från Internet";
			this.chkInternet.Visible = false;
			// 
			// txtWeaponId
			// 
			this.txtWeaponId.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
						| System.Windows.Forms.AnchorStyles.Right)));
			this.txtWeaponId.Location = new System.Drawing.Point(112, 32);
			this.txtWeaponId.Name = "txtWeaponId";
			this.txtWeaponId.Size = new System.Drawing.Size(280, 20);
			this.txtWeaponId.TabIndex = 2;
			this.toolTip1.SetToolTip(this.txtWeaponId, "Fyll i vapnets beteckning, t.ex. SW32");
			this.txtWeaponId.LostFocus += new System.EventHandler(this.txtWeaponId_LostFocus);
			// 
			// txtManufacturer
			// 
			this.txtManufacturer.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
						| System.Windows.Forms.AnchorStyles.Right)));
			this.txtManufacturer.Location = new System.Drawing.Point(112, 56);
			this.txtManufacturer.Name = "txtManufacturer";
			this.txtManufacturer.Size = new System.Drawing.Size(280, 20);
			this.txtManufacturer.TabIndex = 3;
			this.toolTip1.SetToolTip(this.txtManufacturer, "Fyll i vapnets fabrikat, t.ex. Smith & Wesson");
			this.txtManufacturer.TextChanged += new System.EventHandler(this.txtName_TextChanged);
			// 
			// ddClass
			// 
			this.ddClass.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
						| System.Windows.Forms.AnchorStyles.Right)));
			this.ddClass.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
			this.ddClass.Location = new System.Drawing.Point(112, 128);
			this.ddClass.Name = "ddClass";
			this.ddClass.Size = new System.Drawing.Size(280, 21);
			this.ddClass.TabIndex = 6;
			this.toolTip1.SetToolTip(this.ddClass, "Välj vapnets klass");
			// 
			// linkWeaponsAutomatic
			// 
			this.linkWeaponsAutomatic.Location = new System.Drawing.Point(8, 152);
			this.linkWeaponsAutomatic.Name = "linkWeaponsAutomatic";
			this.linkWeaponsAutomatic.Size = new System.Drawing.Size(240, 23);
			this.linkWeaponsAutomatic.TabIndex = 7;
			this.linkWeaponsAutomatic.TabStop = true;
			this.linkWeaponsAutomatic.Text = "Hämta vapen från Internet";
			this.linkWeaponsAutomatic.Visible = false;
			// 
			// btnSave
			// 
			this.btnSave.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
			this.btnSave.Location = new System.Drawing.Point(240, 176);
			this.btnSave.Name = "btnSave";
			this.btnSave.Size = new System.Drawing.Size(75, 23);
			this.btnSave.TabIndex = 8;
			this.btnSave.Text = "Spara";
			this.toolTip1.SetToolTip(this.btnSave, "Spara det nya eller ändrade vapnet.");
			this.btnSave.Click += new System.EventHandler(this.btnSave_Click);
			// 
			// SafeLabel5
			// 
			this.SafeLabel5.Location = new System.Drawing.Point(8, 56);
			this.SafeLabel5.Name = "SafeLabel5";
			this.SafeLabel5.Size = new System.Drawing.Size(96, 23);
			this.SafeLabel5.TabIndex = 9;
			this.SafeLabel5.Text = "Fabrikat";
			// 
			// txtModel
			// 
			this.txtModel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
						| System.Windows.Forms.AnchorStyles.Right)));
			this.txtModel.Location = new System.Drawing.Point(112, 80);
			this.txtModel.Name = "txtModel";
			this.txtModel.Size = new System.Drawing.Size(280, 20);
			this.txtModel.TabIndex = 4;
			this.toolTip1.SetToolTip(this.txtModel, "Fyll i vapnets modell");
			// 
			// txtCaliber
			// 
			this.txtCaliber.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
						| System.Windows.Forms.AnchorStyles.Right)));
			this.txtCaliber.Location = new System.Drawing.Point(112, 104);
			this.txtCaliber.Name = "txtCaliber";
			this.txtCaliber.Size = new System.Drawing.Size(280, 20);
			this.txtCaliber.TabIndex = 5;
			this.toolTip1.SetToolTip(this.txtCaliber, "Fyll i vapnets kaliber, t.ex. 9mm");
			// 
			// SafeLabel6
			// 
			this.SafeLabel6.Location = new System.Drawing.Point(8, 104);
			this.SafeLabel6.Name = "SafeLabel6";
			this.SafeLabel6.Size = new System.Drawing.Size(96, 23);
			this.SafeLabel6.TabIndex = 12;
			this.SafeLabel6.Text = "Kaliber";
			// 
			// FWeapons
			// 
			this.AcceptButton = this.btnSave;
			this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
			this.CancelButton = this.btnCancel;
			this.ClientSize = new System.Drawing.Size(400, 206);
			this.Controls.Add(this.SafeLabel6);
			this.Controls.Add(this.txtCaliber);
			this.Controls.Add(this.txtModel);
			this.Controls.Add(this.txtManufacturer);
			this.Controls.Add(this.txtWeaponId);
			this.Controls.Add(this.SafeLabel5);
			this.Controls.Add(this.btnSave);
			this.Controls.Add(this.linkWeaponsAutomatic);
			this.Controls.Add(this.ddClass);
			this.Controls.Add(this.chkInternet);
			this.Controls.Add(this.SafeLabel4);
			this.Controls.Add(this.SafeLabel3);
			this.Controls.Add(this.SafeLabel2);
			this.Controls.Add(this.btnDelete);
			this.Controls.Add(this.SafeLabel1);
			this.Controls.Add(this.ddWeapons);
			this.Controls.Add(this.btnCancel);
			this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
			this.Name = "FWeapons";
			this.Text = "Vapen";
			this.ResumeLayout(false);
			this.PerformLayout();

		}
Пример #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.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FCompetitionField));
     this.lblName                = new SafeLabel();
     this.txtName                = new Allberg.Shooter.Windows.Forms.SafeTextBox();
     this.btnCancel              = new SafeButton();
     this.lblStartDate           = new SafeLabel();
     this.dateTimePicker1        = new System.Windows.Forms.DateTimePicker();
     this.lblStartTime           = new SafeLabel();
     this.numStartHour           = new System.Windows.Forms.NumericUpDown();
     this.lblPatrolTime          = new SafeLabel();
     this.numPatrolTime          = new System.Windows.Forms.NumericUpDown();
     this.SafeLabel1             = new SafeLabel();
     this.numPatrolTimeBetween   = new System.Windows.Forms.NumericUpDown();
     this.numPatrolSize          = new System.Windows.Forms.NumericUpDown();
     this.SafeLabel2             = new SafeLabel();
     this.SafeLabel3             = new SafeLabel();
     this.numPatrolRest          = new System.Windows.Forms.NumericUpDown();
     this.btnSave                = new SafeButton();
     this.chkNorwegianCount      = new System.Windows.Forms.CheckBox();
     this.numStartMinute         = new System.Windows.Forms.NumericUpDown();
     this.SafeLabel4             = new SafeLabel();
     this.SafeLabel5             = new SafeLabel();
     this.SafeLabel6             = new SafeLabel();
     this.SafeLabel7             = new SafeLabel();
     this.toolTip1               = new System.Windows.Forms.ToolTip(this.components);
     this.chkFinal               = new System.Windows.Forms.CheckBox();
     this.DDPatrolConnectionType = new Allberg.Shooter.Windows.Forms.SafeComboBox();
     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.txtShooterFee4            = new System.Windows.Forms.TextBox();
     this.label9                    = new System.Windows.Forms.Label();
     this.txtShooterFee3            = new System.Windows.Forms.TextBox();
     this.label8                    = new System.Windows.Forms.Label();
     this.txtShooterFee2            = new System.Windows.Forms.TextBox();
     this.label7                    = new System.Windows.Forms.Label();
     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.txtShooterFee1            = new System.Windows.Forms.TextBox();
     this.label2                    = new System.Windows.Forms.Label();
     this.label5                    = new System.Windows.Forms.Label();
     this.lblCompetitionType        = new System.Windows.Forms.Label();
     this.DDChampionship            = new Allberg.Shooter.Windows.Forms.SafeComboBox();
     this.safeLabel8                = new SafeLabel();
     this.label6                    = new System.Windows.Forms.Label();
     this.chkOneClass               = new Allberg.Shooter.Windows.Forms.SafeCheckBox();
     ((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, 32);
     this.lblName.Name     = "lblName";
     this.lblName.Size     = new System.Drawing.Size(100, 23);
     this.lblName.TabIndex = 0;
     this.lblName.Text     = "Namn";
     //
     // txtName
     //
     this.txtName.Location = new System.Drawing.Point(112, 32);
     this.txtName.Name     = "txtName";
     this.txtName.Size     = new System.Drawing.Size(296, 20);
     this.txtName.TabIndex = 1;
     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(329, 288);
     this.btnCancel.Name         = "btnCancel";
     this.btnCancel.Size         = new System.Drawing.Size(75, 23);
     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, 56);
     this.lblStartDate.Name     = "lblStartDate";
     this.lblStartDate.Size     = new System.Drawing.Size(100, 23);
     this.lblStartDate.TabIndex = 3;
     this.lblStartDate.Text     = "Startdatum";
     //
     // dateTimePicker1
     //
     this.dateTimePicker1.Location = new System.Drawing.Point(112, 56);
     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, 80);
     this.lblStartTime.Name     = "lblStartTime";
     this.lblStartTime.Size     = new System.Drawing.Size(100, 23);
     this.lblStartTime.TabIndex = 5;
     this.lblStartTime.Text     = "Starttid";
     //
     // numStartHour
     //
     this.numStartHour.Location = new System.Drawing.Point(112, 80);
     this.numStartHour.Maximum  = new 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 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, 104);
     this.lblPatrolTime.Name     = "lblPatrolTime";
     this.lblPatrolTime.Size     = new System.Drawing.Size(100, 23);
     this.lblPatrolTime.TabIndex = 7;
     this.lblPatrolTime.Text     = "Patrulltid";
     //
     // numPatrolTime
     //
     this.numPatrolTime.Location = new System.Drawing.Point(112, 104);
     this.numPatrolTime.Maximum  = new 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 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, 128);
     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, 128);
     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 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, 152);
     this.numPatrolSize.Maximum  = new decimal(new int[] {
         15,
         0,
         0,
         0
     });
     this.numPatrolSize.Minimum = new 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 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, 152);
     this.SafeLabel2.Name     = "SafeLabel2";
     this.SafeLabel2.Size     = new System.Drawing.Size(100, 23);
     this.SafeLabel2.TabIndex = 12;
     this.SafeLabel2.Text     = "Patrullstorlek";
     //
     // SafeLabel3
     //
     this.SafeLabel3.Location = new System.Drawing.Point(8, 176);
     this.SafeLabel3.Name     = "SafeLabel3";
     this.SafeLabel3.Size     = new System.Drawing.Size(100, 23);
     this.SafeLabel3.TabIndex = 13;
     this.SafeLabel3.Text     = "Vilotid";
     //
     // numPatrolRest
     //
     this.numPatrolRest.Location  = new System.Drawing.Point(112, 176);
     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(249, 288);
     this.btnSave.Name     = "btnSave";
     this.btnSave.Size     = new System.Drawing.Size(75, 23);
     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(11, 268);
     this.chkNorwegianCount.Name     = "chkNorwegianCount";
     this.chkNorwegianCount.Size     = new System.Drawing.Size(120, 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 decimal(new int[] {
         5,
         0,
         0,
         0
     });
     this.numStartMinute.Location = new System.Drawing.Point(160, 80);
     this.numStartMinute.Maximum  = new 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, 104);
     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, 128);
     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, 176);
     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, 152);
     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(11, 248);
     this.chkFinal.Name     = "chkFinal";
     this.chkFinal.Size     = new System.Drawing.Size(88, 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");
     //
     // DDPatrolConnectionType
     //
     this.DDPatrolConnectionType.DropDownStyle     = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.DDPatrolConnectionType.FormattingEnabled = true;
     this.DDPatrolConnectionType.Items.AddRange(new object[] {
         "A,B,C,R,M",
         "A+R,B+C,M",
         "A+R,B,C,M",
         "A+R+B+C+M"
     });
     this.DDPatrolConnectionType.Location = new System.Drawing.Point(112, 227);
     this.DDPatrolConnectionType.Name     = "DDPatrolConnectionType";
     this.DDPatrolConnectionType.Size     = new System.Drawing.Size(96, 21);
     this.DDPatrolConnectionType.TabIndex = 28;
     this.toolTip1.SetToolTip(this.DDPatrolConnectionType, "Tillsammans innebär att klass B och C respektive A och R kan läggas i samma patru" +
                              "ll. Enskild innebär att en patrull enbart kan innehålla en klass i taget.");
     this.DDPatrolConnectionType.SelectedIndexChanged += new System.EventHandler(this.DDPatrolConnectionType_SelectedIndexChanged);
     //
     // 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 decimal(new int[] {
         5,
         0,
         0,
         0
     });
     this.numPriceMoneyReturn.Location = new System.Drawing.Point(136, 32);
     this.numPriceMoneyReturn.Minimum  = new 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 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.txtShooterFee4);
     this.groupBox1.Controls.Add(this.label9);
     this.groupBox1.Controls.Add(this.txtShooterFee3);
     this.groupBox1.Controls.Add(this.label8);
     this.groupBox1.Controls.Add(this.txtShooterFee2);
     this.groupBox1.Controls.Add(this.label7);
     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.txtShooterFee1);
     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, 80);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(192, 202);
     this.groupBox1.TabIndex = 22;
     this.groupBox1.TabStop  = false;
     this.groupBox1.Text     = "Prispengar";
     //
     // txtShooterFee4
     //
     this.txtShooterFee4.Location  = new System.Drawing.Point(120, 176);
     this.txtShooterFee4.Name      = "txtShooterFee4";
     this.txtShooterFee4.ReadOnly  = true;
     this.txtShooterFee4.Size      = new System.Drawing.Size(64, 20);
     this.txtShooterFee4.TabIndex  = 31;
     this.txtShooterFee4.Text      = "100";
     this.txtShooterFee4.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     //
     // label9
     //
     this.label9.Location = new System.Drawing.Point(8, 176);
     this.label9.Name     = "label9";
     this.label9.Size     = new System.Drawing.Size(112, 23);
     this.label9.TabIndex = 32;
     this.label9.Text     = "Anmälningsavgift v4";
     //
     // txtShooterFee3
     //
     this.txtShooterFee3.Location  = new System.Drawing.Point(120, 153);
     this.txtShooterFee3.Name      = "txtShooterFee3";
     this.txtShooterFee3.ReadOnly  = true;
     this.txtShooterFee3.Size      = new System.Drawing.Size(64, 20);
     this.txtShooterFee3.TabIndex  = 29;
     this.txtShooterFee3.Text      = "100";
     this.txtShooterFee3.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     //
     // label8
     //
     this.label8.Location = new System.Drawing.Point(8, 153);
     this.label8.Name     = "label8";
     this.label8.Size     = new System.Drawing.Size(112, 23);
     this.label8.TabIndex = 30;
     this.label8.Text     = "Anmälningsavgift v3";
     //
     // txtShooterFee2
     //
     this.txtShooterFee2.Location  = new System.Drawing.Point(120, 130);
     this.txtShooterFee2.Name      = "txtShooterFee2";
     this.txtShooterFee2.ReadOnly  = true;
     this.txtShooterFee2.Size      = new System.Drawing.Size(64, 20);
     this.txtShooterFee2.TabIndex  = 27;
     this.txtShooterFee2.Text      = "100";
     this.txtShooterFee2.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     //
     // label7
     //
     this.label7.Location = new System.Drawing.Point(8, 130);
     this.label7.Name     = "label7";
     this.label7.Size     = new System.Drawing.Size(112, 23);
     this.label7.TabIndex = 28;
     this.label7.Text     = "Anmälningsavgift v2";
     //
     // numShoterPercentWithPrice
     //
     this.numShoterPercentWithPrice.Increment = new decimal(new int[] {
         5,
         0,
         0,
         0
     });
     this.numShoterPercentWithPrice.Location = new System.Drawing.Point(136, 56);
     this.numShoterPercentWithPrice.Minimum  = new 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 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, 82);
     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, 82);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(100, 20);
     this.label3.TabIndex = 24;
     this.label3.Text     = "Förstapris";
     //
     // txtShooterFee1
     //
     this.txtShooterFee1.Location  = new System.Drawing.Point(120, 107);
     this.txtShooterFee1.Name      = "txtShooterFee1";
     this.txtShooterFee1.ReadOnly  = true;
     this.txtShooterFee1.Size      = new System.Drawing.Size(64, 20);
     this.txtShooterFee1.TabIndex  = 14;
     this.txtShooterFee1.Text      = "100";
     this.txtShooterFee1.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(8, 107);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(112, 23);
     this.label2.TabIndex = 22;
     this.label2.Text     = "Anmälningsavgift v1";
     //
     // label5
     //
     this.label5.Location = new System.Drawing.Point(8, 8);
     this.label5.Name     = "label5";
     this.label5.Size     = new System.Drawing.Size(100, 23);
     this.label5.TabIndex = 23;
     this.label5.Text     = "Tävlingstyp";
     //
     // lblCompetitionType
     //
     this.lblCompetitionType.Location = new System.Drawing.Point(120, 8);
     this.lblCompetitionType.Name     = "lblCompetitionType";
     this.lblCompetitionType.Size     = new System.Drawing.Size(100, 23);
     this.lblCompetitionType.TabIndex = 24;
     this.lblCompetitionType.Text     = "Fälttävlan";
     //
     // DDChampionship
     //
     this.DDChampionship.DropDownStyle     = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.DDChampionship.FormattingEnabled = true;
     this.DDChampionship.Items.AddRange(new object[] {
         "Klubbtävling",
         "Nationellt tävling",
         "Kretsmästerskap",
         "Landsdelsmästerskap",
         "SM"
     });
     this.DDChampionship.Location = new System.Drawing.Point(112, 200);
     this.DDChampionship.Name     = "DDChampionship";
     this.DDChampionship.Size     = new System.Drawing.Size(96, 21);
     this.DDChampionship.TabIndex = 25;
     //
     // safeLabel8
     //
     this.safeLabel8.AutoSize = true;
     this.safeLabel8.Location = new System.Drawing.Point(10, 203);
     this.safeLabel8.Name     = "safeLabel8";
     this.safeLabel8.Size     = new System.Drawing.Size(62, 13);
     this.safeLabel8.TabIndex = 26;
     this.safeLabel8.Text     = "Mästerskap";
     //
     // label6
     //
     this.label6.AutoSize = true;
     this.label6.Location = new System.Drawing.Point(11, 227);
     this.label6.Name     = "label6";
     this.label6.Size     = new System.Drawing.Size(50, 13);
     this.label6.TabIndex = 27;
     this.label6.Text     = "Patrulltyp";
     //
     // chkOneClass
     //
     this.chkOneClass.AutoSize = true;
     this.chkOneClass.Location = new System.Drawing.Point(11, 289);
     this.chkOneClass.Name     = "chkOneClass";
     this.chkOneClass.Size     = new System.Drawing.Size(128, 17);
     this.chkOneClass.TabIndex = 29;
     this.chkOneClass.Text     = "Slå samman klass 1-3";
     this.chkOneClass.UseVisualStyleBackColor = true;
     //
     // FCompetitionField
     //
     this.AcceptButton      = this.btnSave;
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.CancelButton      = this.btnCancel;
     this.ClientSize        = new System.Drawing.Size(416, 316);
     this.Controls.Add(this.chkOneClass);
     this.Controls.Add(this.DDPatrolConnectionType);
     this.Controls.Add(this.label6);
     this.Controls.Add(this.safeLabel8);
     this.Controls.Add(this.DDChampionship);
     this.Controls.Add(this.lblCompetitionType);
     this.Controls.Add(this.label5);
     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        = "FCompetitionField";
     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);
     this.groupBox1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.numShoterPercentWithPrice)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
		/// <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(FCompetitionField));
			this.lblName = new SafeLabel();
			this.txtName = new Allberg.Shooter.Windows.Forms.SafeTextBox();
			this.btnCancel = new SafeButton();
			this.lblStartDate = new SafeLabel();
			this.dateTimePicker1 = new System.Windows.Forms.DateTimePicker();
			this.lblStartTime = new SafeLabel();
			this.numStartHour = new System.Windows.Forms.NumericUpDown();
			this.lblPatrolTime = new SafeLabel();
			this.numPatrolTime = new System.Windows.Forms.NumericUpDown();
			this.SafeLabel1 = new SafeLabel();
			this.numPatrolTimeBetween = new System.Windows.Forms.NumericUpDown();
			this.numPatrolSize = new System.Windows.Forms.NumericUpDown();
			this.SafeLabel2 = new SafeLabel();
			this.SafeLabel3 = new SafeLabel();
			this.numPatrolRest = new System.Windows.Forms.NumericUpDown();
			this.btnSave = new SafeButton();
			this.chkNorwegianCount = new System.Windows.Forms.CheckBox();
			this.numStartMinute = new System.Windows.Forms.NumericUpDown();
			this.SafeLabel4 = new SafeLabel();
			this.SafeLabel5 = new SafeLabel();
			this.SafeLabel6 = new SafeLabel();
			this.SafeLabel7 = new SafeLabel();
			this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
			this.chkFinal = new System.Windows.Forms.CheckBox();
			this.DDPatrolConnectionType = new Allberg.Shooter.Windows.Forms.SafeComboBox();
			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.txtShooterFee4 = new System.Windows.Forms.TextBox();
			this.label9 = new System.Windows.Forms.Label();
			this.txtShooterFee3 = new System.Windows.Forms.TextBox();
			this.label8 = new System.Windows.Forms.Label();
			this.txtShooterFee2 = new System.Windows.Forms.TextBox();
			this.label7 = new System.Windows.Forms.Label();
			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.txtShooterFee1 = new System.Windows.Forms.TextBox();
			this.label2 = new System.Windows.Forms.Label();
			this.label5 = new System.Windows.Forms.Label();
			this.lblCompetitionType = new System.Windows.Forms.Label();
			this.DDChampionship = new Allberg.Shooter.Windows.Forms.SafeComboBox();
			this.safeLabel8 = new SafeLabel();
			this.label6 = new System.Windows.Forms.Label();
			this.chkOneClass = new Allberg.Shooter.Windows.Forms.SafeCheckBox();
			((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, 32);
			this.lblName.Name = "lblName";
			this.lblName.Size = new System.Drawing.Size(100, 23);
			this.lblName.TabIndex = 0;
			this.lblName.Text = "Namn";
			// 
			// txtName
			// 
			this.txtName.Location = new System.Drawing.Point(112, 32);
			this.txtName.Name = "txtName";
			this.txtName.Size = new System.Drawing.Size(296, 20);
			this.txtName.TabIndex = 1;
			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(329, 288);
			this.btnCancel.Name = "btnCancel";
			this.btnCancel.Size = new System.Drawing.Size(75, 23);
			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, 56);
			this.lblStartDate.Name = "lblStartDate";
			this.lblStartDate.Size = new System.Drawing.Size(100, 23);
			this.lblStartDate.TabIndex = 3;
			this.lblStartDate.Text = "Startdatum";
			// 
			// dateTimePicker1
			// 
			this.dateTimePicker1.Location = new System.Drawing.Point(112, 56);
			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, 80);
			this.lblStartTime.Name = "lblStartTime";
			this.lblStartTime.Size = new System.Drawing.Size(100, 23);
			this.lblStartTime.TabIndex = 5;
			this.lblStartTime.Text = "Starttid";
			// 
			// numStartHour
			// 
			this.numStartHour.Location = new System.Drawing.Point(112, 80);
			this.numStartHour.Maximum = new 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 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, 104);
			this.lblPatrolTime.Name = "lblPatrolTime";
			this.lblPatrolTime.Size = new System.Drawing.Size(100, 23);
			this.lblPatrolTime.TabIndex = 7;
			this.lblPatrolTime.Text = "Patrulltid";
			// 
			// numPatrolTime
			// 
			this.numPatrolTime.Location = new System.Drawing.Point(112, 104);
			this.numPatrolTime.Maximum = new 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 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, 128);
			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, 128);
			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 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, 152);
			this.numPatrolSize.Maximum = new decimal(new int[] {
			15,
			0,
			0,
			0});
			this.numPatrolSize.Minimum = new 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 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, 152);
			this.SafeLabel2.Name = "SafeLabel2";
			this.SafeLabel2.Size = new System.Drawing.Size(100, 23);
			this.SafeLabel2.TabIndex = 12;
			this.SafeLabel2.Text = "Patrullstorlek";
			// 
			// SafeLabel3
			// 
			this.SafeLabel3.Location = new System.Drawing.Point(8, 176);
			this.SafeLabel3.Name = "SafeLabel3";
			this.SafeLabel3.Size = new System.Drawing.Size(100, 23);
			this.SafeLabel3.TabIndex = 13;
			this.SafeLabel3.Text = "Vilotid";
			// 
			// numPatrolRest
			// 
			this.numPatrolRest.Location = new System.Drawing.Point(112, 176);
			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(249, 288);
			this.btnSave.Name = "btnSave";
			this.btnSave.Size = new System.Drawing.Size(75, 23);
			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(11, 268);
			this.chkNorwegianCount.Name = "chkNorwegianCount";
			this.chkNorwegianCount.Size = new System.Drawing.Size(120, 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 decimal(new int[] {
			5,
			0,
			0,
			0});
			this.numStartMinute.Location = new System.Drawing.Point(160, 80);
			this.numStartMinute.Maximum = new 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, 104);
			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, 128);
			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, 176);
			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, 152);
			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(11, 248);
			this.chkFinal.Name = "chkFinal";
			this.chkFinal.Size = new System.Drawing.Size(88, 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");
			// 
			// DDPatrolConnectionType
			// 
			this.DDPatrolConnectionType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
			this.DDPatrolConnectionType.FormattingEnabled = true;
			this.DDPatrolConnectionType.Items.AddRange(new object[] {
			"A,B,C,R,M",
			"A+R,B+C,M",
			"A+R,B,C,M",
			"A+R+B+C+M"});
			this.DDPatrolConnectionType.Location = new System.Drawing.Point(112, 227);
			this.DDPatrolConnectionType.Name = "DDPatrolConnectionType";
			this.DDPatrolConnectionType.Size = new System.Drawing.Size(96, 21);
			this.DDPatrolConnectionType.TabIndex = 28;
			this.toolTip1.SetToolTip(this.DDPatrolConnectionType, "Tillsammans innebär att klass B och C respektive A och R kan läggas i samma patru" +
					"ll. Enskild innebär att en patrull enbart kan innehålla en klass i taget.");
			this.DDPatrolConnectionType.SelectedIndexChanged += new System.EventHandler(this.DDPatrolConnectionType_SelectedIndexChanged);
			// 
			// 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 decimal(new int[] {
			5,
			0,
			0,
			0});
			this.numPriceMoneyReturn.Location = new System.Drawing.Point(136, 32);
			this.numPriceMoneyReturn.Minimum = new 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 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.txtShooterFee4);
			this.groupBox1.Controls.Add(this.label9);
			this.groupBox1.Controls.Add(this.txtShooterFee3);
			this.groupBox1.Controls.Add(this.label8);
			this.groupBox1.Controls.Add(this.txtShooterFee2);
			this.groupBox1.Controls.Add(this.label7);
			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.txtShooterFee1);
			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, 80);
			this.groupBox1.Name = "groupBox1";
			this.groupBox1.Size = new System.Drawing.Size(192, 202);
			this.groupBox1.TabIndex = 22;
			this.groupBox1.TabStop = false;
			this.groupBox1.Text = "Prispengar";
			// 
			// txtShooterFee4
			// 
			this.txtShooterFee4.Location = new System.Drawing.Point(120, 176);
			this.txtShooterFee4.Name = "txtShooterFee4";
			this.txtShooterFee4.ReadOnly = true;
			this.txtShooterFee4.Size = new System.Drawing.Size(64, 20);
			this.txtShooterFee4.TabIndex = 31;
			this.txtShooterFee4.Text = "100";
			this.txtShooterFee4.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
			// 
			// label9
			// 
			this.label9.Location = new System.Drawing.Point(8, 176);
			this.label9.Name = "label9";
			this.label9.Size = new System.Drawing.Size(112, 23);
			this.label9.TabIndex = 32;
			this.label9.Text = "Anmälningsavgift v4";
			// 
			// txtShooterFee3
			// 
			this.txtShooterFee3.Location = new System.Drawing.Point(120, 153);
			this.txtShooterFee3.Name = "txtShooterFee3";
			this.txtShooterFee3.ReadOnly = true;
			this.txtShooterFee3.Size = new System.Drawing.Size(64, 20);
			this.txtShooterFee3.TabIndex = 29;
			this.txtShooterFee3.Text = "100";
			this.txtShooterFee3.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
			// 
			// label8
			// 
			this.label8.Location = new System.Drawing.Point(8, 153);
			this.label8.Name = "label8";
			this.label8.Size = new System.Drawing.Size(112, 23);
			this.label8.TabIndex = 30;
			this.label8.Text = "Anmälningsavgift v3";
			// 
			// txtShooterFee2
			// 
			this.txtShooterFee2.Location = new System.Drawing.Point(120, 130);
			this.txtShooterFee2.Name = "txtShooterFee2";
			this.txtShooterFee2.ReadOnly = true;
			this.txtShooterFee2.Size = new System.Drawing.Size(64, 20);
			this.txtShooterFee2.TabIndex = 27;
			this.txtShooterFee2.Text = "100";
			this.txtShooterFee2.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
			// 
			// label7
			// 
			this.label7.Location = new System.Drawing.Point(8, 130);
			this.label7.Name = "label7";
			this.label7.Size = new System.Drawing.Size(112, 23);
			this.label7.TabIndex = 28;
			this.label7.Text = "Anmälningsavgift v2";
			// 
			// numShoterPercentWithPrice
			// 
			this.numShoterPercentWithPrice.Increment = new decimal(new int[] {
			5,
			0,
			0,
			0});
			this.numShoterPercentWithPrice.Location = new System.Drawing.Point(136, 56);
			this.numShoterPercentWithPrice.Minimum = new 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 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, 82);
			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, 82);
			this.label3.Name = "label3";
			this.label3.Size = new System.Drawing.Size(100, 20);
			this.label3.TabIndex = 24;
			this.label3.Text = "Förstapris";
			// 
			// txtShooterFee1
			// 
			this.txtShooterFee1.Location = new System.Drawing.Point(120, 107);
			this.txtShooterFee1.Name = "txtShooterFee1";
			this.txtShooterFee1.ReadOnly = true;
			this.txtShooterFee1.Size = new System.Drawing.Size(64, 20);
			this.txtShooterFee1.TabIndex = 14;
			this.txtShooterFee1.Text = "100";
			this.txtShooterFee1.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
			// 
			// label2
			// 
			this.label2.Location = new System.Drawing.Point(8, 107);
			this.label2.Name = "label2";
			this.label2.Size = new System.Drawing.Size(112, 23);
			this.label2.TabIndex = 22;
			this.label2.Text = "Anmälningsavgift v1";
			// 
			// label5
			// 
			this.label5.Location = new System.Drawing.Point(8, 8);
			this.label5.Name = "label5";
			this.label5.Size = new System.Drawing.Size(100, 23);
			this.label5.TabIndex = 23;
			this.label5.Text = "Tävlingstyp";
			// 
			// lblCompetitionType
			// 
			this.lblCompetitionType.Location = new System.Drawing.Point(120, 8);
			this.lblCompetitionType.Name = "lblCompetitionType";
			this.lblCompetitionType.Size = new System.Drawing.Size(100, 23);
			this.lblCompetitionType.TabIndex = 24;
			this.lblCompetitionType.Text = "Fälttävlan";
			// 
			// DDChampionship
			// 
			this.DDChampionship.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
			this.DDChampionship.FormattingEnabled = true;
			this.DDChampionship.Items.AddRange(new object[] {
			"Klubbtävling",
			"Nationellt tävling",
			"Kretsmästerskap",
			"Landsdelsmästerskap",
			"SM"});
			this.DDChampionship.Location = new System.Drawing.Point(112, 200);
			this.DDChampionship.Name = "DDChampionship";
			this.DDChampionship.Size = new System.Drawing.Size(96, 21);
			this.DDChampionship.TabIndex = 25;
			// 
			// safeLabel8
			// 
			this.safeLabel8.AutoSize = true;
			this.safeLabel8.Location = new System.Drawing.Point(10, 203);
			this.safeLabel8.Name = "safeLabel8";
			this.safeLabel8.Size = new System.Drawing.Size(62, 13);
			this.safeLabel8.TabIndex = 26;
			this.safeLabel8.Text = "Mästerskap";
			// 
			// label6
			// 
			this.label6.AutoSize = true;
			this.label6.Location = new System.Drawing.Point(11, 227);
			this.label6.Name = "label6";
			this.label6.Size = new System.Drawing.Size(50, 13);
			this.label6.TabIndex = 27;
			this.label6.Text = "Patrulltyp";
			// 
			// chkOneClass
			// 
			this.chkOneClass.AutoSize = true;
			this.chkOneClass.Location = new System.Drawing.Point(11, 289);
			this.chkOneClass.Name = "chkOneClass";
			this.chkOneClass.Size = new System.Drawing.Size(128, 17);
			this.chkOneClass.TabIndex = 29;
			this.chkOneClass.Text = "Slå samman klass 1-3";
			this.chkOneClass.UseVisualStyleBackColor = true;
			// 
			// FCompetitionField
			// 
			this.AcceptButton = this.btnSave;
			this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
			this.CancelButton = this.btnCancel;
			this.ClientSize = new System.Drawing.Size(416, 316);
			this.Controls.Add(this.chkOneClass);
			this.Controls.Add(this.DDPatrolConnectionType);
			this.Controls.Add(this.label6);
			this.Controls.Add(this.safeLabel8);
			this.Controls.Add(this.DDChampionship);
			this.Controls.Add(this.lblCompetitionType);
			this.Controls.Add(this.label5);
			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 = "FCompetitionField";
			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);
			this.groupBox1.PerformLayout();
			((System.ComponentModel.ISupportInitialize)(this.numShoterPercentWithPrice)).EndInit();
			this.ResumeLayout(false);
			this.PerformLayout();

		}
Пример #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.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FCompetitors));
			this.btnCancel = new SafeButton();
			this.SafeLabel1 = new SafeLabel();
			this.Skyttekortsnr = new SafeLabel();
			this.ddShooters = new Allberg.Shooter.Windows.Forms.SafeComboBox();
			this.btnDelete = new SafeButton();
			this.txtCardNr = new Allberg.Shooter.Windows.Forms.SafeTextBox();
			this.btnSave = new SafeButton();
			this.linkFetchShootersAutomatic = new System.Windows.Forms.LinkLabel();
			this.SafeLabel2 = new SafeLabel();
			this.SafeLabel3 = new SafeLabel();
			this.SafeLabel4 = new SafeLabel();
			this.SafeLabel5 = new SafeLabel();
			this.SafeLabel6 = new SafeLabel();
			this.chkCompetitor1 = new System.Windows.Forms.CheckBox();
			this.chkCompetitor2 = new System.Windows.Forms.CheckBox();
			this.chkCompetitor3 = new System.Windows.Forms.CheckBox();
			this.ddWeapon1 = new Allberg.Shooter.Windows.Forms.SafeComboBox();
			this.txtSurName = new Allberg.Shooter.Windows.Forms.SafeTextBox();
			this.txtGivenName = new Allberg.Shooter.Windows.Forms.SafeTextBox();
			this.txtEmail = new Allberg.Shooter.Windows.Forms.SafeTextBox();
			this.txtPayed = new Allberg.Shooter.Windows.Forms.SafeTextBox();
			this.ddClubs = new Allberg.Shooter.Windows.Forms.SafeComboBox();
			this.ddWeapon2 = new Allberg.Shooter.Windows.Forms.SafeComboBox();
			this.groupBox1 = new System.Windows.Forms.GroupBox();
			this.ddWeapon4 = new Allberg.Shooter.Windows.Forms.SafeComboBox();
			this.ddWeapon3 = new Allberg.Shooter.Windows.Forms.SafeComboBox();
			this.groupBoxPatrols = new System.Windows.Forms.GroupBox();
			this.ddPatrol4 = new Allberg.Shooter.Windows.Forms.SafeComboBox();
			this.ddPatrol3 = new Allberg.Shooter.Windows.Forms.SafeComboBox();
			this.ddPatrol2 = new Allberg.Shooter.Windows.Forms.SafeComboBox();
			this.ddPatrol1 = new Allberg.Shooter.Windows.Forms.SafeComboBox();
			this.chkCompetitor4 = new System.Windows.Forms.CheckBox();
			this.SafeLabel7 = new SafeLabel();
			this.ddShooterClass = new Allberg.Shooter.Windows.Forms.SafeComboBox();
			this.groupBox3 = new System.Windows.Forms.GroupBox();
			this.ddShooterClass4 = new Allberg.Shooter.Windows.Forms.SafeComboBox();
			this.ddShooterClass3 = new Allberg.Shooter.Windows.Forms.SafeComboBox();
			this.ddShooterClass2 = new Allberg.Shooter.Windows.Forms.SafeComboBox();
			this.ddShooterClass1 = new Allberg.Shooter.Windows.Forms.SafeComboBox();
			this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
			this.chkArrived = new System.Windows.Forms.CheckBox();
			this.panel1 = new System.Windows.Forms.Panel();
			this.groupBox1.SuspendLayout();
			this.groupBoxPatrols.SuspendLayout();
			this.groupBox3.SuspendLayout();
			this.panel1.SuspendLayout();
			this.SuspendLayout();
			// 
			// btnCancel
			// 
			this.btnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
			this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
			this.btnCancel.Location = new System.Drawing.Point(424, 336);
			this.btnCancel.Name = "btnCancel";
			this.btnCancel.Size = new System.Drawing.Size(75, 23);
			this.btnCancel.TabIndex = 23;
			this.btnCancel.Text = "Stäng";
			this.toolTip1.SetToolTip(this.btnCancel, "Stäng utan att spara skytt");
			this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
			// 
			// SafeLabel1
			// 
			this.SafeLabel1.Location = new System.Drawing.Point(8, 8);
			this.SafeLabel1.Name = "SafeLabel1";
			this.SafeLabel1.Size = new System.Drawing.Size(100, 23);
			this.SafeLabel1.TabIndex = 1;
			this.SafeLabel1.Text = "Skyttar";
			// 
			// Skyttekortsnr
			// 
			this.Skyttekortsnr.Location = new System.Drawing.Point(8, 32);
			this.Skyttekortsnr.Name = "Skyttekortsnr";
			this.Skyttekortsnr.Size = new System.Drawing.Size(100, 23);
			this.Skyttekortsnr.TabIndex = 2;
			this.Skyttekortsnr.Text = "Pistolskyttekort";
			// 
			// ddShooters
			// 
			this.ddShooters.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
						| System.Windows.Forms.AnchorStyles.Right)));
			this.ddShooters.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
			this.ddShooters.Location = new System.Drawing.Point(112, 8);
			this.ddShooters.Name = "ddShooters";
			this.ddShooters.Size = new System.Drawing.Size(312, 21);
			this.ddShooters.TabIndex = 1;
			this.toolTip1.SetToolTip(this.ddShooters, "Välj en skytt för att kunna editera information om honom/henne");
			this.ddShooters.SelectedIndexChanged += new System.EventHandler(this.ddShooters_SelectedIndexChanged);
			// 
			// btnDelete
			// 
			this.btnDelete.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
			this.btnDelete.Location = new System.Drawing.Point(432, 8);
			this.btnDelete.Name = "btnDelete";
			this.btnDelete.Size = new System.Drawing.Size(75, 23);
			this.btnDelete.TabIndex = 2;
			this.btnDelete.Text = "Radera";
			this.toolTip1.SetToolTip(this.btnDelete, "Raderar den valda skytten");
			this.btnDelete.Click += new System.EventHandler(this.btnDelete_Click);
			// 
			// txtCardNr
			// 
			this.txtCardNr.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
						| System.Windows.Forms.AnchorStyles.Right)));
			this.txtCardNr.Location = new System.Drawing.Point(112, 32);
			this.txtCardNr.Name = "txtCardNr";
			this.txtCardNr.Size = new System.Drawing.Size(392, 20);
			this.txtCardNr.TabIndex = 3;
			this.toolTip1.SetToolTip(this.txtCardNr, "Fyll i pistolskyttekort");
			this.txtCardNr.Leave += new System.EventHandler(this.txtCardNr_CursorLeave);
			this.txtCardNr.TextChanged += new System.EventHandler(this.txtCardNr_TextChanged);
			// 
			// btnSave
			// 
			this.btnSave.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
			this.btnSave.Enabled = false;
			this.btnSave.Location = new System.Drawing.Point(344, 336);
			this.btnSave.Name = "btnSave";
			this.btnSave.Size = new System.Drawing.Size(75, 23);
			this.btnSave.TabIndex = 22;
			this.btnSave.Text = "Spara";
			this.toolTip1.SetToolTip(this.btnSave, "Sparar skytt");
			this.btnSave.Click += new System.EventHandler(this.btnSave_Click);
			// 
			// linkFetchShootersAutomatic
			// 
			this.linkFetchShootersAutomatic.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
			this.linkFetchShootersAutomatic.Location = new System.Drawing.Point(8, 336);
			this.linkFetchShootersAutomatic.Name = "linkFetchShootersAutomatic";
			this.linkFetchShootersAutomatic.Size = new System.Drawing.Size(144, 23);
			this.linkFetchShootersAutomatic.TabIndex = 21;
			this.linkFetchShootersAutomatic.TabStop = true;
			this.linkFetchShootersAutomatic.Text = "Hämta skyttar från Internet";
			this.linkFetchShootersAutomatic.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkFetchShootersAutomatic_LinkClicked);
			// 
			// SafeLabel2
			// 
			this.SafeLabel2.Location = new System.Drawing.Point(8, 56);
			this.SafeLabel2.Name = "SafeLabel2";
			this.SafeLabel2.Size = new System.Drawing.Size(100, 23);
			this.SafeLabel2.TabIndex = 8;
			this.SafeLabel2.Text = "Förnamn";
			// 
			// SafeLabel3
			// 
			this.SafeLabel3.Location = new System.Drawing.Point(8, 80);
			this.SafeLabel3.Name = "SafeLabel3";
			this.SafeLabel3.Size = new System.Drawing.Size(100, 23);
			this.SafeLabel3.TabIndex = 9;
			this.SafeLabel3.Text = "Efternamn";
			// 
			// SafeLabel4
			// 
			this.SafeLabel4.Location = new System.Drawing.Point(8, 128);
			this.SafeLabel4.Name = "SafeLabel4";
			this.SafeLabel4.Size = new System.Drawing.Size(100, 23);
			this.SafeLabel4.TabIndex = 10;
			this.SafeLabel4.Text = "Epost";
			// 
			// SafeLabel5
			// 
			this.SafeLabel5.Location = new System.Drawing.Point(8, 152);
			this.SafeLabel5.Name = "SafeLabel5";
			this.SafeLabel5.Size = new System.Drawing.Size(100, 23);
			this.SafeLabel5.TabIndex = 11;
			this.SafeLabel5.Text = "Klubb";
			// 
			// SafeLabel6
			// 
			this.SafeLabel6.Location = new System.Drawing.Point(8, 176);
			this.SafeLabel6.Name = "SafeLabel6";
			this.SafeLabel6.Size = new System.Drawing.Size(100, 23);
			this.SafeLabel6.TabIndex = 12;
			this.SafeLabel6.Text = "Betalat";
			// 
			// chkCompetitor1
			// 
			this.chkCompetitor1.Checked = true;
			this.chkCompetitor1.CheckState = System.Windows.Forms.CheckState.Checked;
			this.chkCompetitor1.Location = new System.Drawing.Point(7, 12);
			this.chkCompetitor1.Name = "chkCompetitor1";
			this.chkCompetitor1.Size = new System.Drawing.Size(68, 24);
			this.chkCompetitor1.TabIndex = 10;
			this.chkCompetitor1.TabStop = false;
			this.chkCompetitor1.Text = "Vapen 1";
			this.chkCompetitor1.CheckedChanged += new System.EventHandler(this.chkCompetitor1_CheckedChanged);
			// 
			// chkCompetitor2
			// 
			this.chkCompetitor2.Location = new System.Drawing.Point(7, 37);
			this.chkCompetitor2.Name = "chkCompetitor2";
			this.chkCompetitor2.Size = new System.Drawing.Size(68, 24);
			this.chkCompetitor2.TabIndex = 12;
			this.chkCompetitor2.Text = "Vapen 2";
			this.chkCompetitor2.CheckedChanged += new System.EventHandler(this.chkCompetitor2_CheckedChanged);
			// 
			// chkCompetitor3
			// 
			this.chkCompetitor3.Location = new System.Drawing.Point(7, 60);
			this.chkCompetitor3.Name = "chkCompetitor3";
			this.chkCompetitor3.Size = new System.Drawing.Size(68, 24);
			this.chkCompetitor3.TabIndex = 15;
			this.chkCompetitor3.Text = "Vapen 3";
			this.chkCompetitor3.CheckedChanged += new System.EventHandler(this.chkCompetitor3_CheckedChanged);
			// 
			// ddWeapon1
			// 
			this.ddWeapon1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
			this.ddWeapon1.Location = new System.Drawing.Point(8, 16);
			this.ddWeapon1.Name = "ddWeapon1";
			this.ddWeapon1.Size = new System.Drawing.Size(121, 21);
			this.ddWeapon1.TabIndex = 10;
			this.toolTip1.SetToolTip(this.ddWeapon1, "Välj vilket vapen som skytten ska använda. Om du inte vet vilket vapen men vilken" +
					" klass, välj ett av \"Unknown\"-vapnen");
			this.ddWeapon1.SelectedIndexChanged += new System.EventHandler(this.ddWeapon1_SelectedIndexChanged);
			this.ddWeapon1.MouseUp += new System.Windows.Forms.MouseEventHandler(this.ddWeapon1_MouseUp);
			// 
			// txtSurName
			// 
			this.txtSurName.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
						| System.Windows.Forms.AnchorStyles.Right)));
			this.txtSurName.Location = new System.Drawing.Point(112, 56);
			this.txtSurName.Name = "txtSurName";
			this.txtSurName.Size = new System.Drawing.Size(392, 20);
			this.txtSurName.TabIndex = 4;
			this.toolTip1.SetToolTip(this.txtSurName, "Fyll i skyttens förnamn");
			this.txtSurName.TextChanged += new System.EventHandler(this.txtSurName_TextChanged);
			// 
			// txtGivenName
			// 
			this.txtGivenName.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
						| System.Windows.Forms.AnchorStyles.Right)));
			this.txtGivenName.Location = new System.Drawing.Point(112, 80);
			this.txtGivenName.Name = "txtGivenName";
			this.txtGivenName.Size = new System.Drawing.Size(392, 20);
			this.txtGivenName.TabIndex = 5;
			this.toolTip1.SetToolTip(this.txtGivenName, "Fyll i skyttens efternamn");
			this.txtGivenName.TextChanged += new System.EventHandler(this.txtGivenName_TextChanged);
			// 
			// txtEmail
			// 
			this.txtEmail.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
						| System.Windows.Forms.AnchorStyles.Right)));
			this.txtEmail.Location = new System.Drawing.Point(112, 128);
			this.txtEmail.Name = "txtEmail";
			this.txtEmail.Size = new System.Drawing.Size(392, 20);
			this.txtEmail.TabIndex = 7;
			this.toolTip1.SetToolTip(this.txtEmail, "Fyll i skyttens e-postadress");
			this.txtEmail.TextChanged += new System.EventHandler(this.txtEmail_TextChanged);
			// 
			// txtPayed
			// 
			this.txtPayed.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
						| System.Windows.Forms.AnchorStyles.Right)));
			this.txtPayed.Location = new System.Drawing.Point(112, 176);
			this.txtPayed.Name = "txtPayed";
			this.txtPayed.Size = new System.Drawing.Size(160, 20);
			this.txtPayed.TabIndex = 9;
			this.txtPayed.TextChanged += new System.EventHandler(this.txtPayed_TextChanged);
			// 
			// ddClubs
			// 
			this.ddClubs.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
						| System.Windows.Forms.AnchorStyles.Right)));
			this.ddClubs.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
			this.ddClubs.Location = new System.Drawing.Point(112, 152);
			this.ddClubs.Name = "ddClubs";
			this.ddClubs.Size = new System.Drawing.Size(392, 21);
			this.ddClubs.TabIndex = 8;
			this.toolTip1.SetToolTip(this.ddClubs, "Välj skyttens klubb");
			this.ddClubs.SelectedIndexChanged += new System.EventHandler(this.ddClubs_SelectedIndexChanged);
			// 
			// ddWeapon2
			// 
			this.ddWeapon2.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
			this.ddWeapon2.Enabled = false;
			this.ddWeapon2.Location = new System.Drawing.Point(8, 40);
			this.ddWeapon2.Name = "ddWeapon2";
			this.ddWeapon2.Size = new System.Drawing.Size(121, 21);
			this.ddWeapon2.TabIndex = 13;
			this.toolTip1.SetToolTip(this.ddWeapon2, "Välj vilket vapen som skytten ska använda. Om du inte vet vilket vapen men vilken" +
					" klass, välj ett av \"Unknown\"-vapnen");
			this.ddWeapon2.SelectedIndexChanged += new System.EventHandler(this.ddWeapon2_SelectedIndexChanged);
			this.ddWeapon2.MouseUp += new System.Windows.Forms.MouseEventHandler(this.ddWeapon2_MouseUp);
			// 
			// groupBox1
			// 
			this.groupBox1.Controls.Add(this.ddWeapon4);
			this.groupBox1.Controls.Add(this.ddWeapon3);
			this.groupBox1.Controls.Add(this.ddWeapon1);
			this.groupBox1.Controls.Add(this.ddWeapon2);
			this.groupBox1.Location = new System.Drawing.Point(90, -1);
			this.groupBox1.Name = "groupBox1";
			this.groupBox1.Size = new System.Drawing.Size(136, 120);
			this.groupBox1.TabIndex = 23;
			this.groupBox1.TabStop = false;
			this.groupBox1.Text = "Vapen";
			// 
			// ddWeapon4
			// 
			this.ddWeapon4.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
			this.ddWeapon4.Enabled = false;
			this.ddWeapon4.Location = new System.Drawing.Point(8, 88);
			this.ddWeapon4.Name = "ddWeapon4";
			this.ddWeapon4.Size = new System.Drawing.Size(121, 21);
			this.ddWeapon4.TabIndex = 19;
			this.toolTip1.SetToolTip(this.ddWeapon4, "Välj vilket vapen som skytten ska använda. Om du inte vet vilket vapen men vilken" +
					" klass, välj ett av \"Unknown\"-vapnen");
			this.ddWeapon4.SelectedIndexChanged += new System.EventHandler(this.ddWeapon4_SelectedIndexChanged);
			this.ddWeapon4.MouseUp += new System.Windows.Forms.MouseEventHandler(this.ddWeapon4_MouseUp);
			// 
			// ddWeapon3
			// 
			this.ddWeapon3.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
			this.ddWeapon3.Enabled = false;
			this.ddWeapon3.Location = new System.Drawing.Point(8, 64);
			this.ddWeapon3.Name = "ddWeapon3";
			this.ddWeapon3.Size = new System.Drawing.Size(121, 21);
			this.ddWeapon3.TabIndex = 16;
			this.toolTip1.SetToolTip(this.ddWeapon3, "Välj vilket vapen som skytten ska använda. Om du inte vet vilket vapen men vilken" +
					" klass, välj ett av \"Unknown\"-vapnen");
			this.ddWeapon3.SelectedIndexChanged += new System.EventHandler(this.ddWeapon3_SelectedIndexChanged);
			this.ddWeapon3.MouseUp += new System.Windows.Forms.MouseEventHandler(this.ddWeapon3_MouseUp);
			// 
			// groupBoxPatrols
			// 
			this.groupBoxPatrols.Controls.Add(this.ddPatrol4);
			this.groupBoxPatrols.Controls.Add(this.ddPatrol3);
			this.groupBoxPatrols.Controls.Add(this.ddPatrol2);
			this.groupBoxPatrols.Controls.Add(this.ddPatrol1);
			this.groupBoxPatrols.Location = new System.Drawing.Point(232, 0);
			this.groupBoxPatrols.Name = "groupBoxPatrols";
			this.groupBoxPatrols.Size = new System.Drawing.Size(136, 120);
			this.groupBoxPatrols.TabIndex = 24;
			this.groupBoxPatrols.TabStop = false;
			this.groupBoxPatrols.Text = "Patrull";
			// 
			// ddPatrol4
			// 
			this.ddPatrol4.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
			this.ddPatrol4.Enabled = false;
			this.ddPatrol4.Location = new System.Drawing.Point(8, 88);
			this.ddPatrol4.Name = "ddPatrol4";
			this.ddPatrol4.Size = new System.Drawing.Size(121, 21);
			this.ddPatrol4.TabIndex = 20;
			this.toolTip1.SetToolTip(this.ddPatrol4, "Här kan du manuellt välja vilken patrull som skytten ska vara med i");
			this.ddPatrol4.SelectedIndexChanged += new System.EventHandler(this.ddPatrol4_SelectedIndexChanged);
			// 
			// ddPatrol3
			// 
			this.ddPatrol3.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
			this.ddPatrol3.Enabled = false;
			this.ddPatrol3.Location = new System.Drawing.Point(8, 64);
			this.ddPatrol3.Name = "ddPatrol3";
			this.ddPatrol3.Size = new System.Drawing.Size(121, 21);
			this.ddPatrol3.TabIndex = 17;
			this.toolTip1.SetToolTip(this.ddPatrol3, "Här kan du manuellt välja vilken patrull som skytten ska vara med i");
			this.ddPatrol3.SelectedIndexChanged += new System.EventHandler(this.ddPatrol3_SelectedIndexChanged);
			// 
			// ddPatrol2
			// 
			this.ddPatrol2.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
			this.ddPatrol2.Enabled = false;
			this.ddPatrol2.Location = new System.Drawing.Point(8, 40);
			this.ddPatrol2.Name = "ddPatrol2";
			this.ddPatrol2.Size = new System.Drawing.Size(121, 21);
			this.ddPatrol2.TabIndex = 14;
			this.toolTip1.SetToolTip(this.ddPatrol2, "Här kan du manuellt välja vilken patrull som skytten ska vara med i");
			this.ddPatrol2.SelectedIndexChanged += new System.EventHandler(this.ddPatrol2_SelectedIndexChanged);
			// 
			// ddPatrol1
			// 
			this.ddPatrol1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
			this.ddPatrol1.Location = new System.Drawing.Point(8, 16);
			this.ddPatrol1.Name = "ddPatrol1";
			this.ddPatrol1.RightToLeft = System.Windows.Forms.RightToLeft.No;
			this.ddPatrol1.Size = new System.Drawing.Size(121, 21);
			this.ddPatrol1.TabIndex = 11;
			this.toolTip1.SetToolTip(this.ddPatrol1, "Här kan du manuellt välja vilken patrull som skytten ska vara med i");
			this.ddPatrol1.SelectedIndexChanged += new System.EventHandler(this.ddPatrol1_SelectedIndexChanged);
			// 
			// chkCompetitor4
			// 
			this.chkCompetitor4.Location = new System.Drawing.Point(7, 84);
			this.chkCompetitor4.Name = "chkCompetitor4";
			this.chkCompetitor4.Size = new System.Drawing.Size(68, 24);
			this.chkCompetitor4.TabIndex = 18;
			this.chkCompetitor4.Text = "Vapen 4";
			this.chkCompetitor4.CheckedChanged += new System.EventHandler(this.chkCompetitor4_CheckedChanged);
			// 
			// SafeLabel7
			// 
			this.SafeLabel7.Location = new System.Drawing.Point(8, 104);
			this.SafeLabel7.Name = "SafeLabel7";
			this.SafeLabel7.Size = new System.Drawing.Size(100, 23);
			this.SafeLabel7.TabIndex = 26;
			this.SafeLabel7.Text = "Skytteklass";
			// 
			// ddShooterClass
			// 
			this.ddShooterClass.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
						| System.Windows.Forms.AnchorStyles.Right)));
			this.ddShooterClass.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
			this.ddShooterClass.Location = new System.Drawing.Point(112, 104);
			this.ddShooterClass.Name = "ddShooterClass";
			this.ddShooterClass.Size = new System.Drawing.Size(392, 21);
			this.ddShooterClass.TabIndex = 6;
			this.toolTip1.SetToolTip(this.ddShooterClass, "Välj skyttens klass");
			this.ddShooterClass.SelectedIndexChanged += new System.EventHandler(this.ddShooterClass_SelectedIndexChanged);
			// 
			// groupBox3
			// 
			this.groupBox3.Controls.Add(this.ddShooterClass4);
			this.groupBox3.Controls.Add(this.ddShooterClass3);
			this.groupBox3.Controls.Add(this.ddShooterClass2);
			this.groupBox3.Controls.Add(this.ddShooterClass1);
			this.groupBox3.Location = new System.Drawing.Point(374, 0);
			this.groupBox3.Name = "groupBox3";
			this.groupBox3.Size = new System.Drawing.Size(109, 120);
			this.groupBox3.TabIndex = 27;
			this.groupBox3.TabStop = false;
			this.groupBox3.Text = "Klass";
			// 
			// ddShooterClass4
			// 
			this.ddShooterClass4.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
			this.ddShooterClass4.Enabled = false;
			this.ddShooterClass4.Location = new System.Drawing.Point(8, 88);
			this.ddShooterClass4.Name = "ddShooterClass4";
			this.ddShooterClass4.Size = new System.Drawing.Size(88, 21);
			this.ddShooterClass4.TabIndex = 3;
			this.toolTip1.SetToolTip(this.ddShooterClass4, "Här väljer du specialklasser så som dam, junior och veteran. Samtliga dessa kan e" +
					"ndast väljas om vapnet är ett C-vapen, då dessa klasser endast tävlar i C");
			this.ddShooterClass4.SelectedIndexChanged += new System.EventHandler(this.ddShooterClass4_SelectedIndexChanged);
			// 
			// ddShooterClass3
			// 
			this.ddShooterClass3.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
			this.ddShooterClass3.Enabled = false;
			this.ddShooterClass3.Location = new System.Drawing.Point(8, 64);
			this.ddShooterClass3.Name = "ddShooterClass3";
			this.ddShooterClass3.Size = new System.Drawing.Size(88, 21);
			this.ddShooterClass3.TabIndex = 2;
			this.toolTip1.SetToolTip(this.ddShooterClass3, "Här väljer du specialklasser så som dam, junior och veteran. Samtliga dessa kan e" +
					"ndast väljas om vapnet är ett C-vapen, då dessa klasser endast tävlar i C");
			this.ddShooterClass3.SelectedIndexChanged += new System.EventHandler(this.ddShooterClass3_SelectedIndexChanged);
			// 
			// ddShooterClass2
			// 
			this.ddShooterClass2.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
			this.ddShooterClass2.Enabled = false;
			this.ddShooterClass2.Location = new System.Drawing.Point(8, 40);
			this.ddShooterClass2.Name = "ddShooterClass2";
			this.ddShooterClass2.Size = new System.Drawing.Size(88, 21);
			this.ddShooterClass2.TabIndex = 1;
			this.toolTip1.SetToolTip(this.ddShooterClass2, "Här väljer du specialklasser så som dam, junior och veteran. Samtliga dessa kan e" +
					"ndast väljas om vapnet är ett C-vapen, då dessa klasser endast tävlar i C");
			this.ddShooterClass2.SelectedIndexChanged += new System.EventHandler(this.ddShooterClass2_SelectedIndexChanged);
			// 
			// ddShooterClass1
			// 
			this.ddShooterClass1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
			this.ddShooterClass1.Location = new System.Drawing.Point(8, 16);
			this.ddShooterClass1.Name = "ddShooterClass1";
			this.ddShooterClass1.Size = new System.Drawing.Size(88, 21);
			this.ddShooterClass1.TabIndex = 0;
			this.toolTip1.SetToolTip(this.ddShooterClass1, "Här väljer du specialklasser så som dam, junior och veteran. Samtliga dessa kan e" +
					"ndast väljas om vapnet är ett C-vapen, då dessa klasser endast tävlar i C");
			this.ddShooterClass1.SelectedIndexChanged += new System.EventHandler(this.ddShooterClass1_SelectedIndexChanged);
			// 
			// chkArrived
			// 
			this.chkArrived.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
			this.chkArrived.Location = new System.Drawing.Point(392, 176);
			this.chkArrived.Name = "chkArrived";
			this.chkArrived.Size = new System.Drawing.Size(104, 24);
			this.chkArrived.TabIndex = 28;
			this.chkArrived.Text = "Ankommit";
			this.chkArrived.CheckedChanged += new System.EventHandler(this.chkArrived_CheckedChanged);
			// 
			// panel1
			// 
			this.panel1.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.panel1.AutoScroll = true;
			this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
			this.panel1.Controls.Add(this.chkCompetitor1);
			this.panel1.Controls.Add(this.chkCompetitor2);
			this.panel1.Controls.Add(this.groupBox3);
			this.panel1.Controls.Add(this.chkCompetitor3);
			this.panel1.Controls.Add(this.chkCompetitor4);
			this.panel1.Controls.Add(this.groupBoxPatrols);
			this.panel1.Controls.Add(this.groupBox1);
			this.panel1.Location = new System.Drawing.Point(11, 208);
			this.panel1.Name = "panel1";
			this.panel1.Size = new System.Drawing.Size(496, 125);
			this.panel1.TabIndex = 29;
			// 
			// FCompetitors
			// 
			this.AcceptButton = this.btnSave;
			this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
			this.CancelButton = this.btnCancel;
			this.ClientSize = new System.Drawing.Size(512, 367);
			this.Controls.Add(this.panel1);
			this.Controls.Add(this.chkArrived);
			this.Controls.Add(this.ddShooterClass);
			this.Controls.Add(this.SafeLabel7);
			this.Controls.Add(this.ddClubs);
			this.Controls.Add(this.txtPayed);
			this.Controls.Add(this.txtEmail);
			this.Controls.Add(this.txtGivenName);
			this.Controls.Add(this.txtSurName);
			this.Controls.Add(this.txtCardNr);
			this.Controls.Add(this.SafeLabel6);
			this.Controls.Add(this.SafeLabel5);
			this.Controls.Add(this.SafeLabel4);
			this.Controls.Add(this.SafeLabel3);
			this.Controls.Add(this.SafeLabel2);
			this.Controls.Add(this.linkFetchShootersAutomatic);
			this.Controls.Add(this.btnSave);
			this.Controls.Add(this.btnDelete);
			this.Controls.Add(this.ddShooters);
			this.Controls.Add(this.Skyttekortsnr);
			this.Controls.Add(this.SafeLabel1);
			this.Controls.Add(this.btnCancel);
			this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
			this.Name = "FCompetitors";
			this.Text = "Skyttar";
			this.groupBox1.ResumeLayout(false);
			this.groupBoxPatrols.ResumeLayout(false);
			this.groupBox3.ResumeLayout(false);
			this.panel1.ResumeLayout(false);
			this.ResumeLayout(false);
			this.PerformLayout();

		}
Пример #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.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FTeams));
			this.btnSave = new SafeButton();
			this.btnCancel = new SafeButton();
			this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
			this.label1 = new System.Windows.Forms.Label();
			this.DdTeams = new Allberg.Shooter.Windows.Forms.SafeComboBox();
			this.DdTeamsView = new System.Data.DataView();
			this.btnDelete = new SafeButton();
			this.DdClubs = new Allberg.Shooter.Windows.Forms.SafeComboBox();
			this.label2 = new System.Windows.Forms.Label();
			this.label3 = new System.Windows.Forms.Label();
			this.txtName = new Allberg.Shooter.Windows.Forms.SafeTextBox();
			this.label4 = new System.Windows.Forms.Label();
			this.label5 = new System.Windows.Forms.Label();
			this.label6 = new System.Windows.Forms.Label();
			this.label7 = new System.Windows.Forms.Label();
			this.ddWeaponClass = new Allberg.Shooter.Windows.Forms.SafeComboBox();
			this.label8 = new System.Windows.Forms.Label();
			this.ddCompetitor1 = new Allberg.Shooter.Windows.Forms.SafeComboBox();
			this.ddCompetitor2 = new Allberg.Shooter.Windows.Forms.SafeComboBox();
			this.ddCompetitor3 = new Allberg.Shooter.Windows.Forms.SafeComboBox();
			this.ddCompetitor4 = new Allberg.Shooter.Windows.Forms.SafeComboBox();
			this.label9 = new System.Windows.Forms.Label();
			this.ddCompetitor5 = new Allberg.Shooter.Windows.Forms.SafeComboBox();
			((System.ComponentModel.ISupportInitialize)(this.DdTeamsView)).BeginInit();
			this.SuspendLayout();
			// 
			// btnSave
			// 
			this.btnSave.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
			this.btnSave.Location = new System.Drawing.Point(240, 228);
			this.btnSave.Name = "btnSave";
			this.btnSave.Size = new System.Drawing.Size(75, 23);
			this.btnSave.TabIndex = 6;
			this.btnSave.Text = "Spara";
			this.toolTip1.SetToolTip(this.btnSave, "Spara den ändrade informationen");
			this.btnSave.Click += new System.EventHandler(this.btnSave_Click);
			// 
			// btnCancel
			// 
			this.btnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
			this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
			this.btnCancel.Location = new System.Drawing.Point(320, 228);
			this.btnCancel.Name = "btnCancel";
			this.btnCancel.Size = new System.Drawing.Size(75, 23);
			this.btnCancel.TabIndex = 7;
			this.btnCancel.Text = "Stäng";
			this.toolTip1.SetToolTip(this.btnCancel, "Stäng utan att spara");
			this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
			// 
			// label1
			// 
			this.label1.Location = new System.Drawing.Point(8, 8);
			this.label1.Name = "label1";
			this.label1.Size = new System.Drawing.Size(56, 23);
			this.label1.TabIndex = 8;
			this.label1.Text = "Lag";
			// 
			// DdTeams
			// 
			this.DdTeams.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
						| System.Windows.Forms.AnchorStyles.Right)));
			this.DdTeams.DataSource = this.DdTeamsView;
			this.DdTeams.DisplayMember = "TeamId";
			this.DdTeams.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
			this.DdTeams.Location = new System.Drawing.Point(64, 8);
			this.DdTeams.Name = "DdTeams";
			this.DdTeams.Size = new System.Drawing.Size(248, 21);
			this.DdTeams.TabIndex = 9;
			this.DdTeams.ValueMember = "TeamId";
			this.DdTeams.SelectedIndexChanged += new System.EventHandler(this.DdTeams_SelectedIndexChanged);
			// 
			// DdTeamsView
			// 
			this.DdTeamsView.ApplyDefaultSort = true;
			// 
			// btnDelete
			// 
			this.btnDelete.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
			this.btnDelete.Location = new System.Drawing.Point(320, 8);
			this.btnDelete.Name = "btnDelete";
			this.btnDelete.Size = new System.Drawing.Size(75, 23);
			this.btnDelete.TabIndex = 10;
			this.btnDelete.Text = "Radera";
			this.btnDelete.Click += new System.EventHandler(this.btnDelete_Click);
			// 
			// DdClubs
			// 
			this.DdClubs.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
						| System.Windows.Forms.AnchorStyles.Right)));
			this.DdClubs.DisplayMember = "ClubName";
			this.DdClubs.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
			this.DdClubs.Location = new System.Drawing.Point(64, 32);
			this.DdClubs.Name = "DdClubs";
			this.DdClubs.Size = new System.Drawing.Size(328, 21);
			this.DdClubs.TabIndex = 11;
			this.DdClubs.ValueMember = "ClubId";
			this.DdClubs.SelectedIndexChanged += new System.EventHandler(this.DdClubs_SelectedIndexChanged);
			// 
			// label2
			// 
			this.label2.Location = new System.Drawing.Point(8, 32);
			this.label2.Name = "label2";
			this.label2.Size = new System.Drawing.Size(48, 23);
			this.label2.TabIndex = 12;
			this.label2.Text = "Klubb";
			// 
			// label3
			// 
			this.label3.Location = new System.Drawing.Point(8, 80);
			this.label3.Name = "label3";
			this.label3.Size = new System.Drawing.Size(48, 23);
			this.label3.TabIndex = 13;
			this.label3.Text = "Namn";
			// 
			// txtName
			// 
			this.txtName.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
						| System.Windows.Forms.AnchorStyles.Right)));
			this.txtName.Location = new System.Drawing.Point(64, 80);
			this.txtName.Name = "txtName";
			this.txtName.Size = new System.Drawing.Size(328, 20);
			this.txtName.TabIndex = 14;
			// 
			// label4
			// 
			this.label4.Location = new System.Drawing.Point(8, 104);
			this.label4.Name = "label4";
			this.label4.Size = new System.Drawing.Size(48, 23);
			this.label4.TabIndex = 15;
			this.label4.Text = "Nr1";
			// 
			// label5
			// 
			this.label5.Location = new System.Drawing.Point(8, 128);
			this.label5.Name = "label5";
			this.label5.Size = new System.Drawing.Size(48, 23);
			this.label5.TabIndex = 16;
			this.label5.Text = "Nr2";
			// 
			// label6
			// 
			this.label6.Location = new System.Drawing.Point(8, 152);
			this.label6.Name = "label6";
			this.label6.Size = new System.Drawing.Size(48, 23);
			this.label6.TabIndex = 17;
			this.label6.Text = "Nr3";
			// 
			// label7
			// 
			this.label7.Location = new System.Drawing.Point(8, 56);
			this.label7.Name = "label7";
			this.label7.Size = new System.Drawing.Size(48, 23);
			this.label7.TabIndex = 18;
			this.label7.Text = "Klass";
			// 
			// ddWeaponClass
			// 
			this.ddWeaponClass.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
						| System.Windows.Forms.AnchorStyles.Right)));
			this.ddWeaponClass.DisplayMember = "ClassName";
			this.ddWeaponClass.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
			this.ddWeaponClass.Location = new System.Drawing.Point(64, 56);
			this.ddWeaponClass.Name = "ddWeaponClass";
			this.ddWeaponClass.Size = new System.Drawing.Size(328, 21);
			this.ddWeaponClass.TabIndex = 19;
			this.ddWeaponClass.ValueMember = "ClassId";
			this.ddWeaponClass.SelectedIndexChanged += new System.EventHandler(this.ddWeaponClass_SelectedIndexChanged);
			// 
			// label8
			// 
			this.label8.Location = new System.Drawing.Point(8, 176);
			this.label8.Name = "label8";
			this.label8.Size = new System.Drawing.Size(48, 23);
			this.label8.TabIndex = 20;
			this.label8.Text = "Nr4";
			// 
			// ddCompetitor1
			// 
			this.ddCompetitor1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
						| System.Windows.Forms.AnchorStyles.Right)));
			this.ddCompetitor1.DisplayMember = "CompName";
			this.ddCompetitor1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
			this.ddCompetitor1.Location = new System.Drawing.Point(64, 104);
			this.ddCompetitor1.Name = "ddCompetitor1";
			this.ddCompetitor1.Size = new System.Drawing.Size(328, 21);
			this.ddCompetitor1.TabIndex = 21;
			this.ddCompetitor1.ValueMember = "CompId";
			// 
			// ddCompetitor2
			// 
			this.ddCompetitor2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
						| System.Windows.Forms.AnchorStyles.Right)));
			this.ddCompetitor2.DisplayMember = "CompName";
			this.ddCompetitor2.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
			this.ddCompetitor2.Location = new System.Drawing.Point(64, 128);
			this.ddCompetitor2.Name = "ddCompetitor2";
			this.ddCompetitor2.Size = new System.Drawing.Size(328, 21);
			this.ddCompetitor2.TabIndex = 22;
			this.ddCompetitor2.ValueMember = "CompId";
			// 
			// ddCompetitor3
			// 
			this.ddCompetitor3.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
						| System.Windows.Forms.AnchorStyles.Right)));
			this.ddCompetitor3.DisplayMember = "CompName";
			this.ddCompetitor3.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
			this.ddCompetitor3.Location = new System.Drawing.Point(64, 152);
			this.ddCompetitor3.Name = "ddCompetitor3";
			this.ddCompetitor3.Size = new System.Drawing.Size(328, 21);
			this.ddCompetitor3.TabIndex = 23;
			this.ddCompetitor3.ValueMember = "CompId";
			// 
			// ddCompetitor4
			// 
			this.ddCompetitor4.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
						| System.Windows.Forms.AnchorStyles.Right)));
			this.ddCompetitor4.DisplayMember = "CompName";
			this.ddCompetitor4.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
			this.ddCompetitor4.Location = new System.Drawing.Point(64, 176);
			this.ddCompetitor4.Name = "ddCompetitor4";
			this.ddCompetitor4.Size = new System.Drawing.Size(328, 21);
			this.ddCompetitor4.TabIndex = 24;
			this.ddCompetitor4.ValueMember = "CompId";
			// 
			// label9
			// 
			this.label9.Location = new System.Drawing.Point(8, 199);
			this.label9.Name = "label9";
			this.label9.Size = new System.Drawing.Size(48, 23);
			this.label9.TabIndex = 25;
			this.label9.Text = "Nr5";
			// 
			// ddCompetitor5
			// 
			this.ddCompetitor5.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
						| System.Windows.Forms.AnchorStyles.Right)));
			this.ddCompetitor5.DisplayMember = "CompName";
			this.ddCompetitor5.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
			this.ddCompetitor5.Location = new System.Drawing.Point(64, 199);
			this.ddCompetitor5.Name = "ddCompetitor5";
			this.ddCompetitor5.Size = new System.Drawing.Size(328, 21);
			this.ddCompetitor5.TabIndex = 26;
			this.ddCompetitor5.ValueMember = "CompId";
			// 
			// FTeams
			// 
			this.AcceptButton = this.btnSave;
			this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
			this.CancelButton = this.btnCancel;
			this.ClientSize = new System.Drawing.Size(400, 258);
			this.Controls.Add(this.ddCompetitor5);
			this.Controls.Add(this.label9);
			this.Controls.Add(this.ddCompetitor4);
			this.Controls.Add(this.ddCompetitor3);
			this.Controls.Add(this.ddCompetitor2);
			this.Controls.Add(this.ddCompetitor1);
			this.Controls.Add(this.label8);
			this.Controls.Add(this.ddWeaponClass);
			this.Controls.Add(this.label7);
			this.Controls.Add(this.label6);
			this.Controls.Add(this.label5);
			this.Controls.Add(this.label4);
			this.Controls.Add(this.txtName);
			this.Controls.Add(this.label3);
			this.Controls.Add(this.label2);
			this.Controls.Add(this.DdClubs);
			this.Controls.Add(this.btnDelete);
			this.Controls.Add(this.DdTeams);
			this.Controls.Add(this.label1);
			this.Controls.Add(this.btnCancel);
			this.Controls.Add(this.btnSave);
			this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
			this.Name = "FTeams";
			this.Text = "Lag";
			((System.ComponentModel.ISupportInitialize)(this.DdTeamsView)).EndInit();
			this.ResumeLayout(false);
			this.PerformLayout();

		}
Пример #9
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(FTeams));
     this.btnSave       = new SafeButton();
     this.btnCancel     = new SafeButton();
     this.toolTip1      = new System.Windows.Forms.ToolTip(this.components);
     this.label1        = new System.Windows.Forms.Label();
     this.DdTeams       = new Allberg.Shooter.Windows.Forms.SafeComboBox();
     this.DdTeamsView   = new System.Data.DataView();
     this.btnDelete     = new SafeButton();
     this.DdClubs       = new Allberg.Shooter.Windows.Forms.SafeComboBox();
     this.label2        = new System.Windows.Forms.Label();
     this.label3        = new System.Windows.Forms.Label();
     this.txtName       = new Allberg.Shooter.Windows.Forms.SafeTextBox();
     this.label4        = new System.Windows.Forms.Label();
     this.label5        = new System.Windows.Forms.Label();
     this.label6        = new System.Windows.Forms.Label();
     this.label7        = new System.Windows.Forms.Label();
     this.ddWeaponClass = new Allberg.Shooter.Windows.Forms.SafeComboBox();
     this.label8        = new System.Windows.Forms.Label();
     this.ddCompetitor1 = new Allberg.Shooter.Windows.Forms.SafeComboBox();
     this.ddCompetitor2 = new Allberg.Shooter.Windows.Forms.SafeComboBox();
     this.ddCompetitor3 = new Allberg.Shooter.Windows.Forms.SafeComboBox();
     this.ddCompetitor4 = new Allberg.Shooter.Windows.Forms.SafeComboBox();
     this.label9        = new System.Windows.Forms.Label();
     this.ddCompetitor5 = new Allberg.Shooter.Windows.Forms.SafeComboBox();
     ((System.ComponentModel.ISupportInitialize)(this.DdTeamsView)).BeginInit();
     this.SuspendLayout();
     //
     // btnSave
     //
     this.btnSave.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.btnSave.Location = new System.Drawing.Point(240, 228);
     this.btnSave.Name     = "btnSave";
     this.btnSave.Size     = new System.Drawing.Size(75, 23);
     this.btnSave.TabIndex = 6;
     this.btnSave.Text     = "Spara";
     this.toolTip1.SetToolTip(this.btnSave, "Spara den ändrade informationen");
     this.btnSave.Click += new System.EventHandler(this.btnSave_Click);
     //
     // btnCancel
     //
     this.btnCancel.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.btnCancel.Location     = new System.Drawing.Point(320, 228);
     this.btnCancel.Name         = "btnCancel";
     this.btnCancel.Size         = new System.Drawing.Size(75, 23);
     this.btnCancel.TabIndex     = 7;
     this.btnCancel.Text         = "Stäng";
     this.toolTip1.SetToolTip(this.btnCancel, "Stäng utan att spara");
     this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(8, 8);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(56, 23);
     this.label1.TabIndex = 8;
     this.label1.Text     = "Lag";
     //
     // DdTeams
     //
     this.DdTeams.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                 | System.Windows.Forms.AnchorStyles.Right)));
     this.DdTeams.DataSource            = this.DdTeamsView;
     this.DdTeams.DisplayMember         = "TeamId";
     this.DdTeams.DropDownStyle         = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.DdTeams.Location              = new System.Drawing.Point(64, 8);
     this.DdTeams.Name                  = "DdTeams";
     this.DdTeams.Size                  = new System.Drawing.Size(248, 21);
     this.DdTeams.TabIndex              = 9;
     this.DdTeams.ValueMember           = "TeamId";
     this.DdTeams.SelectedIndexChanged += new System.EventHandler(this.DdTeams_SelectedIndexChanged);
     //
     // DdTeamsView
     //
     this.DdTeamsView.ApplyDefaultSort = true;
     //
     // btnDelete
     //
     this.btnDelete.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.btnDelete.Location = new System.Drawing.Point(320, 8);
     this.btnDelete.Name     = "btnDelete";
     this.btnDelete.Size     = new System.Drawing.Size(75, 23);
     this.btnDelete.TabIndex = 10;
     this.btnDelete.Text     = "Radera";
     this.btnDelete.Click   += new System.EventHandler(this.btnDelete_Click);
     //
     // DdClubs
     //
     this.DdClubs.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                 | System.Windows.Forms.AnchorStyles.Right)));
     this.DdClubs.DisplayMember         = "ClubName";
     this.DdClubs.DropDownStyle         = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.DdClubs.Location              = new System.Drawing.Point(64, 32);
     this.DdClubs.Name                  = "DdClubs";
     this.DdClubs.Size                  = new System.Drawing.Size(328, 21);
     this.DdClubs.TabIndex              = 11;
     this.DdClubs.ValueMember           = "ClubId";
     this.DdClubs.SelectedIndexChanged += new System.EventHandler(this.DdClubs_SelectedIndexChanged);
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(8, 32);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(48, 23);
     this.label2.TabIndex = 12;
     this.label2.Text     = "Klubb";
     //
     // label3
     //
     this.label3.Location = new System.Drawing.Point(8, 80);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(48, 23);
     this.label3.TabIndex = 13;
     this.label3.Text     = "Namn";
     //
     // txtName
     //
     this.txtName.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                 | System.Windows.Forms.AnchorStyles.Right)));
     this.txtName.Location = new System.Drawing.Point(64, 80);
     this.txtName.Name     = "txtName";
     this.txtName.Size     = new System.Drawing.Size(328, 20);
     this.txtName.TabIndex = 14;
     //
     // label4
     //
     this.label4.Location = new System.Drawing.Point(8, 104);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(48, 23);
     this.label4.TabIndex = 15;
     this.label4.Text     = "Nr1";
     //
     // label5
     //
     this.label5.Location = new System.Drawing.Point(8, 128);
     this.label5.Name     = "label5";
     this.label5.Size     = new System.Drawing.Size(48, 23);
     this.label5.TabIndex = 16;
     this.label5.Text     = "Nr2";
     //
     // label6
     //
     this.label6.Location = new System.Drawing.Point(8, 152);
     this.label6.Name     = "label6";
     this.label6.Size     = new System.Drawing.Size(48, 23);
     this.label6.TabIndex = 17;
     this.label6.Text     = "Nr3";
     //
     // label7
     //
     this.label7.Location = new System.Drawing.Point(8, 56);
     this.label7.Name     = "label7";
     this.label7.Size     = new System.Drawing.Size(48, 23);
     this.label7.TabIndex = 18;
     this.label7.Text     = "Klass";
     //
     // ddWeaponClass
     //
     this.ddWeaponClass.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                       | System.Windows.Forms.AnchorStyles.Right)));
     this.ddWeaponClass.DisplayMember         = "ClassName";
     this.ddWeaponClass.DropDownStyle         = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.ddWeaponClass.Location              = new System.Drawing.Point(64, 56);
     this.ddWeaponClass.Name                  = "ddWeaponClass";
     this.ddWeaponClass.Size                  = new System.Drawing.Size(328, 21);
     this.ddWeaponClass.TabIndex              = 19;
     this.ddWeaponClass.ValueMember           = "ClassId";
     this.ddWeaponClass.SelectedIndexChanged += new System.EventHandler(this.ddWeaponClass_SelectedIndexChanged);
     //
     // label8
     //
     this.label8.Location = new System.Drawing.Point(8, 176);
     this.label8.Name     = "label8";
     this.label8.Size     = new System.Drawing.Size(48, 23);
     this.label8.TabIndex = 20;
     this.label8.Text     = "Nr4";
     //
     // ddCompetitor1
     //
     this.ddCompetitor1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                       | System.Windows.Forms.AnchorStyles.Right)));
     this.ddCompetitor1.DisplayMember = "CompName";
     this.ddCompetitor1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.ddCompetitor1.Location      = new System.Drawing.Point(64, 104);
     this.ddCompetitor1.Name          = "ddCompetitor1";
     this.ddCompetitor1.Size          = new System.Drawing.Size(328, 21);
     this.ddCompetitor1.TabIndex      = 21;
     this.ddCompetitor1.ValueMember   = "CompId";
     //
     // ddCompetitor2
     //
     this.ddCompetitor2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                       | System.Windows.Forms.AnchorStyles.Right)));
     this.ddCompetitor2.DisplayMember = "CompName";
     this.ddCompetitor2.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.ddCompetitor2.Location      = new System.Drawing.Point(64, 128);
     this.ddCompetitor2.Name          = "ddCompetitor2";
     this.ddCompetitor2.Size          = new System.Drawing.Size(328, 21);
     this.ddCompetitor2.TabIndex      = 22;
     this.ddCompetitor2.ValueMember   = "CompId";
     //
     // ddCompetitor3
     //
     this.ddCompetitor3.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                       | System.Windows.Forms.AnchorStyles.Right)));
     this.ddCompetitor3.DisplayMember = "CompName";
     this.ddCompetitor3.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.ddCompetitor3.Location      = new System.Drawing.Point(64, 152);
     this.ddCompetitor3.Name          = "ddCompetitor3";
     this.ddCompetitor3.Size          = new System.Drawing.Size(328, 21);
     this.ddCompetitor3.TabIndex      = 23;
     this.ddCompetitor3.ValueMember   = "CompId";
     //
     // ddCompetitor4
     //
     this.ddCompetitor4.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                       | System.Windows.Forms.AnchorStyles.Right)));
     this.ddCompetitor4.DisplayMember = "CompName";
     this.ddCompetitor4.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.ddCompetitor4.Location      = new System.Drawing.Point(64, 176);
     this.ddCompetitor4.Name          = "ddCompetitor4";
     this.ddCompetitor4.Size          = new System.Drawing.Size(328, 21);
     this.ddCompetitor4.TabIndex      = 24;
     this.ddCompetitor4.ValueMember   = "CompId";
     //
     // label9
     //
     this.label9.Location = new System.Drawing.Point(8, 199);
     this.label9.Name     = "label9";
     this.label9.Size     = new System.Drawing.Size(48, 23);
     this.label9.TabIndex = 25;
     this.label9.Text     = "Nr5";
     //
     // ddCompetitor5
     //
     this.ddCompetitor5.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                       | System.Windows.Forms.AnchorStyles.Right)));
     this.ddCompetitor5.DisplayMember = "CompName";
     this.ddCompetitor5.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.ddCompetitor5.Location      = new System.Drawing.Point(64, 199);
     this.ddCompetitor5.Name          = "ddCompetitor5";
     this.ddCompetitor5.Size          = new System.Drawing.Size(328, 21);
     this.ddCompetitor5.TabIndex      = 26;
     this.ddCompetitor5.ValueMember   = "CompId";
     //
     // FTeams
     //
     this.AcceptButton      = this.btnSave;
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.CancelButton      = this.btnCancel;
     this.ClientSize        = new System.Drawing.Size(400, 258);
     this.Controls.Add(this.ddCompetitor5);
     this.Controls.Add(this.label9);
     this.Controls.Add(this.ddCompetitor4);
     this.Controls.Add(this.ddCompetitor3);
     this.Controls.Add(this.ddCompetitor2);
     this.Controls.Add(this.ddCompetitor1);
     this.Controls.Add(this.label8);
     this.Controls.Add(this.ddWeaponClass);
     this.Controls.Add(this.label7);
     this.Controls.Add(this.label6);
     this.Controls.Add(this.label5);
     this.Controls.Add(this.label4);
     this.Controls.Add(this.txtName);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.DdClubs);
     this.Controls.Add(this.btnDelete);
     this.Controls.Add(this.DdTeams);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.btnCancel);
     this.Controls.Add(this.btnSave);
     this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name = "FTeams";
     this.Text = "Lag";
     ((System.ComponentModel.ISupportInitialize)(this.DdTeamsView)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Пример #10
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(FWeapons));
     this.btnCancel            = new SafeButton();
     this.ddWeapons            = new Allberg.Shooter.Windows.Forms.SafeComboBox();
     this.SafeLabel1           = new SafeLabel();
     this.btnDelete            = new SafeButton();
     this.SafeLabel2           = new SafeLabel();
     this.SafeLabel3           = new SafeLabel();
     this.SafeLabel4           = new SafeLabel();
     this.chkInternet          = new System.Windows.Forms.CheckBox();
     this.txtWeaponId          = new Allberg.Shooter.Windows.Forms.SafeTextBox();
     this.txtManufacturer      = new Allberg.Shooter.Windows.Forms.SafeTextBox();
     this.ddClass              = new Allberg.Shooter.Windows.Forms.SafeComboBox();
     this.linkWeaponsAutomatic = new System.Windows.Forms.LinkLabel();
     this.btnSave              = new SafeButton();
     this.SafeLabel5           = new SafeLabel();
     this.txtModel             = new Allberg.Shooter.Windows.Forms.SafeTextBox();
     this.txtCaliber           = new Allberg.Shooter.Windows.Forms.SafeTextBox();
     this.SafeLabel6           = new SafeLabel();
     this.toolTip1             = new System.Windows.Forms.ToolTip(this.components);
     this.SuspendLayout();
     //
     // btnCancel
     //
     this.btnCancel.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.btnCancel.Location     = new System.Drawing.Point(320, 176);
     this.btnCancel.Name         = "btnCancel";
     this.btnCancel.Size         = new System.Drawing.Size(75, 23);
     this.btnCancel.TabIndex     = 9;
     this.btnCancel.Text         = "Stäng";
     this.toolTip1.SetToolTip(this.btnCancel, "Stäng fönstret");
     this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
     //
     // ddWeapons
     //
     this.ddWeapons.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                   | System.Windows.Forms.AnchorStyles.Right)));
     this.ddWeapons.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.ddWeapons.Location      = new System.Drawing.Point(112, 8);
     this.ddWeapons.Name          = "ddWeapons";
     this.ddWeapons.Size          = new System.Drawing.Size(204, 21);
     this.ddWeapons.TabIndex      = 1;
     this.toolTip1.SetToolTip(this.ddWeapons, "Välj ett vapen att konfigurera");
     this.ddWeapons.SelectedIndexChanged += new System.EventHandler(this.ddWeapons_SelectedIndexChanged);
     //
     // SafeLabel1
     //
     this.SafeLabel1.Location = new System.Drawing.Point(8, 8);
     this.SafeLabel1.Name     = "SafeLabel1";
     this.SafeLabel1.Size     = new System.Drawing.Size(96, 23);
     this.SafeLabel1.TabIndex = 2;
     this.SafeLabel1.Text     = "Vapen";
     //
     // btnDelete
     //
     this.btnDelete.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.btnDelete.Location = new System.Drawing.Point(320, 8);
     this.btnDelete.Name     = "btnDelete";
     this.btnDelete.Size     = new System.Drawing.Size(75, 23);
     this.btnDelete.TabIndex = 10;
     this.btnDelete.Text     = "Radera";
     this.toolTip1.SetToolTip(this.btnDelete, "Raderar det valda vapnet");
     this.btnDelete.Click += new System.EventHandler(this.btnDelete_Click);
     //
     // SafeLabel2
     //
     this.SafeLabel2.Location = new System.Drawing.Point(8, 32);
     this.SafeLabel2.Name     = "SafeLabel2";
     this.SafeLabel2.Size     = new System.Drawing.Size(96, 23);
     this.SafeLabel2.TabIndex = 4;
     this.SafeLabel2.Text     = "Beteckning";
     //
     // SafeLabel3
     //
     this.SafeLabel3.Location = new System.Drawing.Point(8, 80);
     this.SafeLabel3.Name     = "SafeLabel3";
     this.SafeLabel3.Size     = new System.Drawing.Size(96, 23);
     this.SafeLabel3.TabIndex = 5;
     this.SafeLabel3.Text     = "Modell";
     //
     // SafeLabel4
     //
     this.SafeLabel4.Location = new System.Drawing.Point(8, 128);
     this.SafeLabel4.Name     = "SafeLabel4";
     this.SafeLabel4.Size     = new System.Drawing.Size(96, 23);
     this.SafeLabel4.TabIndex = 6;
     this.SafeLabel4.Text     = "Klass";
     //
     // chkInternet
     //
     this.chkInternet.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.chkInternet.Enabled  = false;
     this.chkInternet.Location = new System.Drawing.Point(256, 152);
     this.chkInternet.Name     = "chkInternet";
     this.chkInternet.Size     = new System.Drawing.Size(136, 24);
     this.chkInternet.TabIndex = 7;
     this.chkInternet.TabStop  = false;
     this.chkInternet.Text     = "Hämtat från Internet";
     this.chkInternet.Visible  = false;
     //
     // txtWeaponId
     //
     this.txtWeaponId.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                     | System.Windows.Forms.AnchorStyles.Right)));
     this.txtWeaponId.Location = new System.Drawing.Point(112, 32);
     this.txtWeaponId.Name     = "txtWeaponId";
     this.txtWeaponId.Size     = new System.Drawing.Size(280, 20);
     this.txtWeaponId.TabIndex = 2;
     this.toolTip1.SetToolTip(this.txtWeaponId, "Fyll i vapnets beteckning, t.ex. SW32");
     this.txtWeaponId.LostFocus += new System.EventHandler(this.txtWeaponId_LostFocus);
     //
     // txtManufacturer
     //
     this.txtManufacturer.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                         | System.Windows.Forms.AnchorStyles.Right)));
     this.txtManufacturer.Location = new System.Drawing.Point(112, 56);
     this.txtManufacturer.Name     = "txtManufacturer";
     this.txtManufacturer.Size     = new System.Drawing.Size(280, 20);
     this.txtManufacturer.TabIndex = 3;
     this.toolTip1.SetToolTip(this.txtManufacturer, "Fyll i vapnets fabrikat, t.ex. Smith & Wesson");
     this.txtManufacturer.TextChanged += new System.EventHandler(this.txtName_TextChanged);
     //
     // ddClass
     //
     this.ddClass.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                 | System.Windows.Forms.AnchorStyles.Right)));
     this.ddClass.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.ddClass.Location      = new System.Drawing.Point(112, 128);
     this.ddClass.Name          = "ddClass";
     this.ddClass.Size          = new System.Drawing.Size(280, 21);
     this.ddClass.TabIndex      = 6;
     this.toolTip1.SetToolTip(this.ddClass, "Välj vapnets klass");
     //
     // linkWeaponsAutomatic
     //
     this.linkWeaponsAutomatic.Location = new System.Drawing.Point(8, 152);
     this.linkWeaponsAutomatic.Name     = "linkWeaponsAutomatic";
     this.linkWeaponsAutomatic.Size     = new System.Drawing.Size(240, 23);
     this.linkWeaponsAutomatic.TabIndex = 7;
     this.linkWeaponsAutomatic.TabStop  = true;
     this.linkWeaponsAutomatic.Text     = "Hämta vapen från Internet";
     this.linkWeaponsAutomatic.Visible  = false;
     //
     // btnSave
     //
     this.btnSave.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.btnSave.Location = new System.Drawing.Point(240, 176);
     this.btnSave.Name     = "btnSave";
     this.btnSave.Size     = new System.Drawing.Size(75, 23);
     this.btnSave.TabIndex = 8;
     this.btnSave.Text     = "Spara";
     this.toolTip1.SetToolTip(this.btnSave, "Spara det nya eller ändrade vapnet.");
     this.btnSave.Click += new System.EventHandler(this.btnSave_Click);
     //
     // SafeLabel5
     //
     this.SafeLabel5.Location = new System.Drawing.Point(8, 56);
     this.SafeLabel5.Name     = "SafeLabel5";
     this.SafeLabel5.Size     = new System.Drawing.Size(96, 23);
     this.SafeLabel5.TabIndex = 9;
     this.SafeLabel5.Text     = "Fabrikat";
     //
     // txtModel
     //
     this.txtModel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                  | System.Windows.Forms.AnchorStyles.Right)));
     this.txtModel.Location = new System.Drawing.Point(112, 80);
     this.txtModel.Name     = "txtModel";
     this.txtModel.Size     = new System.Drawing.Size(280, 20);
     this.txtModel.TabIndex = 4;
     this.toolTip1.SetToolTip(this.txtModel, "Fyll i vapnets modell");
     //
     // txtCaliber
     //
     this.txtCaliber.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                    | System.Windows.Forms.AnchorStyles.Right)));
     this.txtCaliber.Location = new System.Drawing.Point(112, 104);
     this.txtCaliber.Name     = "txtCaliber";
     this.txtCaliber.Size     = new System.Drawing.Size(280, 20);
     this.txtCaliber.TabIndex = 5;
     this.toolTip1.SetToolTip(this.txtCaliber, "Fyll i vapnets kaliber, t.ex. 9mm");
     //
     // SafeLabel6
     //
     this.SafeLabel6.Location = new System.Drawing.Point(8, 104);
     this.SafeLabel6.Name     = "SafeLabel6";
     this.SafeLabel6.Size     = new System.Drawing.Size(96, 23);
     this.SafeLabel6.TabIndex = 12;
     this.SafeLabel6.Text     = "Kaliber";
     //
     // FWeapons
     //
     this.AcceptButton      = this.btnSave;
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.CancelButton      = this.btnCancel;
     this.ClientSize        = new System.Drawing.Size(400, 206);
     this.Controls.Add(this.SafeLabel6);
     this.Controls.Add(this.txtCaliber);
     this.Controls.Add(this.txtModel);
     this.Controls.Add(this.txtManufacturer);
     this.Controls.Add(this.txtWeaponId);
     this.Controls.Add(this.SafeLabel5);
     this.Controls.Add(this.btnSave);
     this.Controls.Add(this.linkWeaponsAutomatic);
     this.Controls.Add(this.ddClass);
     this.Controls.Add(this.chkInternet);
     this.Controls.Add(this.SafeLabel4);
     this.Controls.Add(this.SafeLabel3);
     this.Controls.Add(this.SafeLabel2);
     this.Controls.Add(this.btnDelete);
     this.Controls.Add(this.SafeLabel1);
     this.Controls.Add(this.ddWeapons);
     this.Controls.Add(this.btnCancel);
     this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name = "FWeapons";
     this.Text = "Vapen";
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Пример #11
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(FImport));
			this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog();
			this.txtFileToImport = new Allberg.Shooter.Windows.Forms.SafeTextBox();
			this.dataGridResult = new System.Windows.Forms.DataGrid();
			this.splitter1 = new System.Windows.Forms.Splitter();
			this.btnValidate = new SafeButton();
			this.progressBar1 = new Allberg.Shooter.Windows.Forms.SafeProgressBar();
			this.chkAddPatrols = new System.Windows.Forms.CheckBox();
			this.chkAddLanes = new System.Windows.Forms.CheckBox();
			this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
			((System.ComponentModel.ISupportInitialize)(this.dataGridResult)).BeginInit();
			this.SuspendLayout();
			// 
			// txtFileToImport
			// 
			this.txtFileToImport.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
						| System.Windows.Forms.AnchorStyles.Right)));
			this.txtFileToImport.Location = new System.Drawing.Point(136, 8);
			this.txtFileToImport.Multiline = true;
			this.txtFileToImport.Name = "txtFileToImport";
			this.txtFileToImport.ReadOnly = true;
			this.txtFileToImport.ScrollBars = System.Windows.Forms.ScrollBars.Both;
			this.txtFileToImport.Size = new System.Drawing.Size(600, 112);
			this.txtFileToImport.TabIndex = 0;
			this.txtFileToImport.WordWrap = false;
			// 
			// dataGridResult
			// 
			this.dataGridResult.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
						| System.Windows.Forms.AnchorStyles.Right)));
			this.dataGridResult.DataMember = "";
			this.dataGridResult.HeaderForeColor = System.Drawing.SystemColors.ControlText;
			this.dataGridResult.Location = new System.Drawing.Point(136, 120);
			this.dataGridResult.Name = "dataGridResult";
			this.dataGridResult.ReadOnly = true;
			this.dataGridResult.Size = new System.Drawing.Size(600, 144);
			this.dataGridResult.TabIndex = 1;
			// 
			// splitter1
			// 
			this.splitter1.Cursor = System.Windows.Forms.Cursors.HSplit;
			this.splitter1.Location = new System.Drawing.Point(0, 0);
			this.splitter1.Name = "splitter1";
			this.splitter1.Size = new System.Drawing.Size(128, 302);
			this.splitter1.TabIndex = 2;
			this.splitter1.TabStop = false;
			this.splitter1.SplitterMoved += new System.Windows.Forms.SplitterEventHandler(this.splitter1_SplitterMoved);
			// 
			// btnValidate
			// 
			this.btnValidate.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
			this.btnValidate.Location = new System.Drawing.Point(136, 272);
			this.btnValidate.Name = "btnValidate";
			this.btnValidate.Size = new System.Drawing.Size(75, 23);
			this.btnValidate.TabIndex = 5;
			this.btnValidate.Text = "Importera";
			this.toolTip1.SetToolTip(this.btnValidate, "Importerar data enligt ovan");
			this.btnValidate.Click += new System.EventHandler(this.btnValidate_Click);
			// 
			// progressBar1
			// 
			this.progressBar1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
						| System.Windows.Forms.AnchorStyles.Right)));
			this.progressBar1.Location = new System.Drawing.Point(216, 272);
			this.progressBar1.Name = "progressBar1";
			this.progressBar1.Size = new System.Drawing.Size(520, 23);
			this.progressBar1.TabIndex = 6;
			this.progressBar1.Visible = false;
			// 
			// chkAddPatrols
			// 
			this.chkAddPatrols.Checked = true;
			this.chkAddPatrols.CheckState = System.Windows.Forms.CheckState.Checked;
			this.chkAddPatrols.Location = new System.Drawing.Point(8, 12);
			this.chkAddPatrols.Name = "chkAddPatrols";
			this.chkAddPatrols.Size = new System.Drawing.Size(112, 24);
			this.chkAddPatrols.TabIndex = 8;
			this.chkAddPatrols.Text = "Lägg till patruller";
			this.chkAddPatrols.Visible = false;
			// 
			// chkAddLanes
			// 
			this.chkAddLanes.Checked = true;
			this.chkAddLanes.CheckState = System.Windows.Forms.CheckState.Checked;
			this.chkAddLanes.Location = new System.Drawing.Point(8, 33);
			this.chkAddLanes.Name = "chkAddLanes";
			this.chkAddLanes.Size = new System.Drawing.Size(112, 24);
			this.chkAddLanes.TabIndex = 9;
			this.chkAddLanes.Text = "Lägg till banor";
			this.chkAddLanes.Visible = false;
			// 
			// FImport
			// 
			this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
			this.ClientSize = new System.Drawing.Size(744, 302);
			this.Controls.Add(this.chkAddLanes);
			this.Controls.Add(this.chkAddPatrols);
			this.Controls.Add(this.progressBar1);
			this.Controls.Add(this.btnValidate);
			this.Controls.Add(this.splitter1);
			this.Controls.Add(this.dataGridResult);
			this.Controls.Add(this.txtFileToImport);
			this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
			this.Name = "FImport";
			this.Text = "Importera skyttar från fil";
			((System.ComponentModel.ISupportInitialize)(this.dataGridResult)).EndInit();
			this.ResumeLayout(false);
			this.PerformLayout();

		}
Пример #12
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(FImport));
     this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog();
     this.txtFileToImport = new Allberg.Shooter.Windows.Forms.SafeTextBox();
     this.dataGridResult  = new System.Windows.Forms.DataGrid();
     this.splitter1       = new System.Windows.Forms.Splitter();
     this.btnValidate     = new SafeButton();
     this.progressBar1    = new Allberg.Shooter.Windows.Forms.SafeProgressBar();
     this.chkAddPatrols   = new System.Windows.Forms.CheckBox();
     this.chkAddLanes     = new System.Windows.Forms.CheckBox();
     this.toolTip1        = new System.Windows.Forms.ToolTip(this.components);
     ((System.ComponentModel.ISupportInitialize)(this.dataGridResult)).BeginInit();
     this.SuspendLayout();
     //
     // txtFileToImport
     //
     this.txtFileToImport.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                         | System.Windows.Forms.AnchorStyles.Right)));
     this.txtFileToImport.Location   = new System.Drawing.Point(136, 8);
     this.txtFileToImport.Multiline  = true;
     this.txtFileToImport.Name       = "txtFileToImport";
     this.txtFileToImport.ReadOnly   = true;
     this.txtFileToImport.ScrollBars = System.Windows.Forms.ScrollBars.Both;
     this.txtFileToImport.Size       = new System.Drawing.Size(600, 112);
     this.txtFileToImport.TabIndex   = 0;
     this.txtFileToImport.WordWrap   = false;
     //
     // dataGridResult
     //
     this.dataGridResult.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                        | System.Windows.Forms.AnchorStyles.Right)));
     this.dataGridResult.DataMember      = "";
     this.dataGridResult.HeaderForeColor = System.Drawing.SystemColors.ControlText;
     this.dataGridResult.Location        = new System.Drawing.Point(136, 120);
     this.dataGridResult.Name            = "dataGridResult";
     this.dataGridResult.ReadOnly        = true;
     this.dataGridResult.Size            = new System.Drawing.Size(600, 144);
     this.dataGridResult.TabIndex        = 1;
     //
     // splitter1
     //
     this.splitter1.Cursor         = System.Windows.Forms.Cursors.HSplit;
     this.splitter1.Location       = new System.Drawing.Point(0, 0);
     this.splitter1.Name           = "splitter1";
     this.splitter1.Size           = new System.Drawing.Size(128, 302);
     this.splitter1.TabIndex       = 2;
     this.splitter1.TabStop        = false;
     this.splitter1.SplitterMoved += new System.Windows.Forms.SplitterEventHandler(this.splitter1_SplitterMoved);
     //
     // btnValidate
     //
     this.btnValidate.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.btnValidate.Location = new System.Drawing.Point(136, 272);
     this.btnValidate.Name     = "btnValidate";
     this.btnValidate.Size     = new System.Drawing.Size(75, 23);
     this.btnValidate.TabIndex = 5;
     this.btnValidate.Text     = "Importera";
     this.toolTip1.SetToolTip(this.btnValidate, "Importerar data enligt ovan");
     this.btnValidate.Click += new System.EventHandler(this.btnValidate_Click);
     //
     // progressBar1
     //
     this.progressBar1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                                                                      | System.Windows.Forms.AnchorStyles.Right)));
     this.progressBar1.Location = new System.Drawing.Point(216, 272);
     this.progressBar1.Name     = "progressBar1";
     this.progressBar1.Size     = new System.Drawing.Size(520, 23);
     this.progressBar1.TabIndex = 6;
     this.progressBar1.Visible  = false;
     //
     // chkAddPatrols
     //
     this.chkAddPatrols.Checked    = true;
     this.chkAddPatrols.CheckState = System.Windows.Forms.CheckState.Checked;
     this.chkAddPatrols.Location   = new System.Drawing.Point(8, 12);
     this.chkAddPatrols.Name       = "chkAddPatrols";
     this.chkAddPatrols.Size       = new System.Drawing.Size(112, 24);
     this.chkAddPatrols.TabIndex   = 8;
     this.chkAddPatrols.Text       = "Lägg till patruller";
     this.chkAddPatrols.Visible    = false;
     //
     // chkAddLanes
     //
     this.chkAddLanes.Checked    = true;
     this.chkAddLanes.CheckState = System.Windows.Forms.CheckState.Checked;
     this.chkAddLanes.Location   = new System.Drawing.Point(8, 33);
     this.chkAddLanes.Name       = "chkAddLanes";
     this.chkAddLanes.Size       = new System.Drawing.Size(112, 24);
     this.chkAddLanes.TabIndex   = 9;
     this.chkAddLanes.Text       = "Lägg till banor";
     this.chkAddLanes.Visible    = false;
     //
     // FImport
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(744, 302);
     this.Controls.Add(this.chkAddLanes);
     this.Controls.Add(this.chkAddPatrols);
     this.Controls.Add(this.progressBar1);
     this.Controls.Add(this.btnValidate);
     this.Controls.Add(this.splitter1);
     this.Controls.Add(this.dataGridResult);
     this.Controls.Add(this.txtFileToImport);
     this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name = "FImport";
     this.Text = "Importera skyttar från fil";
     ((System.ComponentModel.ISupportInitialize)(this.dataGridResult)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Пример #13
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(FClubs));
			this._safeLabel1 = new Forms.SafeLabel();
			this._ddClubs = new Forms.SafeComboBox();
			this._btnDelete = new Forms.SafeButton();
			this._safeLabel2 = new Forms.SafeLabel();
			this._txtName = new Forms.SafeTextBox();
			this._safeLabel3 = new Forms.SafeLabel();
			this._safeLabel4 = new Forms.SafeLabel();
			this._txtOfficialName = new Forms.SafeTextBox();
			this._ddCountry = new Forms.SafeComboBox();
			this._btnSave = new Forms.SafeButton();
			this._btnCancel = new Forms.SafeButton();
			this._linkFetchClubsAutomatic = new System.Windows.Forms.LinkLabel();
			this._toolTip1 = new System.Windows.Forms.ToolTip(this.components);
			this._txtPgInfo = new System.Windows.Forms.TextBox();
			this._txtBgInfo = new System.Windows.Forms.TextBox();
			this._label1 = new System.Windows.Forms.Label();
			this._label2 = new System.Windows.Forms.Label();
			this._picPgError = new System.Windows.Forms.PictureBox();
			this._picBgError = new System.Windows.Forms.PictureBox();
			this.SuspendLayout();
			// 
			// SafeLabel1
			// 
			this._safeLabel1.Location = new System.Drawing.Point(8, 8);
			this._safeLabel1.Name = "_safeLabel1";
			this._safeLabel1.TabIndex = 0;
			this._safeLabel1.Text = "Klubbar:";
			// 
			// ddClubs
			// 
			this._ddClubs.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
			this._ddClubs.Location = new System.Drawing.Point(112, 8);
			this._ddClubs.Name = "_ddClubs";
			this._ddClubs.Size = new System.Drawing.Size(200, 21);
			this._ddClubs.TabIndex = 1;
			this._ddClubs.SelectedIndexChanged += new System.EventHandler(this.DdClubsSelectedIndexChanged);
			// 
			// btnDelete
			// 
			this._btnDelete.Location = new System.Drawing.Point(320, 8);
			this._btnDelete.Name = "_btnDelete";
			this._btnDelete.TabIndex = 2;
			this._btnDelete.Text = "Radera";
			this._toolTip1.SetToolTip(this._btnDelete, "Här raderar du den valda klubben");
			this._btnDelete.Click += new System.EventHandler(this.BtnDeleteClick);
			// 
			// SafeLabel2
			// 
			this._safeLabel2.Location = new System.Drawing.Point(8, 56);
			this._safeLabel2.Name = "_safeLabel2";
			this._safeLabel2.TabIndex = 4;
			this._safeLabel2.Text = "Namn";
			// 
			// txtName
			// 
			this._txtName.Location = new System.Drawing.Point(112, 56);
			this._txtName.Name = "_txtName";
			this._txtName.Size = new System.Drawing.Size(280, 20);
			this._txtName.TabIndex = 4;
			this._txtName.Text = "";
			this._txtName.TextChanged += new System.EventHandler(this.TxtNameTextChanged);
			// 
			// SafeLabel3
			// 
			this._safeLabel3.Location = new System.Drawing.Point(8, 80);
			this._safeLabel3.Name = "_safeLabel3";
			this._safeLabel3.TabIndex = 6;
			this._safeLabel3.Text = "Land";
			// 
			// SafeLabel4
			// 
			this._safeLabel4.Location = new System.Drawing.Point(8, 32);
			this._safeLabel4.Name = "_safeLabel4";
			this._safeLabel4.TabIndex = 7;
			this._safeLabel4.Text = "Officiell beteckning";
			// 
			// txtOfficialName
			// 
			this._txtOfficialName.Location = new System.Drawing.Point(112, 32);
			this._txtOfficialName.Name = "_txtOfficialName";
			this._txtOfficialName.Size = new System.Drawing.Size(280, 20);
			this._txtOfficialName.TabIndex = 3;
			this._txtOfficialName.Text = "";
			this._txtOfficialName.TextChanged += new System.EventHandler(this.TxtOfficialNameTextChanged);
			// 
			// ddCountry
			// 
			this._ddCountry.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
			this._ddCountry.Location = new System.Drawing.Point(112, 80);
			this._ddCountry.Name = "_ddCountry";
			this._ddCountry.Size = new System.Drawing.Size(280, 21);
			this._ddCountry.TabIndex = 5;
			// 
			// btnSave
			// 
			this._btnSave.Enabled = false;
			this._btnSave.Location = new System.Drawing.Point(240, 160);
			this._btnSave.Name = "_btnSave";
			this._btnSave.TabIndex = 8;
			this._btnSave.Text = "Spara";
			this._toolTip1.SetToolTip(this._btnSave, "Spara den ändrade informationen");
			this._btnSave.Click += new System.EventHandler(this.BtnSaveClick);
			// 
			// btnCancel
			// 
			this._btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
			this._btnCancel.Location = new System.Drawing.Point(320, 160);
			this._btnCancel.Name = "_btnCancel";
			this._btnCancel.TabIndex = 9;
			this._btnCancel.Text = "Stäng";
			this._toolTip1.SetToolTip(this._btnCancel, "Stäng utan att spara");
			this._btnCancel.Click += new System.EventHandler(this.BtnCancelClick);
			// 
			// linkFetchClubsAutomatic
			// 
			this._linkFetchClubsAutomatic.Location = new System.Drawing.Point(8, 160);
			this._linkFetchClubsAutomatic.Name = "_linkFetchClubsAutomatic";
			this._linkFetchClubsAutomatic.Size = new System.Drawing.Size(160, 23);
			this._linkFetchClubsAutomatic.TabIndex = 10;
			this._linkFetchClubsAutomatic.TabStop = true;
			this._linkFetchClubsAutomatic.Text = "Hämta klubbar från Internet";
			this._linkFetchClubsAutomatic.Visible = false;
			this._linkFetchClubsAutomatic.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.LinkFetchClubsAutomaticLinkClicked);
			// 
			// txtPgInfo
			// 
			this._txtPgInfo.Location = new System.Drawing.Point(112, 104);
			this._txtPgInfo.Name = "_txtPgInfo";
			this._txtPgInfo.Size = new System.Drawing.Size(280, 20);
			this._txtPgInfo.TabIndex = 6;
			this._txtPgInfo.Text = "";
			this._txtPgInfo.TextChanged += new System.EventHandler(this.TxtPgInfoTextChanged);
			// 
			// txtBgInfo
			// 
			this._txtBgInfo.Location = new System.Drawing.Point(112, 128);
			this._txtBgInfo.Name = "_txtBgInfo";
			this._txtBgInfo.Size = new System.Drawing.Size(280, 20);
			this._txtBgInfo.TabIndex = 7;
			this._txtBgInfo.Text = "";
			this._txtBgInfo.TextChanged += new System.EventHandler(this.TxtBgInfoTextChanged);
			// 
			// label1
			// 
			this._label1.Location = new System.Drawing.Point(8, 104);
			this._label1.Name = "_label1";
			this._label1.TabIndex = 12;
			this._label1.Text = "Postgiro";
			// 
			// label2
			// 
			this._label2.Location = new System.Drawing.Point(8, 128);
			this._label2.Name = "_label2";
			this._label2.Size = new System.Drawing.Size(104, 23);
			this._label2.TabIndex = 13;
			this._label2.Text = "Bankgiro";
			// 
			// picPgError
			// 
			this._picPgError.Image = ((System.Drawing.Image)(resources.GetObject("picPgError.Image")));
			this._picPgError.Location = new System.Drawing.Point(96, 112);
			this._picPgError.Name = "_picPgError";
			this._picPgError.Size = new System.Drawing.Size(16, 16);
			this._picPgError.TabIndex = 14;
			this._picPgError.TabStop = false;
			this._picPgError.Visible = false;
			// 
			// picBgError
			// 
			this._picBgError.Image = ((System.Drawing.Image)(resources.GetObject("picBgError.Image")));
			this._picBgError.Location = new System.Drawing.Point(96, 136);
			this._picBgError.Name = "_picBgError";
			this._picBgError.Size = new System.Drawing.Size(16, 16);
			this._picBgError.TabIndex = 15;
			this._picBgError.TabStop = false;
			this._picBgError.Visible = false;
			// 
			// FClubs
			// 
			this.AcceptButton = this._btnSave;
			this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
			this.CancelButton = this._btnCancel;
			this.ClientSize = new System.Drawing.Size(400, 190);
			this.Controls.Add(this._picBgError);
			this.Controls.Add(this._picPgError);
			this.Controls.Add(this._label2);
			this.Controls.Add(this._label1);
			this.Controls.Add(this._txtBgInfo);
			this.Controls.Add(this._txtPgInfo);
			this.Controls.Add(this._linkFetchClubsAutomatic);
			this.Controls.Add(this._btnCancel);
			this.Controls.Add(this._btnSave);
			this.Controls.Add(this._ddCountry);
			this.Controls.Add(this._txtOfficialName);
			this.Controls.Add(this._txtName);
			this.Controls.Add(this._safeLabel4);
			this.Controls.Add(this._safeLabel3);
			this.Controls.Add(this._safeLabel2);
			this.Controls.Add(this._btnDelete);
			this.Controls.Add(this._ddClubs);
			this.Controls.Add(this._safeLabel1);
			this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
			this.Name = "FClubs";
			this.Text = "Klubbar";
			this.ResumeLayout(false);

		}