예제 #1
0
        private void InitializeComponent()
        {
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
            this.buttonClose                        = new System.Windows.Forms.Button();
            this.buttonAircraftAdd                  = new System.Windows.Forms.Button();
            this.buttonAircraftEdit                 = new System.Windows.Forms.Button();
            this.buttonAircraftSearch               = new System.Windows.Forms.Button();
            this.dataGridViewAircraft               = new System.Windows.Forms.DataGridView();
            this.labelAircraftName                  = new System.Windows.Forms.Label();
            this.textBoxAircraftName                = new System.Windows.Forms.TextBox();
            this.labelAircraftTypeRefCombo          = new System.Windows.Forms.Label();
            this.aircraftTypeRefCombo               = new AircraftTypeRefCombo();
            this.labelAircraftConfigurationRefCombo = new System.Windows.Forms.Label();
            this.aircraftConfigurationRefCombo      = new AircraftConfigurationRefCombo();
            this.labelAircraftBodyRefCombo          = new System.Windows.Forms.Label();
            this.aircraftBodyRefCombo               = new AircraftBodyRefCombo();
            this.labelOperationalDateTime           = new System.Windows.Forms.Label();
            this.dateTimePickerOperationalDateTime  = new System.Windows.Forms.DateTimePicker();
            this.labelFirstFlightDateTime           = new System.Windows.Forms.Label();
            this.dateTimePickerFirstFlightDateTime  = new System.Windows.Forms.DateTimePicker();
            this.labelEngineType                    = new System.Windows.Forms.Label();
            this.textBoxEngineType                  = new System.Windows.Forms.TextBox();
            this.labelPassengerCapacity             = new System.Windows.Forms.Label();
            this.maskedTextBoxPassengerCapacity     = new System.Windows.Forms.MaskedTextBox();
            this.labelUserPicker                    = new System.Windows.Forms.Label();
            this.userPicker             = new DefaultUserPicker();
            this.labelDateTime          = new System.Windows.Forms.Label();
            this.dateTimePickerDateTime = new System.Windows.Forms.TextBox();
            ((System.ComponentModel.ISupportInitialize)(this.dataGridViewAircraft)).BeginInit();
            this.SuspendLayout();
            //
            // labelAircraftName
            //
            this.labelAircraftName.AutoSize = true;
            this.labelAircraftName.Location = new System.Drawing.Point(11, 13);
            this.labelAircraftName.Name     = "labelAircraftName";
            this.labelAircraftName.Size     = new System.Drawing.Size(71, 13);
            this.labelAircraftName.TabIndex = 2;
            this.labelAircraftName.Text     = "Aircraft Name:";
            //
            //textBoxAircraftName
            //
            this.textBoxAircraftName.Location = new System.Drawing.Point(154, 13);
            this.textBoxAircraftName.Anchor   = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right)));
            this.textBoxAircraftName.Name     = "textBoxAircraftName";
            this.textBoxAircraftName.Size     = new System.Drawing.Size(250, 20);
            this.textBoxAircraftName.TabIndex = 3;
            //
            // labelAircraftTypeRefCombo
            //
            this.labelAircraftTypeRefCombo.AutoSize = true;
            this.labelAircraftTypeRefCombo.Location = new System.Drawing.Point(11, 36);
            this.labelAircraftTypeRefCombo.Name     = "labelAircraftTypeRefCombo";
            this.labelAircraftTypeRefCombo.Size     = new System.Drawing.Size(71, 13);
            this.labelAircraftTypeRefCombo.TabIndex = 4;
            this.labelAircraftTypeRefCombo.Text     = "Aircraft Type:";
            //
            //aircraftTypeRefCombo
            //
            this.aircraftTypeRefCombo.Location = new System.Drawing.Point(154, 36);
            this.aircraftTypeRefCombo.Anchor   = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right)));
            this.aircraftTypeRefCombo.Name     = "aircraftTypeRefCombo";
            this.aircraftTypeRefCombo.Size     = new System.Drawing.Size(250, 20);
            this.aircraftTypeRefCombo.TabIndex = 5;
            //
            // labelAircraftConfigurationRefCombo
            //
            this.labelAircraftConfigurationRefCombo.AutoSize = true;
            this.labelAircraftConfigurationRefCombo.Location = new System.Drawing.Point(11, 59);
            this.labelAircraftConfigurationRefCombo.Name     = "labelAircraftConfigurationRefCombo";
            this.labelAircraftConfigurationRefCombo.Size     = new System.Drawing.Size(71, 13);
            this.labelAircraftConfigurationRefCombo.TabIndex = 6;
            this.labelAircraftConfigurationRefCombo.Text     = "Aircraft Configuration:";
            //
            //aircraftConfigurationRefCombo
            //
            this.aircraftConfigurationRefCombo.Location = new System.Drawing.Point(154, 59);
            this.aircraftConfigurationRefCombo.Anchor   = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right)));
            this.aircraftConfigurationRefCombo.Name     = "aircraftConfigurationRefCombo";
            this.aircraftConfigurationRefCombo.Size     = new System.Drawing.Size(250, 20);
            this.aircraftConfigurationRefCombo.TabIndex = 7;
            //
            // labelAircraftBodyRefCombo
            //
            this.labelAircraftBodyRefCombo.AutoSize = true;
            this.labelAircraftBodyRefCombo.Location = new System.Drawing.Point(11, 82);
            this.labelAircraftBodyRefCombo.Name     = "labelAircraftBodyRefCombo";
            this.labelAircraftBodyRefCombo.Size     = new System.Drawing.Size(71, 13);
            this.labelAircraftBodyRefCombo.TabIndex = 8;
            this.labelAircraftBodyRefCombo.Text     = "Aircraft Body:";
            //
            //aircraftBodyRefCombo
            //
            this.aircraftBodyRefCombo.Location = new System.Drawing.Point(154, 82);
            this.aircraftBodyRefCombo.Anchor   = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right)));
            this.aircraftBodyRefCombo.Name     = "aircraftBodyRefCombo";
            this.aircraftBodyRefCombo.Size     = new System.Drawing.Size(250, 20);
            this.aircraftBodyRefCombo.TabIndex = 9;
            //
            // labelOperationalDateTime
            //
            this.labelOperationalDateTime.AutoSize = true;
            this.labelOperationalDateTime.Location = new System.Drawing.Point(11, 105);
            this.labelOperationalDateTime.Name     = "labelOperationalDateTime";
            this.labelOperationalDateTime.Size     = new System.Drawing.Size(71, 13);
            this.labelOperationalDateTime.TabIndex = 10;
            this.labelOperationalDateTime.Text     = "Operational Date Time:";
            //
            //dateTimePickerOperationalDateTime
            //
            this.dateTimePickerOperationalDateTime.Location     = new System.Drawing.Point(154, 105);
            this.dateTimePickerOperationalDateTime.Anchor       = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right)));
            this.dateTimePickerOperationalDateTime.Name         = "dateTimePickerOperationalDateTime";
            this.dateTimePickerOperationalDateTime.Size         = new System.Drawing.Size(250, 20);
            this.dateTimePickerOperationalDateTime.TabIndex     = 11;
            this.dateTimePickerOperationalDateTime.Checked      = false;
            this.dateTimePickerOperationalDateTime.ShowCheckBox = true;
            //
            // labelFirstFlightDateTime
            //
            this.labelFirstFlightDateTime.AutoSize = true;
            this.labelFirstFlightDateTime.Location = new System.Drawing.Point(11, 128);
            this.labelFirstFlightDateTime.Name     = "labelFirstFlightDateTime";
            this.labelFirstFlightDateTime.Size     = new System.Drawing.Size(71, 13);
            this.labelFirstFlightDateTime.TabIndex = 12;
            this.labelFirstFlightDateTime.Text     = "First Flight Date Time:";
            //
            //dateTimePickerFirstFlightDateTime
            //
            this.dateTimePickerFirstFlightDateTime.Location     = new System.Drawing.Point(154, 128);
            this.dateTimePickerFirstFlightDateTime.Anchor       = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right)));
            this.dateTimePickerFirstFlightDateTime.Name         = "dateTimePickerFirstFlightDateTime";
            this.dateTimePickerFirstFlightDateTime.Size         = new System.Drawing.Size(250, 20);
            this.dateTimePickerFirstFlightDateTime.TabIndex     = 13;
            this.dateTimePickerFirstFlightDateTime.Checked      = false;
            this.dateTimePickerFirstFlightDateTime.ShowCheckBox = true;
            //
            // labelEngineType
            //
            this.labelEngineType.AutoSize = true;
            this.labelEngineType.Location = new System.Drawing.Point(11, 151);
            this.labelEngineType.Name     = "labelEngineType";
            this.labelEngineType.Size     = new System.Drawing.Size(71, 13);
            this.labelEngineType.TabIndex = 14;
            this.labelEngineType.Text     = "Engine Type:";
            //
            //textBoxEngineType
            //
            this.textBoxEngineType.Location = new System.Drawing.Point(154, 151);
            this.textBoxEngineType.Anchor   = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right)));
            this.textBoxEngineType.Name     = "textBoxEngineType";
            this.textBoxEngineType.Size     = new System.Drawing.Size(250, 20);
            this.textBoxEngineType.TabIndex = 15;
            //
            // labelPassengerCapacity
            //
            this.labelPassengerCapacity.AutoSize = true;
            this.labelPassengerCapacity.Location = new System.Drawing.Point(11, 174);
            this.labelPassengerCapacity.Name     = "labelPassengerCapacity";
            this.labelPassengerCapacity.Size     = new System.Drawing.Size(71, 13);
            this.labelPassengerCapacity.TabIndex = 16;
            this.labelPassengerCapacity.Text     = "Passenger Capacity:";
            //
            //maskedTextBoxPassengerCapacity
            //
            this.maskedTextBoxPassengerCapacity.Location = new System.Drawing.Point(154, 174);
            this.maskedTextBoxPassengerCapacity.Anchor   = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right)));
            this.maskedTextBoxPassengerCapacity.Name     = "maskedTextBoxPassengerCapacity";
            this.maskedTextBoxPassengerCapacity.Size     = new System.Drawing.Size(250, 20);
            this.maskedTextBoxPassengerCapacity.TabIndex = 17;
            //
            // labelUserPicker
            //
            this.labelUserPicker.AutoSize = true;
            this.labelUserPicker.Location = new System.Drawing.Point(11, 197);
            this.labelUserPicker.Name     = "labelUserPicker";
            this.labelUserPicker.Size     = new System.Drawing.Size(71, 13);
            this.labelUserPicker.TabIndex = 18;
            this.labelUserPicker.Text     = "User:"******"userPicker";
            this.userPicker.Size     = new System.Drawing.Size(250, 20);
            this.userPicker.TabIndex = 19;
            //
            // labelDateTime
            //
            this.labelDateTime.AutoSize = true;
            this.labelDateTime.Location = new System.Drawing.Point(11, 220);
            this.labelDateTime.Name     = "labelDateTime";
            this.labelDateTime.Size     = new System.Drawing.Size(71, 13);
            this.labelDateTime.TabIndex = 20;
            this.labelDateTime.Text     = "Date Time:";
            //
            //dateTimePickerDateTime
            //
            this.dateTimePickerDateTime.Location = new System.Drawing.Point(154, 220);
            this.dateTimePickerDateTime.Anchor   = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right)));
            this.dateTimePickerDateTime.Name     = "dateTimePickerDateTime";
            this.dateTimePickerDateTime.Size     = new System.Drawing.Size(250, 20);
            this.dateTimePickerDateTime.TabIndex = 21;
            //
            // dataGridViewAircraft
            //
            dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));
            this.dataGridViewAircraft.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
            this.dataGridViewAircraft.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.dataGridViewAircraft.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
            this.dataGridViewAircraft.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
            this.dataGridViewAircraft.Location      = new System.Drawing.Point(12, 253);
            this.dataGridViewAircraft.Name          = "dataGridViewAircraft";
            this.dataGridViewAircraft.Size          = new System.Drawing.Size(392, 96);
            this.dataGridViewAircraft.TabIndex      = 0;
            this.dataGridViewAircraft.DoubleClick  += new System.EventHandler(this.dataGridViewAircraft_DoubleClick);
            //
            // buttonClose
            //
            this.buttonClose.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
            this.buttonClose.Location = new System.Drawing.Point(312, 356);

            this.buttonClose.Name     = "buttonClose";
            this.buttonClose.Size     = new System.Drawing.Size(92, 22);
            this.buttonClose.TabIndex = 1;
            this.buttonClose.Text     = "&Close";
            this.buttonClose.UseVisualStyleBackColor = true;
            this.buttonClose.Click += new System.EventHandler(this.buttonClose_Click);
            //
            // buttonAircraftSearch
            //
            this.buttonAircraftSearch.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
            this.buttonAircraftSearch.Location = new System.Drawing.Point(212, 356);
            this.buttonAircraftSearch.Name     = "buttonAircraftSearch";
            this.buttonAircraftSearch.Size     = new System.Drawing.Size(92, 22);
            this.buttonAircraftSearch.TabIndex = 2;
            this.buttonAircraftSearch.Text     = "&Search";
            this.buttonAircraftSearch.UseVisualStyleBackColor = true;
            this.buttonAircraftSearch.Click += new System.EventHandler(this.buttonAircraftSearch_Click);
            //
            // buttonAircraftAdd
            //
            this.buttonAircraftAdd.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
            this.buttonAircraftAdd.Location = new System.Drawing.Point(112, 356);
            this.buttonAircraftAdd.Name     = "buttonAircraftAdd";
            this.buttonAircraftAdd.Size     = new System.Drawing.Size(92, 22);
            this.buttonAircraftAdd.TabIndex = 3;
            this.buttonAircraftAdd.Text     = "&Add";
            this.buttonAircraftAdd.UseVisualStyleBackColor = true;
            this.buttonAircraftAdd.Click += new System.EventHandler(this.buttonAircraftAdd_Click);
            //
            // buttonAircraftEdit
            //
            this.buttonAircraftEdit.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
            this.buttonAircraftEdit.Location = new System.Drawing.Point(12, 356);
            this.buttonAircraftEdit.Name     = "buttonAircraftEdit";
            this.buttonAircraftEdit.Size     = new System.Drawing.Size(92, 22);
            this.buttonAircraftEdit.TabIndex = 4;
            this.buttonAircraftEdit.Text     = "&Edit";
            this.buttonAircraftEdit.UseVisualStyleBackColor = true;
            this.buttonAircraftEdit.Click += new System.EventHandler(this.buttonAircraftEdit_Click);
            //
            // GridForm
            //
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize          = new System.Drawing.Size(416, 384);
            this.Controls.Add(this.buttonAircraftSearch);
            this.Controls.Add(this.buttonClose);
            this.Controls.Add(this.buttonAircraftAdd);
            this.Controls.Add(this.buttonAircraftEdit);
            this.Controls.Add(this.dataGridViewAircraft);
            this.Name = "AircraftSearch";
            this.Text = "Aircraft Search";
            ((System.ComponentModel.ISupportInitialize)(this.dataGridViewAircraft)).EndInit();
            this.Controls.Add(this.labelAircraftName);
            this.Controls.Add(this.textBoxAircraftName);
            this.Controls.Add(this.labelAircraftTypeRefCombo);
            this.Controls.Add(this.aircraftTypeRefCombo);
            this.Controls.Add(this.labelAircraftConfigurationRefCombo);
            this.Controls.Add(this.aircraftConfigurationRefCombo);
            this.Controls.Add(this.labelAircraftBodyRefCombo);
            this.Controls.Add(this.aircraftBodyRefCombo);
            this.Controls.Add(this.labelOperationalDateTime);
            this.Controls.Add(this.dateTimePickerOperationalDateTime);
            this.Controls.Add(this.labelFirstFlightDateTime);
            this.Controls.Add(this.dateTimePickerFirstFlightDateTime);
            this.Controls.Add(this.labelEngineType);
            this.Controls.Add(this.textBoxEngineType);
            this.Controls.Add(this.labelPassengerCapacity);
            this.Controls.Add(this.maskedTextBoxPassengerCapacity);
            this.Controls.Add(this.labelUserPicker);
            this.Controls.Add(this.userPicker);
            this.Controls.Add(this.labelDateTime);
            this.Controls.Add(this.dateTimePickerDateTime);
            this.ResumeLayout(false);
            this.PerformLayout();
        }
        private void InitializeComponent()
        {
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
            this.buttonClose = new System.Windows.Forms.Button();
            this.buttonCrudeFlightScheduleAdd    = new System.Windows.Forms.Button();
            this.buttonCrudeFlightScheduleEdit   = new System.Windows.Forms.Button();
            this.buttonCrudeFlightScheduleSearch = new System.Windows.Forms.Button();
            this.dataGridViewCrudeFlightSchedule = new System.Windows.Forms.DataGridView();
            this.labelAircraftTypeRefCombo       = new System.Windows.Forms.Label();
            this.aircraftTypeRefCombo            = new AircraftTypeRefCombo();
            this.labelComment                = new System.Windows.Forms.Label();
            this.textBoxComment              = new System.Windows.Forms.TextBox();
            this.labelFromDateTime           = new System.Windows.Forms.Label();
            this.dateTimePickerFromDateTime  = new System.Windows.Forms.DateTimePicker();
            this.labelUntilDateTime          = new System.Windows.Forms.Label();
            this.dateTimePickerUntilDateTime = new System.Windows.Forms.DateTimePicker();
            this.labelDateTime               = new System.Windows.Forms.Label();
            this.dateTimePickerDateTime      = new System.Windows.Forms.TextBox();
            this.labelAirlinePicker          = new System.Windows.Forms.Label();
            this.airlinePicker               = new AirlinePicker();
            this.labelDepartureAirportPicker = new System.Windows.Forms.Label();
            this.departureAirportPicker      = new AirportPicker();
            this.labelArrivalAirportPicker   = new System.Windows.Forms.Label();
            this.arrivalAirportPicker        = new AirportPicker();
            this.labelUserPicker             = new System.Windows.Forms.Label();
            this.userPicker = new DefaultUserPicker();
            ((System.ComponentModel.ISupportInitialize)(this.dataGridViewCrudeFlightSchedule)).BeginInit();
            this.SuspendLayout();
            //
            // labelAircraftTypeRefCombo
            //
            this.labelAircraftTypeRefCombo.AutoSize = true;
            this.labelAircraftTypeRefCombo.Location = new System.Drawing.Point(11, 13);
            this.labelAircraftTypeRefCombo.Name     = "labelAircraftTypeRefCombo";
            this.labelAircraftTypeRefCombo.Size     = new System.Drawing.Size(71, 13);
            this.labelAircraftTypeRefCombo.TabIndex = 2;
            this.labelAircraftTypeRefCombo.Text     = "Aircraft Type:";
            //
            //aircraftTypeRefCombo
            //
            this.aircraftTypeRefCombo.Location = new System.Drawing.Point(161, 13);
            this.aircraftTypeRefCombo.Anchor   = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right)));
            this.aircraftTypeRefCombo.Name     = "aircraftTypeRefCombo";
            this.aircraftTypeRefCombo.Size     = new System.Drawing.Size(250, 20);
            this.aircraftTypeRefCombo.TabIndex = 3;
            //
            // labelComment
            //
            this.labelComment.AutoSize = true;
            this.labelComment.Location = new System.Drawing.Point(11, 36);
            this.labelComment.Name     = "labelComment";
            this.labelComment.Size     = new System.Drawing.Size(71, 13);
            this.labelComment.TabIndex = 4;
            this.labelComment.Text     = "Comment:";
            //
            //textBoxComment
            //
            this.textBoxComment.Location = new System.Drawing.Point(161, 36);
            this.textBoxComment.Anchor   = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right)));
            this.textBoxComment.Name     = "textBoxComment";
            this.textBoxComment.Size     = new System.Drawing.Size(250, 20);
            this.textBoxComment.TabIndex = 5;
            //
            // labelFromDateTime
            //
            this.labelFromDateTime.AutoSize = true;
            this.labelFromDateTime.Location = new System.Drawing.Point(11, 59);
            this.labelFromDateTime.Name     = "labelFromDateTime";
            this.labelFromDateTime.Size     = new System.Drawing.Size(71, 13);
            this.labelFromDateTime.TabIndex = 6;
            this.labelFromDateTime.Text     = "From Date Time:";
            //
            //dateTimePickerFromDateTime
            //
            this.dateTimePickerFromDateTime.Location     = new System.Drawing.Point(161, 59);
            this.dateTimePickerFromDateTime.Anchor       = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right)));
            this.dateTimePickerFromDateTime.Name         = "dateTimePickerFromDateTime";
            this.dateTimePickerFromDateTime.Size         = new System.Drawing.Size(250, 20);
            this.dateTimePickerFromDateTime.TabIndex     = 7;
            this.dateTimePickerFromDateTime.Checked      = false;
            this.dateTimePickerFromDateTime.ShowCheckBox = true;
            //
            // labelUntilDateTime
            //
            this.labelUntilDateTime.AutoSize = true;
            this.labelUntilDateTime.Location = new System.Drawing.Point(11, 82);
            this.labelUntilDateTime.Name     = "labelUntilDateTime";
            this.labelUntilDateTime.Size     = new System.Drawing.Size(71, 13);
            this.labelUntilDateTime.TabIndex = 8;
            this.labelUntilDateTime.Text     = "Until Date Time:";
            //
            //dateTimePickerUntilDateTime
            //
            this.dateTimePickerUntilDateTime.Location     = new System.Drawing.Point(161, 82);
            this.dateTimePickerUntilDateTime.Anchor       = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right)));
            this.dateTimePickerUntilDateTime.Name         = "dateTimePickerUntilDateTime";
            this.dateTimePickerUntilDateTime.Size         = new System.Drawing.Size(250, 20);
            this.dateTimePickerUntilDateTime.TabIndex     = 9;
            this.dateTimePickerUntilDateTime.Checked      = false;
            this.dateTimePickerUntilDateTime.ShowCheckBox = true;
            //
            // labelDateTime
            //
            this.labelDateTime.AutoSize = true;
            this.labelDateTime.Location = new System.Drawing.Point(11, 105);
            this.labelDateTime.Name     = "labelDateTime";
            this.labelDateTime.Size     = new System.Drawing.Size(71, 13);
            this.labelDateTime.TabIndex = 10;
            this.labelDateTime.Text     = "Date Time:";
            //
            //dateTimePickerDateTime
            //
            this.dateTimePickerDateTime.Location = new System.Drawing.Point(161, 105);
            this.dateTimePickerDateTime.Anchor   = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right)));
            this.dateTimePickerDateTime.Name     = "dateTimePickerDateTime";
            this.dateTimePickerDateTime.Size     = new System.Drawing.Size(250, 20);
            this.dateTimePickerDateTime.TabIndex = 11;
            //
            // labelAirlinePicker
            //
            this.labelAirlinePicker.AutoSize = true;
            this.labelAirlinePicker.Location = new System.Drawing.Point(11, 128);
            this.labelAirlinePicker.Name     = "labelAirlinePicker";
            this.labelAirlinePicker.Size     = new System.Drawing.Size(71, 13);
            this.labelAirlinePicker.TabIndex = 12;
            this.labelAirlinePicker.Text     = "Airline:";
            //
            //airlinePicker
            //
            this.airlinePicker.Location = new System.Drawing.Point(161, 128);
            this.airlinePicker.Anchor   = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right)));
            this.airlinePicker.Name     = "airlinePicker";
            this.airlinePicker.Size     = new System.Drawing.Size(250, 20);
            this.airlinePicker.TabIndex = 13;
            //
            // labelDepartureAirportPicker
            //
            this.labelDepartureAirportPicker.AutoSize = true;
            this.labelDepartureAirportPicker.Location = new System.Drawing.Point(11, 151);
            this.labelDepartureAirportPicker.Name     = "labelDepartureAirportPicker";
            this.labelDepartureAirportPicker.Size     = new System.Drawing.Size(71, 13);
            this.labelDepartureAirportPicker.TabIndex = 14;
            this.labelDepartureAirportPicker.Text     = "Departure Airport:";
            //
            //departureAirportPicker
            //
            this.departureAirportPicker.Location = new System.Drawing.Point(161, 151);
            this.departureAirportPicker.Anchor   = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right)));
            this.departureAirportPicker.Name     = "departureAirportPicker";
            this.departureAirportPicker.Size     = new System.Drawing.Size(250, 20);
            this.departureAirportPicker.TabIndex = 15;
            //
            // labelArrivalAirportPicker
            //
            this.labelArrivalAirportPicker.AutoSize = true;
            this.labelArrivalAirportPicker.Location = new System.Drawing.Point(11, 174);
            this.labelArrivalAirportPicker.Name     = "labelArrivalAirportPicker";
            this.labelArrivalAirportPicker.Size     = new System.Drawing.Size(71, 13);
            this.labelArrivalAirportPicker.TabIndex = 16;
            this.labelArrivalAirportPicker.Text     = "Arrival Airport:";
            //
            //arrivalAirportPicker
            //
            this.arrivalAirportPicker.Location = new System.Drawing.Point(161, 174);
            this.arrivalAirportPicker.Anchor   = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right)));
            this.arrivalAirportPicker.Name     = "arrivalAirportPicker";
            this.arrivalAirportPicker.Size     = new System.Drawing.Size(250, 20);
            this.arrivalAirportPicker.TabIndex = 17;
            //
            // labelUserPicker
            //
            this.labelUserPicker.AutoSize = true;
            this.labelUserPicker.Location = new System.Drawing.Point(11, 197);
            this.labelUserPicker.Name     = "labelUserPicker";
            this.labelUserPicker.Size     = new System.Drawing.Size(71, 13);
            this.labelUserPicker.TabIndex = 18;
            this.labelUserPicker.Text     = "User:"******"userPicker";
            this.userPicker.Size     = new System.Drawing.Size(250, 20);
            this.userPicker.TabIndex = 19;
            //
            // dataGridViewCrudeFlightSchedule
            //
            dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));
            this.dataGridViewCrudeFlightSchedule.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
            this.dataGridViewCrudeFlightSchedule.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.dataGridViewCrudeFlightSchedule.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
            this.dataGridViewCrudeFlightSchedule.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
            this.dataGridViewCrudeFlightSchedule.Location      = new System.Drawing.Point(12, 230);
            this.dataGridViewCrudeFlightSchedule.Name          = "dataGridViewCrudeFlightSchedule";
            this.dataGridViewCrudeFlightSchedule.Size          = new System.Drawing.Size(399, 96);
            this.dataGridViewCrudeFlightSchedule.TabIndex      = 0;
            this.dataGridViewCrudeFlightSchedule.ReadOnly      = true;
            this.dataGridViewCrudeFlightSchedule.DoubleClick  += new System.EventHandler(this.dataGridViewCrudeFlightSchedule_DoubleClick);
            //
            // buttonClose
            //
            this.buttonClose.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
            this.buttonClose.Location = new System.Drawing.Point(319, 333);

            this.buttonClose.Name     = "buttonClose";
            this.buttonClose.Size     = new System.Drawing.Size(92, 22);
            this.buttonClose.TabIndex = 1;
            this.buttonClose.Text     = "&Close";
            this.buttonClose.UseVisualStyleBackColor = true;
            this.buttonClose.Click += new System.EventHandler(this.buttonClose_Click);
            //
            // buttonCrudeFlightScheduleSearch
            //
            this.buttonCrudeFlightScheduleSearch.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
            this.buttonCrudeFlightScheduleSearch.Location = new System.Drawing.Point(219, 333);
            this.buttonCrudeFlightScheduleSearch.Name     = "buttonCrudeFlightScheduleSearch";
            this.buttonCrudeFlightScheduleSearch.Size     = new System.Drawing.Size(92, 22);
            this.buttonCrudeFlightScheduleSearch.TabIndex = 2;
            this.buttonCrudeFlightScheduleSearch.Text     = "&Search";
            this.buttonCrudeFlightScheduleSearch.UseVisualStyleBackColor = true;
            this.buttonCrudeFlightScheduleSearch.Click += new System.EventHandler(this.buttonCrudeFlightScheduleSearch_Click);
            //
            // buttonCrudeFlightScheduleAdd
            //
            this.buttonCrudeFlightScheduleAdd.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
            this.buttonCrudeFlightScheduleAdd.Location = new System.Drawing.Point(119, 333);
            this.buttonCrudeFlightScheduleAdd.Name     = "buttonCrudeFlightScheduleAdd";
            this.buttonCrudeFlightScheduleAdd.Size     = new System.Drawing.Size(92, 22);
            this.buttonCrudeFlightScheduleAdd.TabIndex = 3;
            this.buttonCrudeFlightScheduleAdd.Text     = "&Add";
            this.buttonCrudeFlightScheduleAdd.UseVisualStyleBackColor = true;
            this.buttonCrudeFlightScheduleAdd.Click += new System.EventHandler(this.buttonCrudeFlightScheduleAdd_Click);
            //
            // buttonCrudeFlightScheduleEdit
            //
            this.buttonCrudeFlightScheduleEdit.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
            this.buttonCrudeFlightScheduleEdit.Location = new System.Drawing.Point(19, 333);
            this.buttonCrudeFlightScheduleEdit.Name     = "buttonCrudeFlightScheduleEdit";
            this.buttonCrudeFlightScheduleEdit.Size     = new System.Drawing.Size(92, 22);
            this.buttonCrudeFlightScheduleEdit.TabIndex = 4;
            this.buttonCrudeFlightScheduleEdit.Text     = "&Edit";
            this.buttonCrudeFlightScheduleEdit.UseVisualStyleBackColor = true;
            this.buttonCrudeFlightScheduleEdit.Click += new System.EventHandler(this.buttonCrudeFlightScheduleEdit_Click);
            //
            // GridForm
            //
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize          = new System.Drawing.Size(423, 361);
            this.Controls.Add(this.buttonCrudeFlightScheduleSearch);
            this.Controls.Add(this.buttonClose);
            this.Controls.Add(this.buttonCrudeFlightScheduleAdd);
            this.Controls.Add(this.buttonCrudeFlightScheduleEdit);
            this.Controls.Add(this.dataGridViewCrudeFlightSchedule);
            this.Name = "CrudeFlightScheduleSearch";
            this.Text = "Flight Schedule Search";
            ((System.ComponentModel.ISupportInitialize)(this.dataGridViewCrudeFlightSchedule)).EndInit();
            this.Controls.Add(this.labelAircraftTypeRefCombo);
            this.Controls.Add(this.aircraftTypeRefCombo);
            this.Controls.Add(this.labelComment);
            this.Controls.Add(this.textBoxComment);
            this.Controls.Add(this.labelFromDateTime);
            this.Controls.Add(this.dateTimePickerFromDateTime);
            this.Controls.Add(this.labelUntilDateTime);
            this.Controls.Add(this.dateTimePickerUntilDateTime);
            this.Controls.Add(this.labelDateTime);
            this.Controls.Add(this.dateTimePickerDateTime);
            this.Controls.Add(this.labelAirlinePicker);
            this.Controls.Add(this.airlinePicker);
            this.Controls.Add(this.labelDepartureAirportPicker);
            this.Controls.Add(this.departureAirportPicker);
            this.Controls.Add(this.labelArrivalAirportPicker);
            this.Controls.Add(this.arrivalAirportPicker);
            this.Controls.Add(this.labelUserPicker);
            this.Controls.Add(this.userPicker);
            this.ResumeLayout(false);
            this.PerformLayout();
        }
