/// <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(FStationsPrecision)); this.btnSave = new SafeButton(); this.SafeLabel1 = new SafeLabel(); this.numNrOfSeries = new System.Windows.Forms.NumericUpDown(); this.btnCancel = new SafeButton(); this.toolTip1 = new System.Windows.Forms.ToolTip(this.components); this.numNrOfShootPerSeries = new System.Windows.Forms.NumericUpDown(); this.label1 = new System.Windows.Forms.Label(); this.chkUseOnlyOneBoxForResult = new System.Windows.Forms.CheckBox(); ((System.ComponentModel.ISupportInitialize)(this.numNrOfSeries)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.numNrOfShootPerSeries)).BeginInit(); this.SuspendLayout(); // // btnSave // this.btnSave.Location = new System.Drawing.Point(70, 81); this.btnSave.Name = "btnSave"; this.btnSave.Size = new System.Drawing.Size(75, 23); this.btnSave.TabIndex = 3; this.btnSave.Text = "Spara"; this.toolTip1.SetToolTip(this.btnSave, "Spara stationskonfiguration och stäng fönstret."); this.btnSave.Click += new System.EventHandler(this.btnSave_Click); // // SafeLabel1 // this.SafeLabel1.Location = new System.Drawing.Point(8, 8); this.SafeLabel1.Name = "SafeLabel1"; this.SafeLabel1.Size = new System.Drawing.Size(100, 23); this.SafeLabel1.TabIndex = 2; this.SafeLabel1.Text = "Antal serier"; // // numNrOfSeries // this.numNrOfSeries.Location = new System.Drawing.Point(150, 8); this.numNrOfSeries.Maximum = new decimal(new int[] { 20, 0, 0, 0 }); this.numNrOfSeries.Minimum = new decimal(new int[] { 1, 0, 0, 0 }); this.numNrOfSeries.Name = "numNrOfSeries"; this.numNrOfSeries.Size = new System.Drawing.Size(72, 20); this.numNrOfSeries.TabIndex = 1; this.numNrOfSeries.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.toolTip1.SetToolTip(this.numNrOfSeries, "Välj hur många stationer som ska finnas"); this.numNrOfSeries.Value = new decimal(new int[] { 6, 0, 0, 0 }); // // btnCancel // this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.btnCancel.Location = new System.Drawing.Point(150, 81); this.btnCancel.Name = "btnCancel"; this.btnCancel.Size = new System.Drawing.Size(75, 23); this.btnCancel.TabIndex = 4; this.btnCancel.Text = "Stäng"; this.toolTip1.SetToolTip(this.btnCancel, "Stäng fönstret"); this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click); // // numNrOfShootPerSeries // this.numNrOfShootPerSeries.Location = new System.Drawing.Point(150, 32); this.numNrOfShootPerSeries.Maximum = new decimal(new int[] { 6, 0, 0, 0 }); this.numNrOfShootPerSeries.Minimum = new decimal(new int[] { 1, 0, 0, 0 }); this.numNrOfShootPerSeries.Name = "numNrOfShootPerSeries"; this.numNrOfShootPerSeries.Size = new System.Drawing.Size(72, 20); this.numNrOfShootPerSeries.TabIndex = 2; this.numNrOfShootPerSeries.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.toolTip1.SetToolTip(this.numNrOfShootPerSeries, "Välj hur många stationer som ska finnas"); this.numNrOfShootPerSeries.Value = new decimal(new int[] { 5, 0, 0, 0 }); // // label1 // this.label1.Location = new System.Drawing.Point(8, 32); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(104, 23); this.label1.TabIndex = 13; this.label1.Text = "Antal skott per serie"; // // chkUseOnlyOneBoxForResult // this.chkUseOnlyOneBoxForResult.AutoSize = true; this.chkUseOnlyOneBoxForResult.Location = new System.Drawing.Point(11, 58); this.chkUseOnlyOneBoxForResult.Name = "chkUseOnlyOneBoxForResult"; this.chkUseOnlyOneBoxForResult.Size = new System.Drawing.Size(214, 17); this.chkUseOnlyOneBoxForResult.TabIndex = 14; this.chkUseOnlyOneBoxForResult.Text = "Sammanräkning av serie sker på station"; this.chkUseOnlyOneBoxForResult.UseVisualStyleBackColor = true; // // FStationsPrecision // this.AcceptButton = this.btnSave; this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.CancelButton = this.btnCancel; this.ClientSize = new System.Drawing.Size(227, 111); this.Controls.Add(this.chkUseOnlyOneBoxForResult); this.Controls.Add(this.numNrOfShootPerSeries); this.Controls.Add(this.label1); this.Controls.Add(this.btnCancel); this.Controls.Add(this.numNrOfSeries); this.Controls.Add(this.SafeLabel1); this.Controls.Add(this.btnSave); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.KeyPreview = true; this.Name = "FStationsPrecision"; this.Text = "Serier"; ((System.ComponentModel.ISupportInitialize)(this.numNrOfSeries)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.numNrOfShootPerSeries)).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() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FPrintSelection)); this.lblSelection = new SafeLabel(); this.chkPrintAll = new System.Windows.Forms.CheckBox(); this.DdSelection = new Allberg.Shooter.Windows.Forms.SafeComboBox(); this.btnOk = new SafeButton(); this.btnCancel = new SafeButton(); this.numericUpDown1 = new System.Windows.Forms.NumericUpDown(); this.lblNumericUpDown1 = new System.Windows.Forms.Label(); ((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).BeginInit(); this.SuspendLayout(); // // lblSelection // this.lblSelection.Location = new System.Drawing.Point(8, 8); this.lblSelection.Name = "lblSelection"; this.lblSelection.Size = new System.Drawing.Size(100, 23); this.lblSelection.TabIndex = 0; this.lblSelection.Text = "Selection"; // // chkPrintAll // this.chkPrintAll.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.chkPrintAll.Checked = true; this.chkPrintAll.CheckState = System.Windows.Forms.CheckState.Checked; this.chkPrintAll.Location = new System.Drawing.Point(112, 32); this.chkPrintAll.Name = "chkPrintAll"; this.chkPrintAll.Size = new System.Drawing.Size(304, 24); this.chkPrintAll.TabIndex = 1; this.chkPrintAll.Text = "checkBox1"; this.chkPrintAll.CheckedChanged += new System.EventHandler(this.chkPrintAll_CheckedChanged); // // DdSelection // this.DdSelection.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.DdSelection.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.DdSelection.Enabled = false; this.DdSelection.Location = new System.Drawing.Point(112, 8); this.DdSelection.Name = "DdSelection"; this.DdSelection.Size = new System.Drawing.Size(304, 21); this.DdSelection.TabIndex = 2; // // btnOk // this.btnOk.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnOk.Location = new System.Drawing.Point(264, 56); this.btnOk.Name = "btnOk"; this.btnOk.Size = new System.Drawing.Size(75, 23); this.btnOk.TabIndex = 3; this.btnOk.Text = "OK"; this.btnOk.Click += new System.EventHandler(this.btnOk_Click); // // btnCancel // this.btnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnCancel.Location = new System.Drawing.Point(344, 56); this.btnCancel.Name = "btnCancel"; this.btnCancel.Size = new System.Drawing.Size(75, 23); this.btnCancel.TabIndex = 4; this.btnCancel.Text = "Cancel"; this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click); // // numericUpDown1 // this.numericUpDown1.Location = new System.Drawing.Point(112, 54); this.numericUpDown1.Name = "numericUpDown1"; this.numericUpDown1.Size = new System.Drawing.Size(44, 20); this.numericUpDown1.TabIndex = 5; this.numericUpDown1.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.numericUpDown1.Visible = false; // // lblNumericUpDown1 // this.lblNumericUpDown1.AutoSize = true; this.lblNumericUpDown1.Location = new System.Drawing.Point(163, 56); this.lblNumericUpDown1.Name = "lblNumericUpDown1"; this.lblNumericUpDown1.Size = new System.Drawing.Size(35, 13); this.lblNumericUpDown1.TabIndex = 6; this.lblNumericUpDown1.Text = "label1"; this.lblNumericUpDown1.Visible = false; // // FPrintSelection // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(424, 86); this.Controls.Add(this.lblNumericUpDown1); this.Controls.Add(this.numericUpDown1); this.Controls.Add(this.btnCancel); this.Controls.Add(this.btnOk); this.Controls.Add(this.DdSelection); this.Controls.Add(this.chkPrintAll); this.Controls.Add(this.lblSelection); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Name = "FPrintSelection"; this.Text = "Skriv ut"; ((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).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(FPatrol)); this.datasetPatrol = new Allberg.Shooter.Windows.DatasetPatrol(); this.dataGridAssigned = new System.Windows.Forms.DataGrid(); this.dataGridTableStyleAssigned = new System.Windows.Forms.DataGridTableStyle(); this.dataGridAssignedMove = new System.Windows.Forms.DataGridBoolColumn(); this.dataGridAssignedLane = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridAssignedName = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridAssignedClub = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridAssignedWeaponClass = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridAssignedWeapon = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridUnassigned = new System.Windows.Forms.DataGrid(); this.dataGridTableStyleUnassigned = new System.Windows.Forms.DataGridTableStyle(); this.dataGridUnassignedLane = new System.Windows.Forms.DataGridBoolColumn(); this.dataGridUnassignedName = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridUnassignedClub = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridUnassignedWeaponClass = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridUnassignedWeapon = new System.Windows.Forms.DataGridTextBoxColumn(); this.toolTip1 = new System.Windows.Forms.ToolTip(this.components); this.timePatrol = new Allberg.Shooter.Windows.Forms.SafeDateTimePicker(); this.btnMoveDown = new SafeButton(); this.btnMoveUp = new SafeButton(); this.btnRemoveFromPatrol = new SafeButton(); this.btnAddToPatrol = new SafeButton(); this.chkUseAutomaticTime = new Allberg.Shooter.Windows.Forms.SafeCheckBox(); this.safeLabel1 = new SafeLabel(); this.lblPatrolClass = new SafeLabel(); this.SafeLabel2 = new SafeLabel(); this.lblPatrol = new SafeLabel(); this.lblPatrolnumber = new SafeLabel(); this.chkBlockThisPatrolForAutomatic = new System.Windows.Forms.CheckBox(); ((System.ComponentModel.ISupportInitialize)(this.datasetPatrol)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dataGridAssigned)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dataGridUnassigned)).BeginInit(); this.SuspendLayout(); // // datasetPatrol // this.datasetPatrol.DataSetName = "DatasetPatrol"; this.datasetPatrol.Locale = new System.Globalization.CultureInfo("en-US"); this.datasetPatrol.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // dataGridAssigned // this.dataGridAssigned.AllowNavigation = false; this.dataGridAssigned.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left))); this.dataGridAssigned.CaptionText = "Skyttar i patrullen"; this.dataGridAssigned.DataMember = "shooters"; this.dataGridAssigned.DataSource = this.datasetPatrol; this.dataGridAssigned.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.dataGridAssigned.Location = new System.Drawing.Point(8, 47); this.dataGridAssigned.Name = "dataGridAssigned"; this.dataGridAssigned.Size = new System.Drawing.Size(272, 244); this.dataGridAssigned.TabIndex = 6; this.dataGridAssigned.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] { this.dataGridTableStyleAssigned }); this.toolTip1.SetToolTip(this.dataGridAssigned, "Skyttar som redan finns i patrullen"); // // dataGridTableStyleAssigned // this.dataGridTableStyleAssigned.DataGrid = this.dataGridAssigned; this.dataGridTableStyleAssigned.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] { this.dataGridAssignedMove, this.dataGridAssignedLane, this.dataGridAssignedName, this.dataGridAssignedClub, this.dataGridAssignedWeaponClass, this.dataGridAssignedWeapon }); this.dataGridTableStyleAssigned.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.dataGridTableStyleAssigned.MappingName = "shooters"; this.dataGridTableStyleAssigned.RowHeadersVisible = false; // // dataGridAssignedMove // this.dataGridAssignedMove.Alignment = System.Windows.Forms.HorizontalAlignment.Center; this.dataGridAssignedMove.AllowNull = false; this.dataGridAssignedMove.MappingName = "Move"; this.dataGridAssignedMove.Width = 20; // // dataGridAssignedLane // this.dataGridAssignedLane.Alignment = System.Windows.Forms.HorizontalAlignment.Center; this.dataGridAssignedLane.Format = ""; this.dataGridAssignedLane.FormatInfo = null; this.dataGridAssignedLane.HeaderText = "Bana"; this.dataGridAssignedLane.MappingName = "Lane"; this.dataGridAssignedLane.ReadOnly = true; this.dataGridAssignedLane.Width = 40; // // dataGridAssignedName // this.dataGridAssignedName.Format = ""; this.dataGridAssignedName.FormatInfo = null; this.dataGridAssignedName.HeaderText = "Namn"; this.dataGridAssignedName.MappingName = "Name"; this.dataGridAssignedName.ReadOnly = true; this.dataGridAssignedName.Width = 75; // // dataGridAssignedClub // this.dataGridAssignedClub.Format = ""; this.dataGridAssignedClub.FormatInfo = null; this.dataGridAssignedClub.HeaderText = "Klubb"; this.dataGridAssignedClub.MappingName = "Club"; this.dataGridAssignedClub.ReadOnly = true; this.dataGridAssignedClub.Width = 75; // // dataGridAssignedWeaponClass // this.dataGridAssignedWeaponClass.Alignment = System.Windows.Forms.HorizontalAlignment.Center; this.dataGridAssignedWeaponClass.Format = ""; this.dataGridAssignedWeaponClass.FormatInfo = null; this.dataGridAssignedWeaponClass.HeaderText = "Klass"; this.dataGridAssignedWeaponClass.MappingName = "WeaponClass"; this.dataGridAssignedWeaponClass.NullText = ""; this.dataGridAssignedWeaponClass.ReadOnly = true; this.dataGridAssignedWeaponClass.Width = 40; // // dataGridAssignedWeapon // this.dataGridAssignedWeapon.Format = ""; this.dataGridAssignedWeapon.FormatInfo = null; this.dataGridAssignedWeapon.HeaderText = "Vapen"; this.dataGridAssignedWeapon.MappingName = "Weapon"; this.dataGridAssignedWeapon.ReadOnly = true; this.dataGridAssignedWeapon.Width = 75; // // dataGridUnassigned // this.dataGridUnassigned.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Right))); this.dataGridUnassigned.CaptionText = "Skyttar utan patrull"; this.dataGridUnassigned.DataMember = "unassigned"; this.dataGridUnassigned.DataSource = this.datasetPatrol; this.dataGridUnassigned.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.dataGridUnassigned.Location = new System.Drawing.Point(318, 47); this.dataGridUnassigned.Name = "dataGridUnassigned"; this.dataGridUnassigned.Size = new System.Drawing.Size(272, 244); this.dataGridUnassigned.TabIndex = 9; this.dataGridUnassigned.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] { this.dataGridTableStyleUnassigned }); this.toolTip1.SetToolTip(this.dataGridUnassigned, "Skyttar som inte blivit tilldelad någon patrull"); // // dataGridTableStyleUnassigned // this.dataGridTableStyleUnassigned.DataGrid = this.dataGridUnassigned; this.dataGridTableStyleUnassigned.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] { this.dataGridUnassignedLane, this.dataGridUnassignedName, this.dataGridUnassignedClub, this.dataGridUnassignedWeaponClass, this.dataGridUnassignedWeapon }); this.dataGridTableStyleUnassigned.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.dataGridTableStyleUnassigned.MappingName = "unassigned"; this.dataGridTableStyleUnassigned.RowHeadersVisible = false; // // dataGridUnassignedLane // this.dataGridUnassignedLane.AllowNull = false; this.dataGridUnassignedLane.MappingName = "Move"; this.dataGridUnassignedLane.Width = 20; // // dataGridUnassignedName // this.dataGridUnassignedName.Format = ""; this.dataGridUnassignedName.FormatInfo = null; this.dataGridUnassignedName.HeaderText = "Namn"; this.dataGridUnassignedName.MappingName = "Name"; this.dataGridUnassignedName.ReadOnly = true; this.dataGridUnassignedName.Width = 75; // // dataGridUnassignedClub // this.dataGridUnassignedClub.Format = ""; this.dataGridUnassignedClub.FormatInfo = null; this.dataGridUnassignedClub.HeaderText = "Klubb"; this.dataGridUnassignedClub.MappingName = "Club"; this.dataGridUnassignedClub.ReadOnly = true; this.dataGridUnassignedClub.Width = 75; // // dataGridUnassignedWeaponClass // this.dataGridUnassignedWeaponClass.Alignment = System.Windows.Forms.HorizontalAlignment.Center; this.dataGridUnassignedWeaponClass.Format = ""; this.dataGridUnassignedWeaponClass.FormatInfo = null; this.dataGridUnassignedWeaponClass.HeaderText = "Klass"; this.dataGridUnassignedWeaponClass.MappingName = "WeaponClass"; this.dataGridUnassignedWeaponClass.NullText = ""; this.dataGridUnassignedWeaponClass.ReadOnly = true; this.dataGridUnassignedWeaponClass.Width = 40; // // dataGridUnassignedWeapon // this.dataGridUnassignedWeapon.Format = ""; this.dataGridUnassignedWeapon.FormatInfo = null; this.dataGridUnassignedWeapon.HeaderText = "Vapen"; this.dataGridUnassignedWeapon.MappingName = "Weapon"; this.dataGridUnassignedWeapon.ReadOnly = true; this.dataGridUnassignedWeapon.Width = 75; // // timePatrol // this.timePatrol.CustomFormat = "hh:mm"; this.timePatrol.Enabled = false; this.timePatrol.Format = System.Windows.Forms.DateTimePickerFormat.Custom; this.timePatrol.Location = new System.Drawing.Point(276, 6); this.timePatrol.Name = "timePatrol"; this.timePatrol.ShowUpDown = true; this.timePatrol.Size = new System.Drawing.Size(73, 20); this.timePatrol.TabIndex = 14; this.toolTip1.SetToolTip(this.timePatrol, "Patrullens starttid kan sättas till annan tid än den som automatiskt sätts"); this.timePatrol.Value = new System.DateTime(2006, 6, 13, 19, 2, 18, 562); this.timePatrol.ValueChanged += new System.EventHandler(this.timePatrol_ValueChanged); // // btnMoveDown // this.btnMoveDown.Font = new System.Drawing.Font("Symbol", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnMoveDown.Location = new System.Drawing.Point(280, 128); this.btnMoveDown.Name = "btnMoveDown"; this.btnMoveDown.Size = new System.Drawing.Size(32, 23); this.btnMoveDown.TabIndex = 11; this.btnMoveDown.Text = "ß"; this.toolTip1.SetToolTip(this.btnMoveDown, "Flytta skyttar till en senare bana"); this.btnMoveDown.Click += new System.EventHandler(this.btnMoveDown_Click); // // btnMoveUp // this.btnMoveUp.Font = new System.Drawing.Font("Symbol", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnMoveUp.Location = new System.Drawing.Point(280, 104); this.btnMoveUp.Name = "btnMoveUp"; this.btnMoveUp.Size = new System.Drawing.Size(32, 23); this.btnMoveUp.TabIndex = 10; this.btnMoveUp.Text = "Ý"; this.toolTip1.SetToolTip(this.btnMoveUp, "Flytta skyttar till en tidigare bana"); this.btnMoveUp.Click += new System.EventHandler(this.btnMoveUp_Click); // // btnRemoveFromPatrol // this.btnRemoveFromPatrol.Font = new System.Drawing.Font("Symbol", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnRemoveFromPatrol.Location = new System.Drawing.Point(280, 56); this.btnRemoveFromPatrol.Name = "btnRemoveFromPatrol"; this.btnRemoveFromPatrol.Size = new System.Drawing.Size(32, 23); this.btnRemoveFromPatrol.TabIndex = 8; this.btnRemoveFromPatrol.Text = "Þ"; this.toolTip1.SetToolTip(this.btnRemoveFromPatrol, "Ta bort skyttar ur patrullen"); this.btnRemoveFromPatrol.Click += new System.EventHandler(this.btnRemoveFromPatrol_Click); // // btnAddToPatrol // this.btnAddToPatrol.Font = new System.Drawing.Font("Symbol", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnAddToPatrol.Location = new System.Drawing.Point(280, 80); this.btnAddToPatrol.Name = "btnAddToPatrol"; this.btnAddToPatrol.Size = new System.Drawing.Size(32, 23); this.btnAddToPatrol.TabIndex = 7; this.btnAddToPatrol.Text = "Ü"; this.toolTip1.SetToolTip(this.btnAddToPatrol, "Lägg till skyttar i patrullen"); this.btnAddToPatrol.Click += new System.EventHandler(this.btnAddToPatrol_Click); // // chkUseAutomaticTime // this.chkUseAutomaticTime.AutoSize = true; this.chkUseAutomaticTime.Location = new System.Drawing.Point(355, 8); this.chkUseAutomaticTime.Name = "chkUseAutomaticTime"; this.chkUseAutomaticTime.Size = new System.Drawing.Size(131, 17); this.chkUseAutomaticTime.TabIndex = 15; this.chkUseAutomaticTime.Text = "Använd automatisk tid"; this.chkUseAutomaticTime.UseVisualStyleBackColor = true; this.chkUseAutomaticTime.CheckedChanged += new System.EventHandler(this.chkUseAutomaticTime_CheckedChanged); // // safeLabel1 // this.safeLabel1.AutoSize = true; this.safeLabel1.Location = new System.Drawing.Point(230, 8); this.safeLabel1.Name = "safeLabel1"; this.safeLabel1.Size = new System.Drawing.Size(40, 13); this.safeLabel1.TabIndex = 13; this.safeLabel1.Text = "Starttid"; // // lblPatrolClass // this.lblPatrolClass.Location = new System.Drawing.Point(184, 8); this.lblPatrolClass.Name = "lblPatrolClass"; this.lblPatrolClass.Size = new System.Drawing.Size(40, 23); this.lblPatrolClass.TabIndex = 5; this.lblPatrolClass.Text = "Klass1"; // // SafeLabel2 // this.SafeLabel2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.SafeLabel2.Location = new System.Drawing.Point(136, 8); this.SafeLabel2.Name = "SafeLabel2"; this.SafeLabel2.Size = new System.Drawing.Size(40, 23); this.SafeLabel2.TabIndex = 4; this.SafeLabel2.Text = "Klass"; // // lblPatrol // this.lblPatrol.Location = new System.Drawing.Point(96, 8); this.lblPatrol.Name = "lblPatrol"; this.lblPatrol.Size = new System.Drawing.Size(32, 23); this.lblPatrol.TabIndex = 3; this.lblPatrol.Text = "0"; this.lblPatrol.TextAlign = System.Drawing.ContentAlignment.TopRight; // // lblPatrolnumber // this.lblPatrolnumber.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblPatrolnumber.Location = new System.Drawing.Point(8, 8); this.lblPatrolnumber.Name = "lblPatrolnumber"; this.lblPatrolnumber.Size = new System.Drawing.Size(88, 23); this.lblPatrolnumber.TabIndex = 2; this.lblPatrolnumber.Text = "Patrullnummer"; // // chkBlockThisPatrolForAutomatic // this.chkBlockThisPatrolForAutomatic.AutoSize = true; this.chkBlockThisPatrolForAutomatic.Location = new System.Drawing.Point(12, 24); this.chkBlockThisPatrolForAutomatic.Name = "chkBlockThisPatrolForAutomatic"; this.chkBlockThisPatrolForAutomatic.Size = new System.Drawing.Size(233, 17); this.chkBlockThisPatrolForAutomatic.TabIndex = 16; this.chkBlockThisPatrolForAutomatic.Text = "Stäng denna patrull för automatisk placering"; this.chkBlockThisPatrolForAutomatic.UseVisualStyleBackColor = true; this.chkBlockThisPatrolForAutomatic.CheckedChanged += new System.EventHandler(this.chkBlockThisPatrolForAutomatic_CheckedChanged); // // FPatrol // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(598, 297); this.Controls.Add(this.chkBlockThisPatrolForAutomatic); this.Controls.Add(this.chkUseAutomaticTime); this.Controls.Add(this.timePatrol); this.Controls.Add(this.safeLabel1); this.Controls.Add(this.btnMoveDown); this.Controls.Add(this.btnMoveUp); this.Controls.Add(this.dataGridUnassigned); this.Controls.Add(this.btnRemoveFromPatrol); this.Controls.Add(this.btnAddToPatrol); this.Controls.Add(this.dataGridAssigned); this.Controls.Add(this.lblPatrolClass); this.Controls.Add(this.SafeLabel2); this.Controls.Add(this.lblPatrol); this.Controls.Add(this.lblPatrolnumber); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Name = "FPatrol"; this.Text = "Patrull"; ((System.ComponentModel.ISupportInitialize)(this.datasetPatrol)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dataGridAssigned)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dataGridUnassigned)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FStationsField)); this.SafeLabel1 = new SafeLabel(); this.panelStations = new System.Windows.Forms.Panel(); this.lblNumberOfStations = new System.Windows.Forms.Label(); this.btnAddStation = new SafeButton(); this.chkDistiguish = new Allberg.Shooter.Windows.Forms.SafeCheckBox(); this.SuspendLayout(); // // 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 = 4; this.SafeLabel1.Text = "Antal stationer"; // // panelStations // this.panelStations.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.panelStations.AutoScroll = true; this.panelStations.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.panelStations.Location = new System.Drawing.Point(8, 32); this.panelStations.Name = "panelStations"; this.panelStations.Size = new System.Drawing.Size(584, 232); this.panelStations.TabIndex = 0; // // lblNumberOfStations // this.lblNumberOfStations.Location = new System.Drawing.Point(120, 8); this.lblNumberOfStations.Name = "lblNumberOfStations"; this.lblNumberOfStations.Size = new System.Drawing.Size(100, 24); this.lblNumberOfStations.TabIndex = 5; this.lblNumberOfStations.Text = "0"; // // btnAddStation // this.btnAddStation.Location = new System.Drawing.Point(224, 8); this.btnAddStation.Name = "btnAddStation"; this.btnAddStation.Size = new System.Drawing.Size(75, 23); this.btnAddStation.TabIndex = 0; this.btnAddStation.Text = "Lägg till"; this.btnAddStation.Click += new System.EventHandler(this.btnAddStation_Click); // // chkDistiguish // this.chkDistiguish.AutoSize = true; this.chkDistiguish.Location = new System.Drawing.Point(306, 9); this.chkDistiguish.Name = "chkDistiguish"; this.chkDistiguish.Size = new System.Drawing.Size(120, 17); this.chkDistiguish.TabIndex = 6; this.chkDistiguish.Text = "Särskjutningsstation"; this.chkDistiguish.UseVisualStyleBackColor = true; this.chkDistiguish.CheckedChanged += new System.EventHandler(this.chkDistiguish_CheckedChanged); // // FStationsField // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(600, 270); this.Controls.Add(this.chkDistiguish); this.Controls.Add(this.btnAddStation); this.Controls.Add(this.lblNumberOfStations); this.Controls.Add(this.panelStations); this.Controls.Add(this.SafeLabel1); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Name = "FStationsField"; this.Text = "Stationer (Fältskytte)"; 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(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(); }
/// <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(); }
/// <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(FPatrols)); this.lblPatrols = new SafeLabel(); this.btnAddPatrol = new SafeButton(); this.lblPatrolsCount = new SafeLabel(); this.btnRemPatrol = new SafeButton(); this.btnPatrolAutomatic = new SafeButton(); this.toolTip1 = new System.Windows.Forms.ToolTip(this.components); this.dataGrid1 = new Allberg.Shooter.Windows.Forms.DataGridCustom(); this.patrolsDs = new Allberg.Shooter.Windows.DatasetPatrols(); this.dataGridTableStyle1 = new System.Windows.Forms.DataGridTableStyle(); this.DataGridTextBoxPatrol = new System.Windows.Forms.DataGridTextBoxColumn(); this.DataGridTextBoxStartTime = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxStartTimeDisplay = new System.Windows.Forms.DataGridTextBoxColumn(); this.DataGridTextBoxClass = new System.Windows.Forms.DataGridTextBoxColumn(); this.DataGridTextBoxNrOfCompetitors = new System.Windows.Forms.DataGridTextBoxColumn(); this.DataGridTextBoxNrOfCompetitorsWithResults = new System.Windows.Forms.DataGridTextBoxColumn(); this.DataGridTextBoxNrOfCompetitorsArrived = new System.Windows.Forms.DataGridTextBoxColumn(); this.progressBar1 = new System.Windows.Forms.ProgressBar(); ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.patrolsDs)).BeginInit(); this.SuspendLayout(); // // lblPatrols // this.lblPatrols.Location = new System.Drawing.Point(8, 8); this.lblPatrols.Name = "lblPatrols"; this.lblPatrols.Size = new System.Drawing.Size(100, 23); this.lblPatrols.TabIndex = 1; this.lblPatrols.Text = "Antal patruller"; // // btnAddPatrol // this.btnAddPatrol.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnAddPatrol.Location = new System.Drawing.Point(302, 8); this.btnAddPatrol.Name = "btnAddPatrol"; this.btnAddPatrol.Size = new System.Drawing.Size(88, 23); this.btnAddPatrol.TabIndex = 2; this.btnAddPatrol.Text = "Lägg till patrull"; this.toolTip1.SetToolTip(this.btnAddPatrol, "Lägger till en ny patrull på slutet"); this.btnAddPatrol.Click += new System.EventHandler(this.btnAddPatrol_Click); // // lblPatrolsCount // this.lblPatrolsCount.Location = new System.Drawing.Point(88, 8); this.lblPatrolsCount.Name = "lblPatrolsCount"; this.lblPatrolsCount.Size = new System.Drawing.Size(24, 23); this.lblPatrolsCount.TabIndex = 4; this.lblPatrolsCount.Text = "0"; // // btnRemPatrol // this.btnRemPatrol.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnRemPatrol.Location = new System.Drawing.Point(390, 8); this.btnRemPatrol.Name = "btnRemPatrol"; this.btnRemPatrol.Size = new System.Drawing.Size(88, 23); this.btnRemPatrol.TabIndex = 3; this.btnRemPatrol.Text = "Ta bort patrull"; this.toolTip1.SetToolTip(this.btnRemPatrol, "Tar bort den sista patrullen. Kan endast ta bort tomma patruller."); this.btnRemPatrol.Click += new System.EventHandler(this.btnRemPatrol_Click); // // btnPatrolAutomatic // this.btnPatrolAutomatic.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnPatrolAutomatic.Location = new System.Drawing.Point(214, 8); this.btnPatrolAutomatic.Name = "btnPatrolAutomatic"; this.btnPatrolAutomatic.Size = new System.Drawing.Size(88, 23); this.btnPatrolAutomatic.TabIndex = 1; this.btnPatrolAutomatic.Text = "Automat"; this.toolTip1.SetToolTip(this.btnPatrolAutomatic, "Här raderas samtliga tidigare patruller och skyttarna läggs ut i nya patruller me" + "d hänsyn till patrulltid, maxantal, vilotid, skytteklass och klubbtillhörighet"); this.btnPatrolAutomatic.Click += new System.EventHandler(this.btnPatrolAutomatic_Click); // // dataGrid1 // this.dataGrid1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.dataGrid1.DataMember = "Patrols"; this.dataGrid1.DataSource = this.patrolsDs; this.dataGrid1.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.dataGrid1.Location = new System.Drawing.Point(8, 32); this.dataGrid1.Name = "dataGrid1"; this.dataGrid1.ReadOnly = true; this.dataGrid1.Size = new System.Drawing.Size(470, 328); this.dataGrid1.TabIndex = 5; this.dataGrid1.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] { this.dataGridTableStyle1 }); this.toolTip1.SetToolTip(this.dataGrid1, "Här visas en lista på alla patruller och dess klass. Klicka på en patrull för att" + " visa dess innehåll."); // // patrolsDs // this.patrolsDs.DataSetName = "DatasetPatrols"; this.patrolsDs.Locale = new System.Globalization.CultureInfo("en-US"); this.patrolsDs.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // dataGridTableStyle1 // this.dataGridTableStyle1.DataGrid = this.dataGrid1; this.dataGridTableStyle1.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] { this.DataGridTextBoxPatrol, this.DataGridTextBoxStartTime, this.dataGridTextBoxStartTimeDisplay, this.DataGridTextBoxClass, this.DataGridTextBoxNrOfCompetitors, this.DataGridTextBoxNrOfCompetitorsArrived, this.DataGridTextBoxNrOfCompetitorsWithResults }); this.dataGridTableStyle1.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.dataGridTableStyle1.MappingName = "Patrols"; this.dataGridTableStyle1.ReadOnly = true; this.dataGridTableStyle1.RowHeadersVisible = false; // // DataGridTextBoxPatrol // this.DataGridTextBoxPatrol.Alignment = System.Windows.Forms.HorizontalAlignment.Center; this.DataGridTextBoxPatrol.Format = ""; this.DataGridTextBoxPatrol.FormatInfo = null; this.DataGridTextBoxPatrol.HeaderText = "Patrull"; this.DataGridTextBoxPatrol.MappingName = "Id"; this.DataGridTextBoxPatrol.ReadOnly = true; this.DataGridTextBoxPatrol.Width = 50; // // DataGridTextBoxStartTime // this.DataGridTextBoxStartTime.Alignment = System.Windows.Forms.HorizontalAlignment.Center; this.DataGridTextBoxStartTime.Format = "HH:mm"; this.DataGridTextBoxStartTime.FormatInfo = null; this.DataGridTextBoxStartTime.HeaderText = "Starttid"; this.DataGridTextBoxStartTime.MappingName = "Starttime"; this.DataGridTextBoxStartTime.ReadOnly = true; this.DataGridTextBoxStartTime.Width = 60; // // dataGridTextBoxStartTimeDisplay // this.dataGridTextBoxStartTimeDisplay.Alignment = System.Windows.Forms.HorizontalAlignment.Center; this.dataGridTextBoxStartTimeDisplay.Format = "HH:mm"; this.dataGridTextBoxStartTimeDisplay.FormatInfo = null; this.dataGridTextBoxStartTimeDisplay.HeaderText = "Visas"; this.dataGridTextBoxStartTimeDisplay.MappingName = "StartTimeDisplay"; this.dataGridTextBoxStartTimeDisplay.ReadOnly = true; this.dataGridTextBoxStartTimeDisplay.Width = 60; // // DataGridTextBoxClass // this.DataGridTextBoxClass.Alignment = System.Windows.Forms.HorizontalAlignment.Center; this.DataGridTextBoxClass.Format = ""; this.DataGridTextBoxClass.FormatInfo = null; this.DataGridTextBoxClass.HeaderText = "Klass"; this.DataGridTextBoxClass.MappingName = "Class"; this.DataGridTextBoxClass.ReadOnly = true; this.DataGridTextBoxClass.Width = 65; // // DataGridTextBoxNrOfCompetitors // this.DataGridTextBoxNrOfCompetitors.Alignment = System.Windows.Forms.HorizontalAlignment.Center; this.DataGridTextBoxNrOfCompetitors.Format = ""; this.DataGridTextBoxNrOfCompetitors.FormatInfo = null; this.DataGridTextBoxNrOfCompetitors.HeaderText = "Antal"; this.DataGridTextBoxNrOfCompetitors.MappingName = "NumberOfCompetitors"; this.DataGridTextBoxNrOfCompetitors.ReadOnly = true; this.DataGridTextBoxNrOfCompetitors.Width = 50; // // DataGridTextBoxNrOfCompetitorsWithResults // this.DataGridTextBoxNrOfCompetitorsWithResults.Alignment = System.Windows.Forms.HorizontalAlignment.Center; this.DataGridTextBoxNrOfCompetitorsWithResults.Format = ""; this.DataGridTextBoxNrOfCompetitorsWithResults.FormatInfo = null; this.DataGridTextBoxNrOfCompetitorsWithResults.HeaderText = "Resultat finns"; this.DataGridTextBoxNrOfCompetitorsWithResults.MappingName = "NumberOfCompetitorsWithResult"; this.DataGridTextBoxNrOfCompetitorsWithResults.ReadOnly = true; this.DataGridTextBoxNrOfCompetitorsWithResults.Width = 80; // // DataGridTextBoxNrOfCompetitorsArrived // this.DataGridTextBoxNrOfCompetitorsArrived.Alignment = System.Windows.Forms.HorizontalAlignment.Center; this.DataGridTextBoxNrOfCompetitorsArrived.Format = ""; this.DataGridTextBoxNrOfCompetitorsArrived.FormatInfo = null; this.DataGridTextBoxNrOfCompetitorsArrived.HeaderText = "Ankomna"; this.DataGridTextBoxNrOfCompetitorsArrived.MappingName = "NrOfArrived"; this.DataGridTextBoxNrOfCompetitorsArrived.NullText = ""; this.DataGridTextBoxNrOfCompetitorsArrived.ReadOnly = true; this.DataGridTextBoxNrOfCompetitorsArrived.Width = 65; // // progressBar1 // this.progressBar1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.progressBar1.Location = new System.Drawing.Point(8, 32); this.progressBar1.Name = "progressBar1"; this.progressBar1.Size = new System.Drawing.Size(470, 16); this.progressBar1.TabIndex = 6; this.progressBar1.Visible = false; // // FPatrols // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(486, 365); this.Controls.Add(this.progressBar1); this.Controls.Add(this.btnPatrolAutomatic); this.Controls.Add(this.btnRemPatrol); this.Controls.Add(this.dataGrid1); this.Controls.Add(this.lblPatrolsCount); this.Controls.Add(this.btnAddPatrol); this.Controls.Add(this.lblPatrols); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Name = "FPatrols"; this.Text = "Patruller"; ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.patrolsDs)).EndInit(); this.ResumeLayout(false); }
/// <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(); }