예제 #3
0
        private void InitializeComponent()
        {
            this.buttonClose                 = new System.Windows.Forms.Button();
            this.buttonSave                  = new System.Windows.Forms.Button();
            this.labelAirlinePicker          = new System.Windows.Forms.Label();
            this.airlinePicker               = new AirlinePicker();
            this.labelAircraftTypeRefCombo   = new System.Windows.Forms.Label();
            this.aircraftTypeRefCombo        = new AircraftTypeRefCombo();
            this.labelDepartureAirportPicker = new System.Windows.Forms.Label();
            this.departureAirportPicker      = new AirportPicker();
            this.labelArrivalAirportPicker   = new System.Windows.Forms.Label();
            this.arrivalAirportPicker        = new AirportPicker();
            this.labelFromDateTime           = new System.Windows.Forms.Label();
            this.dateTimePickerFromDateTime  = new System.Windows.Forms.DateTimePicker();
            this.labelUntilDateTime          = new System.Windows.Forms.Label();
            this.dateTimePickerUntilDateTime = new System.Windows.Forms.DateTimePicker();
            this.labelComment                = new System.Windows.Forms.Label();
            this.textBoxComment              = new System.Windows.Forms.TextBox();
            this.labelUserPicker             = new System.Windows.Forms.Label();
            this.userPicker                  = new DefaultUserPicker();
            this.labelDateTime               = new System.Windows.Forms.Label();
            this.dateTimePickerDateTime      = new System.Windows.Forms.TextBox();
            this.SuspendLayout();
            //
            // labelAirlinePicker
            //
            this.labelAirlinePicker.AutoSize = true;
            this.labelAirlinePicker.Location = new System.Drawing.Point(11, 13);
            this.labelAirlinePicker.Name     = "labelAirlinePicker";
            this.labelAirlinePicker.Size     = new System.Drawing.Size(71, 13);
            this.labelAirlinePicker.TabIndex = 2;
            this.labelAirlinePicker.Text     = "Airline:";
            //
            //airlinePicker
            //
            this.airlinePicker.Location = new System.Drawing.Point(140, 13);
            this.airlinePicker.Anchor   = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right)));
            this.airlinePicker.Name     = "airlinePicker";
            this.airlinePicker.Size     = new System.Drawing.Size(250, 20);
            this.airlinePicker.TabIndex = 3;
            //
            // labelAircraftTypeRefCombo
            //
            this.labelAircraftTypeRefCombo.AutoSize = true;
            this.labelAircraftTypeRefCombo.Location = new System.Drawing.Point(11, 36);
            this.labelAircraftTypeRefCombo.Name     = "labelAircraftTypeRefCombo";
            this.labelAircraftTypeRefCombo.Size     = new System.Drawing.Size(71, 13);
            this.labelAircraftTypeRefCombo.TabIndex = 4;
            this.labelAircraftTypeRefCombo.Text     = "Aircraft Type:";
            //
            //aircraftTypeRefCombo
            //
            this.aircraftTypeRefCombo.Location = new System.Drawing.Point(140, 36);
            this.aircraftTypeRefCombo.Anchor   = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right)));
            this.aircraftTypeRefCombo.Name     = "aircraftTypeRefCombo";
            this.aircraftTypeRefCombo.Size     = new System.Drawing.Size(250, 20);
            this.aircraftTypeRefCombo.TabIndex = 5;
            //
            // labelDepartureAirportPicker
            //
            this.labelDepartureAirportPicker.AutoSize = true;
            this.labelDepartureAirportPicker.Location = new System.Drawing.Point(11, 59);
            this.labelDepartureAirportPicker.Name     = "labelDepartureAirportPicker";
            this.labelDepartureAirportPicker.Size     = new System.Drawing.Size(71, 13);
            this.labelDepartureAirportPicker.TabIndex = 6;
            this.labelDepartureAirportPicker.Text     = "Departure Airport:";
            //
            //departureAirportPicker
            //
            this.departureAirportPicker.Location = new System.Drawing.Point(140, 59);
            this.departureAirportPicker.Anchor   = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right)));
            this.departureAirportPicker.Name     = "departureAirportPicker";
            this.departureAirportPicker.Size     = new System.Drawing.Size(250, 20);
            this.departureAirportPicker.TabIndex = 7;
            //
            // labelArrivalAirportPicker
            //
            this.labelArrivalAirportPicker.AutoSize = true;
            this.labelArrivalAirportPicker.Location = new System.Drawing.Point(11, 82);
            this.labelArrivalAirportPicker.Name     = "labelArrivalAirportPicker";
            this.labelArrivalAirportPicker.Size     = new System.Drawing.Size(71, 13);
            this.labelArrivalAirportPicker.TabIndex = 8;
            this.labelArrivalAirportPicker.Text     = "Arrival Airport:";
            //
            //arrivalAirportPicker
            //
            this.arrivalAirportPicker.Location = new System.Drawing.Point(140, 82);
            this.arrivalAirportPicker.Anchor   = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right)));
            this.arrivalAirportPicker.Name     = "arrivalAirportPicker";
            this.arrivalAirportPicker.Size     = new System.Drawing.Size(250, 20);
            this.arrivalAirportPicker.TabIndex = 9;
            //
            // labelFromDateTime
            //
            this.labelFromDateTime.AutoSize = true;
            this.labelFromDateTime.Location = new System.Drawing.Point(11, 105);
            this.labelFromDateTime.Name     = "labelFromDateTime";
            this.labelFromDateTime.Size     = new System.Drawing.Size(71, 13);
            this.labelFromDateTime.TabIndex = 10;
            this.labelFromDateTime.Text     = "From Date Time:";
            //
            //dateTimePickerFromDateTime
            //
            this.dateTimePickerFromDateTime.Location     = new System.Drawing.Point(140, 105);
            this.dateTimePickerFromDateTime.Anchor       = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right)));
            this.dateTimePickerFromDateTime.Name         = "dateTimePickerFromDateTime";
            this.dateTimePickerFromDateTime.Size         = new System.Drawing.Size(250, 20);
            this.dateTimePickerFromDateTime.TabIndex     = 11;
            this.dateTimePickerFromDateTime.Checked      = false;
            this.dateTimePickerFromDateTime.ShowCheckBox = true;
            //
            // labelUntilDateTime
            //
            this.labelUntilDateTime.AutoSize = true;
            this.labelUntilDateTime.Location = new System.Drawing.Point(11, 128);
            this.labelUntilDateTime.Name     = "labelUntilDateTime";
            this.labelUntilDateTime.Size     = new System.Drawing.Size(71, 13);
            this.labelUntilDateTime.TabIndex = 12;
            this.labelUntilDateTime.Text     = "Until Date Time:";
            //
            //dateTimePickerUntilDateTime
            //
            this.dateTimePickerUntilDateTime.Location     = new System.Drawing.Point(140, 128);
            this.dateTimePickerUntilDateTime.Anchor       = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right)));
            this.dateTimePickerUntilDateTime.Name         = "dateTimePickerUntilDateTime";
            this.dateTimePickerUntilDateTime.Size         = new System.Drawing.Size(250, 20);
            this.dateTimePickerUntilDateTime.TabIndex     = 13;
            this.dateTimePickerUntilDateTime.Checked      = false;
            this.dateTimePickerUntilDateTime.ShowCheckBox = true;
            //
            // labelComment
            //
            this.labelComment.AutoSize = true;
            this.labelComment.Location = new System.Drawing.Point(11, 151);
            this.labelComment.Name     = "labelComment";
            this.labelComment.Size     = new System.Drawing.Size(71, 13);
            this.labelComment.TabIndex = 14;
            this.labelComment.Text     = "Comment:";
            //
            //textBoxComment
            //
            this.textBoxComment.Location = new System.Drawing.Point(140, 151);
            this.textBoxComment.Anchor   = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right)));
            this.textBoxComment.Name     = "textBoxComment";
            this.textBoxComment.Size     = new System.Drawing.Size(250, 20);
            this.textBoxComment.TabIndex = 15;
            //
            // labelUserPicker
            //
            this.labelUserPicker.AutoSize = true;
            this.labelUserPicker.Location = new System.Drawing.Point(11, 174);
            this.labelUserPicker.Name     = "labelUserPicker";
            this.labelUserPicker.Size     = new System.Drawing.Size(71, 13);
            this.labelUserPicker.TabIndex = 16;
            this.labelUserPicker.Text     = "User:"******"userPicker";
            this.userPicker.Size     = new System.Drawing.Size(250, 20);
            this.userPicker.TabIndex = 17;
            //
            // labelDateTime
            //
            this.labelDateTime.AutoSize = true;
            this.labelDateTime.Location = new System.Drawing.Point(11, 197);
            this.labelDateTime.Name     = "labelDateTime";
            this.labelDateTime.Size     = new System.Drawing.Size(71, 13);
            this.labelDateTime.TabIndex = 18;
            this.labelDateTime.Text     = "Date Time:";
            //
            //dateTimePickerDateTime
            //
            this.dateTimePickerDateTime.Location = new System.Drawing.Point(140, 197);
            this.dateTimePickerDateTime.Anchor   = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right)));
            this.dateTimePickerDateTime.Name     = "dateTimePickerDateTime";
            this.dateTimePickerDateTime.Size     = new System.Drawing.Size(250, 20);
            this.dateTimePickerDateTime.TabIndex = 19;
            //
            // buttonClose
            //
            this.buttonClose.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
            this.buttonClose.Location = new System.Drawing.Point(298, 220);

            this.buttonClose.Name     = "buttonClose";
            this.buttonClose.Size     = new System.Drawing.Size(92, 22);
            this.buttonClose.TabIndex = 1;
            this.buttonClose.Text     = "&Close";
            this.buttonClose.UseVisualStyleBackColor = true;
            this.buttonClose.Click += new System.EventHandler(this.buttonClose_Click);
            //
            // buttonSave
            //
            this.buttonSave.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
            this.buttonSave.Location = new System.Drawing.Point(198, 220);
            this.buttonSave.Name     = "buttonSave";
            this.buttonSave.Size     = new System.Drawing.Size(92, 22);
            this.buttonSave.TabIndex = 2;
            this.buttonSave.Text     = "&Save";
            this.buttonSave.UseVisualStyleBackColor = true;
            this.buttonSave.Click += new System.EventHandler(this.buttonSave_Click);
            //
            // EditForm
            //
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize          = new System.Drawing.Size(402, 248);
            this.Controls.Add(this.buttonSave);
            this.Controls.Add(this.buttonClose);
            this.Name = "CrudeFlightEdit";
            this.Text = "Flight Edit";
            this.Controls.Add(this.labelAirlinePicker);
            this.Controls.Add(this.airlinePicker);
            this.Controls.Add(this.labelAircraftTypeRefCombo);
            this.Controls.Add(this.aircraftTypeRefCombo);
            this.Controls.Add(this.labelDepartureAirportPicker);
            this.Controls.Add(this.departureAirportPicker);
            this.Controls.Add(this.labelArrivalAirportPicker);
            this.Controls.Add(this.arrivalAirportPicker);
            this.Controls.Add(this.labelFromDateTime);
            this.Controls.Add(this.dateTimePickerFromDateTime);
            this.Controls.Add(this.labelUntilDateTime);
            this.Controls.Add(this.dateTimePickerUntilDateTime);
            this.Controls.Add(this.labelComment);
            this.Controls.Add(this.textBoxComment);
            this.Controls.Add(this.labelUserPicker);
            this.Controls.Add(this.userPicker);
            this.Controls.Add(this.labelDateTime);
            this.Controls.Add(this.dateTimePickerDateTime);
            this.ResumeLayout(false);
            this.PerformLayout();
        }
예제 #4
0
        private void InitializeComponent()
        {
            this.buttonClose                        = new System.Windows.Forms.Button();
            this.buttonSave                         = new System.Windows.Forms.Button();
            this.labelAircraftName                  = new System.Windows.Forms.Label();
            this.textBoxAircraftName                = new System.Windows.Forms.TextBox();
            this.labelAircraftTypeRefCombo          = new System.Windows.Forms.Label();
            this.aircraftTypeRefCombo               = new AircraftTypeRefCombo();
            this.labelAircraftConfigurationRefCombo = new System.Windows.Forms.Label();
            this.aircraftConfigurationRefCombo      = new AircraftConfigurationRefCombo();
            this.labelAircraftBodyRefCombo          = new System.Windows.Forms.Label();
            this.aircraftBodyRefCombo               = new AircraftBodyRefCombo();
            this.labelOperationalDateTime           = new System.Windows.Forms.Label();
            this.dateTimePickerOperationalDateTime  = new System.Windows.Forms.DateTimePicker();
            this.labelFirstFlightDateTime           = new System.Windows.Forms.Label();
            this.dateTimePickerFirstFlightDateTime  = new System.Windows.Forms.DateTimePicker();
            this.labelEngineType                    = new System.Windows.Forms.Label();
            this.textBoxEngineType                  = new System.Windows.Forms.TextBox();
            this.labelPassengerCapacity             = new System.Windows.Forms.Label();
            this.maskedTextBoxPassengerCapacity     = new System.Windows.Forms.MaskedTextBox();
            this.labelUserPicker                    = new System.Windows.Forms.Label();
            this.userPicker                         = new DefaultUserPicker();
            this.labelDateTime                      = new System.Windows.Forms.Label();
            this.dateTimePickerDateTime             = new System.Windows.Forms.TextBox();
            this.SuspendLayout();
            //
            // labelAircraftName
            //
            this.labelAircraftName.AutoSize = true;
            this.labelAircraftName.Location = new System.Drawing.Point(11, 13);
            this.labelAircraftName.Name     = "labelAircraftName";
            this.labelAircraftName.Size     = new System.Drawing.Size(71, 13);
            this.labelAircraftName.TabIndex = 2;
            this.labelAircraftName.Text     = "Aircraft Name:";
            //
            //textBoxAircraftName
            //
            this.textBoxAircraftName.Location = new System.Drawing.Point(154, 13);
            this.textBoxAircraftName.Anchor   = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right)));
            this.textBoxAircraftName.Name     = "textBoxAircraftName";
            this.textBoxAircraftName.Size     = new System.Drawing.Size(250, 20);
            this.textBoxAircraftName.TabIndex = 3;
            //
            // labelAircraftTypeRefCombo
            //
            this.labelAircraftTypeRefCombo.AutoSize = true;
            this.labelAircraftTypeRefCombo.Location = new System.Drawing.Point(11, 36);
            this.labelAircraftTypeRefCombo.Name     = "labelAircraftTypeRefCombo";
            this.labelAircraftTypeRefCombo.Size     = new System.Drawing.Size(71, 13);
            this.labelAircraftTypeRefCombo.TabIndex = 4;
            this.labelAircraftTypeRefCombo.Text     = "Aircraft Type:";
            //
            //aircraftTypeRefCombo
            //
            this.aircraftTypeRefCombo.Location = new System.Drawing.Point(154, 36);
            this.aircraftTypeRefCombo.Anchor   = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right)));
            this.aircraftTypeRefCombo.Name     = "aircraftTypeRefCombo";
            this.aircraftTypeRefCombo.Size     = new System.Drawing.Size(250, 20);
            this.aircraftTypeRefCombo.TabIndex = 5;
            //
            // labelAircraftConfigurationRefCombo
            //
            this.labelAircraftConfigurationRefCombo.AutoSize = true;
            this.labelAircraftConfigurationRefCombo.Location = new System.Drawing.Point(11, 59);
            this.labelAircraftConfigurationRefCombo.Name     = "labelAircraftConfigurationRefCombo";
            this.labelAircraftConfigurationRefCombo.Size     = new System.Drawing.Size(71, 13);
            this.labelAircraftConfigurationRefCombo.TabIndex = 6;
            this.labelAircraftConfigurationRefCombo.Text     = "Aircraft Configuration:";
            //
            //aircraftConfigurationRefCombo
            //
            this.aircraftConfigurationRefCombo.Location = new System.Drawing.Point(154, 59);
            this.aircraftConfigurationRefCombo.Anchor   = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right)));
            this.aircraftConfigurationRefCombo.Name     = "aircraftConfigurationRefCombo";
            this.aircraftConfigurationRefCombo.Size     = new System.Drawing.Size(250, 20);
            this.aircraftConfigurationRefCombo.TabIndex = 7;
            //
            // labelAircraftBodyRefCombo
            //
            this.labelAircraftBodyRefCombo.AutoSize = true;
            this.labelAircraftBodyRefCombo.Location = new System.Drawing.Point(11, 82);
            this.labelAircraftBodyRefCombo.Name     = "labelAircraftBodyRefCombo";
            this.labelAircraftBodyRefCombo.Size     = new System.Drawing.Size(71, 13);
            this.labelAircraftBodyRefCombo.TabIndex = 8;
            this.labelAircraftBodyRefCombo.Text     = "Aircraft Body:";
            //
            //aircraftBodyRefCombo
            //
            this.aircraftBodyRefCombo.Location = new System.Drawing.Point(154, 82);
            this.aircraftBodyRefCombo.Anchor   = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right)));
            this.aircraftBodyRefCombo.Name     = "aircraftBodyRefCombo";
            this.aircraftBodyRefCombo.Size     = new System.Drawing.Size(250, 20);
            this.aircraftBodyRefCombo.TabIndex = 9;
            //
            // labelOperationalDateTime
            //
            this.labelOperationalDateTime.AutoSize = true;
            this.labelOperationalDateTime.Location = new System.Drawing.Point(11, 105);
            this.labelOperationalDateTime.Name     = "labelOperationalDateTime";
            this.labelOperationalDateTime.Size     = new System.Drawing.Size(71, 13);
            this.labelOperationalDateTime.TabIndex = 10;
            this.labelOperationalDateTime.Text     = "Operational Date Time:";
            //
            //dateTimePickerOperationalDateTime
            //
            this.dateTimePickerOperationalDateTime.Location     = new System.Drawing.Point(154, 105);
            this.dateTimePickerOperationalDateTime.Anchor       = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right)));
            this.dateTimePickerOperationalDateTime.Name         = "dateTimePickerOperationalDateTime";
            this.dateTimePickerOperationalDateTime.Size         = new System.Drawing.Size(250, 20);
            this.dateTimePickerOperationalDateTime.TabIndex     = 11;
            this.dateTimePickerOperationalDateTime.Checked      = false;
            this.dateTimePickerOperationalDateTime.ShowCheckBox = true;
            //
            // labelFirstFlightDateTime
            //
            this.labelFirstFlightDateTime.AutoSize = true;
            this.labelFirstFlightDateTime.Location = new System.Drawing.Point(11, 128);
            this.labelFirstFlightDateTime.Name     = "labelFirstFlightDateTime";
            this.labelFirstFlightDateTime.Size     = new System.Drawing.Size(71, 13);
            this.labelFirstFlightDateTime.TabIndex = 12;
            this.labelFirstFlightDateTime.Text     = "First Flight Date Time:";
            //
            //dateTimePickerFirstFlightDateTime
            //
            this.dateTimePickerFirstFlightDateTime.Location     = new System.Drawing.Point(154, 128);
            this.dateTimePickerFirstFlightDateTime.Anchor       = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right)));
            this.dateTimePickerFirstFlightDateTime.Name         = "dateTimePickerFirstFlightDateTime";
            this.dateTimePickerFirstFlightDateTime.Size         = new System.Drawing.Size(250, 20);
            this.dateTimePickerFirstFlightDateTime.TabIndex     = 13;
            this.dateTimePickerFirstFlightDateTime.Checked      = false;
            this.dateTimePickerFirstFlightDateTime.ShowCheckBox = true;
            //
            // labelEngineType
            //
            this.labelEngineType.AutoSize = true;
            this.labelEngineType.Location = new System.Drawing.Point(11, 151);
            this.labelEngineType.Name     = "labelEngineType";
            this.labelEngineType.Size     = new System.Drawing.Size(71, 13);
            this.labelEngineType.TabIndex = 14;
            this.labelEngineType.Text     = "Engine Type:";
            //
            //textBoxEngineType
            //
            this.textBoxEngineType.Location = new System.Drawing.Point(154, 151);
            this.textBoxEngineType.Anchor   = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right)));
            this.textBoxEngineType.Name     = "textBoxEngineType";
            this.textBoxEngineType.Size     = new System.Drawing.Size(250, 20);
            this.textBoxEngineType.TabIndex = 15;
            //
            // labelPassengerCapacity
            //
            this.labelPassengerCapacity.AutoSize = true;
            this.labelPassengerCapacity.Location = new System.Drawing.Point(11, 174);
            this.labelPassengerCapacity.Name     = "labelPassengerCapacity";
            this.labelPassengerCapacity.Size     = new System.Drawing.Size(71, 13);
            this.labelPassengerCapacity.TabIndex = 16;
            this.labelPassengerCapacity.Text     = "Passenger Capacity:";
            //
            //maskedTextBoxPassengerCapacity
            //
            this.maskedTextBoxPassengerCapacity.Location = new System.Drawing.Point(154, 174);
            this.maskedTextBoxPassengerCapacity.Anchor   = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right)));
            this.maskedTextBoxPassengerCapacity.Name     = "maskedTextBoxPassengerCapacity";
            this.maskedTextBoxPassengerCapacity.Size     = new System.Drawing.Size(250, 20);
            this.maskedTextBoxPassengerCapacity.TabIndex = 17;
            //
            // labelUserPicker
            //
            this.labelUserPicker.AutoSize = true;
            this.labelUserPicker.Location = new System.Drawing.Point(11, 197);
            this.labelUserPicker.Name     = "labelUserPicker";
            this.labelUserPicker.Size     = new System.Drawing.Size(71, 13);
            this.labelUserPicker.TabIndex = 18;
            this.labelUserPicker.Text     = "User:"******"userPicker";
            this.userPicker.Size     = new System.Drawing.Size(250, 20);
            this.userPicker.TabIndex = 19;
            //
            // labelDateTime
            //
            this.labelDateTime.AutoSize = true;
            this.labelDateTime.Location = new System.Drawing.Point(11, 220);
            this.labelDateTime.Name     = "labelDateTime";
            this.labelDateTime.Size     = new System.Drawing.Size(71, 13);
            this.labelDateTime.TabIndex = 20;
            this.labelDateTime.Text     = "Date Time:";
            //
            //dateTimePickerDateTime
            //
            this.dateTimePickerDateTime.Location = new System.Drawing.Point(154, 220);
            this.dateTimePickerDateTime.Anchor   = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right)));
            this.dateTimePickerDateTime.Name     = "dateTimePickerDateTime";
            this.dateTimePickerDateTime.Size     = new System.Drawing.Size(250, 20);
            this.dateTimePickerDateTime.TabIndex = 21;
            //
            // buttonClose
            //
            this.buttonClose.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
            this.buttonClose.Location = new System.Drawing.Point(312, 243);

            this.buttonClose.Name     = "buttonClose";
            this.buttonClose.Size     = new System.Drawing.Size(92, 22);
            this.buttonClose.TabIndex = 1;
            this.buttonClose.Text     = "&Close";
            this.buttonClose.UseVisualStyleBackColor = true;
            this.buttonClose.Click += new System.EventHandler(this.buttonClose_Click);
            //
            // buttonSave
            //
            this.buttonSave.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
            this.buttonSave.Location = new System.Drawing.Point(212, 243);
            this.buttonSave.Name     = "buttonSave";
            this.buttonSave.Size     = new System.Drawing.Size(92, 22);
            this.buttonSave.TabIndex = 2;
            this.buttonSave.Text     = "&Save";
            this.buttonSave.UseVisualStyleBackColor = true;
            this.buttonSave.Click += new System.EventHandler(this.buttonSave_Click);
            //
            // EditForm
            //
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize          = new System.Drawing.Size(416, 271);
            this.Controls.Add(this.buttonSave);
            this.Controls.Add(this.buttonClose);
            this.Name = "CrudeAircraftEdit";
            this.Text = "Aircraft Edit";
            this.Controls.Add(this.labelAircraftName);
            this.Controls.Add(this.textBoxAircraftName);
            this.Controls.Add(this.labelAircraftTypeRefCombo);
            this.Controls.Add(this.aircraftTypeRefCombo);
            this.Controls.Add(this.labelAircraftConfigurationRefCombo);
            this.Controls.Add(this.aircraftConfigurationRefCombo);
            this.Controls.Add(this.labelAircraftBodyRefCombo);
            this.Controls.Add(this.aircraftBodyRefCombo);
            this.Controls.Add(this.labelOperationalDateTime);
            this.Controls.Add(this.dateTimePickerOperationalDateTime);
            this.Controls.Add(this.labelFirstFlightDateTime);
            this.Controls.Add(this.dateTimePickerFirstFlightDateTime);
            this.Controls.Add(this.labelEngineType);
            this.Controls.Add(this.textBoxEngineType);
            this.Controls.Add(this.labelPassengerCapacity);
            this.Controls.Add(this.maskedTextBoxPassengerCapacity);
            this.Controls.Add(this.labelUserPicker);
            this.Controls.Add(this.userPicker);
            this.Controls.Add(this.labelDateTime);
            this.Controls.Add(this.dateTimePickerDateTime);
            this.ResumeLayout(false);
            this.PerformLayout();
        }