コード例 #1
0
        private void InitializeComponent()
        {
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
            this.buttonClose = new System.Windows.Forms.Button();
            this.buttonCrudeClientContactMethodAdd    = new System.Windows.Forms.Button();
            this.buttonCrudeClientContactMethodEdit   = new System.Windows.Forms.Button();
            this.buttonCrudeClientContactMethodSearch = new System.Windows.Forms.Button();
            this.dataGridViewCrudeClientContactMethod = new System.Windows.Forms.DataGridView();
            this.labelContactMethodRefCombo           = new System.Windows.Forms.Label();
            this.contactMethodRefCombo   = new ContactMethodRefCombo();
            this.labelContactMethodWay   = new System.Windows.Forms.Label();
            this.textBoxContactMethodWay = new System.Windows.Forms.TextBox();
            this.labelComment            = new System.Windows.Forms.Label();
            this.textBoxComment          = new System.Windows.Forms.TextBox();
            this.labelDateTime           = new System.Windows.Forms.Label();
            this.dateTimePickerDateTime  = new System.Windows.Forms.TextBox();
            this.labelClientPicker       = new System.Windows.Forms.Label();
            this.clientPicker            = new ClientPicker();
            this.labelUserPicker         = new System.Windows.Forms.Label();
            this.userPicker = new DefaultUserPicker();
            ((System.ComponentModel.ISupportInitialize)(this.dataGridViewCrudeClientContactMethod)).BeginInit();
            this.SuspendLayout();
            //
            // labelContactMethodRefCombo
            //
            this.labelContactMethodRefCombo.AutoSize = true;
            this.labelContactMethodRefCombo.Location = new System.Drawing.Point(11, 13);
            this.labelContactMethodRefCombo.Name     = "labelContactMethodRefCombo";
            this.labelContactMethodRefCombo.Size     = new System.Drawing.Size(71, 13);
            this.labelContactMethodRefCombo.TabIndex = 2;
            this.labelContactMethodRefCombo.Text     = "Contact Method:";
            //
            //contactMethodRefCombo
            //
            this.contactMethodRefCombo.Location = new System.Drawing.Point(140, 13);
            this.contactMethodRefCombo.Anchor   = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right)));
            this.contactMethodRefCombo.Name     = "contactMethodRefCombo";
            this.contactMethodRefCombo.Size     = new System.Drawing.Size(250, 20);
            this.contactMethodRefCombo.TabIndex = 3;
            //
            // labelContactMethodWay
            //
            this.labelContactMethodWay.AutoSize = true;
            this.labelContactMethodWay.Location = new System.Drawing.Point(11, 36);
            this.labelContactMethodWay.Name     = "labelContactMethodWay";
            this.labelContactMethodWay.Size     = new System.Drawing.Size(71, 13);
            this.labelContactMethodWay.TabIndex = 4;
            this.labelContactMethodWay.Text     = "Contact Method Way:";
            //
            //textBoxContactMethodWay
            //
            this.textBoxContactMethodWay.Location = new System.Drawing.Point(140, 36);
            this.textBoxContactMethodWay.Anchor   = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right)));
            this.textBoxContactMethodWay.Name     = "textBoxContactMethodWay";
            this.textBoxContactMethodWay.Size     = new System.Drawing.Size(250, 20);
            this.textBoxContactMethodWay.TabIndex = 5;
            //
            // labelComment
            //
            this.labelComment.AutoSize = true;
            this.labelComment.Location = new System.Drawing.Point(11, 59);
            this.labelComment.Name     = "labelComment";
            this.labelComment.Size     = new System.Drawing.Size(71, 13);
            this.labelComment.TabIndex = 6;
            this.labelComment.Text     = "Comment:";
            //
            //textBoxComment
            //
            this.textBoxComment.Location = new System.Drawing.Point(140, 59);
            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 = 7;
            //
            // labelDateTime
            //
            this.labelDateTime.AutoSize = true;
            this.labelDateTime.Location = new System.Drawing.Point(11, 82);
            this.labelDateTime.Name     = "labelDateTime";
            this.labelDateTime.Size     = new System.Drawing.Size(71, 13);
            this.labelDateTime.TabIndex = 8;
            this.labelDateTime.Text     = "Date Time:";
            //
            //dateTimePickerDateTime
            //
            this.dateTimePickerDateTime.Location = new System.Drawing.Point(140, 82);
            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 = 9;
            //
            // labelClientPicker
            //
            this.labelClientPicker.AutoSize = true;
            this.labelClientPicker.Location = new System.Drawing.Point(11, 105);
            this.labelClientPicker.Name     = "labelClientPicker";
            this.labelClientPicker.Size     = new System.Drawing.Size(71, 13);
            this.labelClientPicker.TabIndex = 10;
            this.labelClientPicker.Text     = "Client:";
            //
            //clientPicker
            //
            this.clientPicker.Location = new System.Drawing.Point(140, 105);
            this.clientPicker.Anchor   = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right)));
            this.clientPicker.Name     = "clientPicker";
            this.clientPicker.Size     = new System.Drawing.Size(250, 20);
            this.clientPicker.TabIndex = 11;
            //
            // labelUserPicker
            //
            this.labelUserPicker.AutoSize = true;
            this.labelUserPicker.Location = new System.Drawing.Point(11, 128);
            this.labelUserPicker.Name     = "labelUserPicker";
            this.labelUserPicker.Size     = new System.Drawing.Size(71, 13);
            this.labelUserPicker.TabIndex = 12;
            this.labelUserPicker.Text     = "User:"******"userPicker";
            this.userPicker.Size     = new System.Drawing.Size(250, 20);
            this.userPicker.TabIndex = 13;
            //
            // dataGridViewCrudeClientContactMethod
            //
            dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));
            this.dataGridViewCrudeClientContactMethod.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
            this.dataGridViewCrudeClientContactMethod.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.dataGridViewCrudeClientContactMethod.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
            this.dataGridViewCrudeClientContactMethod.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
            this.dataGridViewCrudeClientContactMethod.Location      = new System.Drawing.Point(12, 161);
            this.dataGridViewCrudeClientContactMethod.Name          = "dataGridViewCrudeClientContactMethod";
            this.dataGridViewCrudeClientContactMethod.Size          = new System.Drawing.Size(378, 96);
            this.dataGridViewCrudeClientContactMethod.TabIndex      = 0;
            this.dataGridViewCrudeClientContactMethod.ReadOnly      = true;
            this.dataGridViewCrudeClientContactMethod.DoubleClick  += new System.EventHandler(this.dataGridViewCrudeClientContactMethod_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(298, 264);

            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);
            //
            // buttonCrudeClientContactMethodSearch
            //
            this.buttonCrudeClientContactMethodSearch.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
            this.buttonCrudeClientContactMethodSearch.Location = new System.Drawing.Point(198, 264);
            this.buttonCrudeClientContactMethodSearch.Name     = "buttonCrudeClientContactMethodSearch";
            this.buttonCrudeClientContactMethodSearch.Size     = new System.Drawing.Size(92, 22);
            this.buttonCrudeClientContactMethodSearch.TabIndex = 2;
            this.buttonCrudeClientContactMethodSearch.Text     = "&Search";
            this.buttonCrudeClientContactMethodSearch.UseVisualStyleBackColor = true;
            this.buttonCrudeClientContactMethodSearch.Click += new System.EventHandler(this.buttonCrudeClientContactMethodSearch_Click);
            //
            // buttonCrudeClientContactMethodAdd
            //
            this.buttonCrudeClientContactMethodAdd.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
            this.buttonCrudeClientContactMethodAdd.Location = new System.Drawing.Point(98, 264);
            this.buttonCrudeClientContactMethodAdd.Name     = "buttonCrudeClientContactMethodAdd";
            this.buttonCrudeClientContactMethodAdd.Size     = new System.Drawing.Size(92, 22);
            this.buttonCrudeClientContactMethodAdd.TabIndex = 3;
            this.buttonCrudeClientContactMethodAdd.Text     = "&Add";
            this.buttonCrudeClientContactMethodAdd.UseVisualStyleBackColor = true;
            this.buttonCrudeClientContactMethodAdd.Click += new System.EventHandler(this.buttonCrudeClientContactMethodAdd_Click);
            //
            // buttonCrudeClientContactMethodEdit
            //
            this.buttonCrudeClientContactMethodEdit.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
            this.buttonCrudeClientContactMethodEdit.Location = new System.Drawing.Point(-2, 264);
            this.buttonCrudeClientContactMethodEdit.Name     = "buttonCrudeClientContactMethodEdit";
            this.buttonCrudeClientContactMethodEdit.Size     = new System.Drawing.Size(92, 22);
            this.buttonCrudeClientContactMethodEdit.TabIndex = 4;
            this.buttonCrudeClientContactMethodEdit.Text     = "&Edit";
            this.buttonCrudeClientContactMethodEdit.UseVisualStyleBackColor = true;
            this.buttonCrudeClientContactMethodEdit.Click += new System.EventHandler(this.buttonCrudeClientContactMethodEdit_Click);
            //
            // GridForm
            //
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize          = new System.Drawing.Size(402, 292);
            this.Controls.Add(this.buttonCrudeClientContactMethodSearch);
            this.Controls.Add(this.buttonClose);
            this.Controls.Add(this.buttonCrudeClientContactMethodAdd);
            this.Controls.Add(this.buttonCrudeClientContactMethodEdit);
            this.Controls.Add(this.dataGridViewCrudeClientContactMethod);
            this.Name = "CrudeClientContactMethodSearch";
            this.Text = "Client Contact Method Search";
            ((System.ComponentModel.ISupportInitialize)(this.dataGridViewCrudeClientContactMethod)).EndInit();
            this.Controls.Add(this.labelContactMethodRefCombo);
            this.Controls.Add(this.contactMethodRefCombo);
            this.Controls.Add(this.labelContactMethodWay);
            this.Controls.Add(this.textBoxContactMethodWay);
            this.Controls.Add(this.labelComment);
            this.Controls.Add(this.textBoxComment);
            this.Controls.Add(this.labelDateTime);
            this.Controls.Add(this.dateTimePickerDateTime);
            this.Controls.Add(this.labelClientPicker);
            this.Controls.Add(this.clientPicker);
            this.Controls.Add(this.labelUserPicker);
            this.Controls.Add(this.userPicker);
            this.ResumeLayout(false);
            this.PerformLayout();
        }
コード例 #2
0
        private void InitializeComponent()
        {
            this.buttonClose                  = new System.Windows.Forms.Button();
            this.buttonSave                   = new System.Windows.Forms.Button();
            this.labelClientPicker            = new System.Windows.Forms.Label();
            this.clientPicker                 = new ClientPicker();
            this.labelClientEventTypeRefCombo = new System.Windows.Forms.Label();
            this.clientEventTypeRefCombo      = new ClientEventTypeRefCombo();
            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();
            //
            // labelClientPicker
            //
            this.labelClientPicker.AutoSize = true;
            this.labelClientPicker.Location = new System.Drawing.Point(11, 13);
            this.labelClientPicker.Name     = "labelClientPicker";
            this.labelClientPicker.Size     = new System.Drawing.Size(71, 13);
            this.labelClientPicker.TabIndex = 2;
            this.labelClientPicker.Text     = "Client:";
            //
            //clientPicker
            //
            this.clientPicker.Location = new System.Drawing.Point(140, 13);
            this.clientPicker.Anchor   = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right)));
            this.clientPicker.Name     = "clientPicker";
            this.clientPicker.Size     = new System.Drawing.Size(250, 20);
            this.clientPicker.TabIndex = 3;
            //
            // labelClientEventTypeRefCombo
            //
            this.labelClientEventTypeRefCombo.AutoSize = true;
            this.labelClientEventTypeRefCombo.Location = new System.Drawing.Point(11, 36);
            this.labelClientEventTypeRefCombo.Name     = "labelClientEventTypeRefCombo";
            this.labelClientEventTypeRefCombo.Size     = new System.Drawing.Size(71, 13);
            this.labelClientEventTypeRefCombo.TabIndex = 4;
            this.labelClientEventTypeRefCombo.Text     = "Client Event Type:";
            //
            //clientEventTypeRefCombo
            //
            this.clientEventTypeRefCombo.Location = new System.Drawing.Point(140, 36);
            this.clientEventTypeRefCombo.Anchor   = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right)));
            this.clientEventTypeRefCombo.Name     = "clientEventTypeRefCombo";
            this.clientEventTypeRefCombo.Size     = new System.Drawing.Size(250, 20);
            this.clientEventTypeRefCombo.TabIndex = 5;
            //
            // labelUserPicker
            //
            this.labelUserPicker.AutoSize = true;
            this.labelUserPicker.Location = new System.Drawing.Point(11, 59);
            this.labelUserPicker.Name     = "labelUserPicker";
            this.labelUserPicker.Size     = new System.Drawing.Size(71, 13);
            this.labelUserPicker.TabIndex = 6;
            this.labelUserPicker.Text     = "User:"******"userPicker";
            this.userPicker.Size     = new System.Drawing.Size(250, 20);
            this.userPicker.TabIndex = 7;
            //
            // labelDateTime
            //
            this.labelDateTime.AutoSize = true;
            this.labelDateTime.Location = new System.Drawing.Point(11, 82);
            this.labelDateTime.Name     = "labelDateTime";
            this.labelDateTime.Size     = new System.Drawing.Size(71, 13);
            this.labelDateTime.TabIndex = 8;
            this.labelDateTime.Text     = "Date Time:";
            //
            //dateTimePickerDateTime
            //
            this.dateTimePickerDateTime.Location = new System.Drawing.Point(140, 82);
            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 = 9;
            //
            // 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, 105);

            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, 105);
            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, 133);
            this.Controls.Add(this.buttonSave);
            this.Controls.Add(this.buttonClose);
            this.Name = "CrudeClientEventEdit";
            this.Text = "Client Event Edit";
            this.Controls.Add(this.labelClientPicker);
            this.Controls.Add(this.clientPicker);
            this.Controls.Add(this.labelClientEventTypeRefCombo);
            this.Controls.Add(this.clientEventTypeRefCombo);
            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();
        }
コード例 #3
0
        private void InitializeComponent()
        {
            this.buttonClose = new System.Windows.Forms.Button();
            this.buttonSave  = new System.Windows.Forms.Button();
            this.labelServicePackagePicker         = new System.Windows.Forms.Label();
            this.servicePackagePicker              = new ServicePackagePicker();
            this.labelPromotionPriceAmount         = new System.Windows.Forms.Label();
            this.maskedTextBoxPromotionPriceAmount = new System.Windows.Forms.MaskedTextBox();
            this.labelFinancialCurrencyPicker      = new System.Windows.Forms.Label();
            this.financialCurrencyPicker           = new FinancialCurrencyPicker();
            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.labelClientPicker      = new System.Windows.Forms.Label();
            this.clientPicker           = new ClientPicker();
            this.SuspendLayout();
            //
            // labelServicePackagePicker
            //
            this.labelServicePackagePicker.AutoSize = true;
            this.labelServicePackagePicker.Location = new System.Drawing.Point(11, 13);
            this.labelServicePackagePicker.Name     = "labelServicePackagePicker";
            this.labelServicePackagePicker.Size     = new System.Drawing.Size(71, 13);
            this.labelServicePackagePicker.TabIndex = 2;
            this.labelServicePackagePicker.Text     = "Service Package:";
            //
            //servicePackagePicker
            //
            this.servicePackagePicker.Location = new System.Drawing.Point(154, 13);
            this.servicePackagePicker.Anchor   = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right)));
            this.servicePackagePicker.Name     = "servicePackagePicker";
            this.servicePackagePicker.Size     = new System.Drawing.Size(250, 20);
            this.servicePackagePicker.TabIndex = 3;
            //
            // labelPromotionPriceAmount
            //
            this.labelPromotionPriceAmount.AutoSize = true;
            this.labelPromotionPriceAmount.Location = new System.Drawing.Point(11, 36);
            this.labelPromotionPriceAmount.Name     = "labelPromotionPriceAmount";
            this.labelPromotionPriceAmount.Size     = new System.Drawing.Size(71, 13);
            this.labelPromotionPriceAmount.TabIndex = 4;
            this.labelPromotionPriceAmount.Text     = "Promotion Price Amount:";
            //
            //maskedTextBoxPromotionPriceAmount
            //
            this.maskedTextBoxPromotionPriceAmount.Location = new System.Drawing.Point(154, 36);
            this.maskedTextBoxPromotionPriceAmount.Anchor   = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right)));
            this.maskedTextBoxPromotionPriceAmount.Name     = "maskedTextBoxPromotionPriceAmount";
            this.maskedTextBoxPromotionPriceAmount.Size     = new System.Drawing.Size(250, 20);
            this.maskedTextBoxPromotionPriceAmount.TabIndex = 5;
            //
            // labelFinancialCurrencyPicker
            //
            this.labelFinancialCurrencyPicker.AutoSize = true;
            this.labelFinancialCurrencyPicker.Location = new System.Drawing.Point(11, 59);
            this.labelFinancialCurrencyPicker.Name     = "labelFinancialCurrencyPicker";
            this.labelFinancialCurrencyPicker.Size     = new System.Drawing.Size(71, 13);
            this.labelFinancialCurrencyPicker.TabIndex = 6;
            this.labelFinancialCurrencyPicker.Text     = "Financial Currency:";
            //
            //financialCurrencyPicker
            //
            this.financialCurrencyPicker.Location = new System.Drawing.Point(154, 59);
            this.financialCurrencyPicker.Anchor   = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right)));
            this.financialCurrencyPicker.Name     = "financialCurrencyPicker";
            this.financialCurrencyPicker.Size     = new System.Drawing.Size(250, 20);
            this.financialCurrencyPicker.TabIndex = 7;
            //
            // labelUserPicker
            //
            this.labelUserPicker.AutoSize = true;
            this.labelUserPicker.Location = new System.Drawing.Point(11, 82);
            this.labelUserPicker.Name     = "labelUserPicker";
            this.labelUserPicker.Size     = new System.Drawing.Size(71, 13);
            this.labelUserPicker.TabIndex = 8;
            this.labelUserPicker.Text     = "User:"******"userPicker";
            this.userPicker.Size     = new System.Drawing.Size(250, 20);
            this.userPicker.TabIndex = 9;
            //
            // 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(154, 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;
            //
            // labelClientPicker
            //
            this.labelClientPicker.AutoSize = true;
            this.labelClientPicker.Location = new System.Drawing.Point(11, 128);
            this.labelClientPicker.Name     = "labelClientPicker";
            this.labelClientPicker.Size     = new System.Drawing.Size(71, 13);
            this.labelClientPicker.TabIndex = 12;
            this.labelClientPicker.Text     = "Client:";
            //
            //clientPicker
            //
            this.clientPicker.Location = new System.Drawing.Point(154, 128);
            this.clientPicker.Anchor   = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right)));
            this.clientPicker.Name     = "clientPicker";
            this.clientPicker.Size     = new System.Drawing.Size(250, 20);
            this.clientPicker.TabIndex = 13;
            //
            // 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, 151);

            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, 151);
            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, 179);
            this.Controls.Add(this.buttonSave);
            this.Controls.Add(this.buttonClose);
            this.Name = "CrudeServicePackagePromotionEdit";
            this.Text = "Service Package Promotion Edit";
            this.Controls.Add(this.labelServicePackagePicker);
            this.Controls.Add(this.servicePackagePicker);
            this.Controls.Add(this.labelPromotionPriceAmount);
            this.Controls.Add(this.maskedTextBoxPromotionPriceAmount);
            this.Controls.Add(this.labelFinancialCurrencyPicker);
            this.Controls.Add(this.financialCurrencyPicker);
            this.Controls.Add(this.labelUserPicker);
            this.Controls.Add(this.userPicker);
            this.Controls.Add(this.labelDateTime);
            this.Controls.Add(this.dateTimePickerDateTime);
            this.Controls.Add(this.labelClientPicker);
            this.Controls.Add(this.clientPicker);
            this.ResumeLayout(false);
            this.PerformLayout();
        }
コード例 #4
0
        private void InitializeComponent()
        {
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
            this.buttonClose = new System.Windows.Forms.Button();
            this.buttonCrudeServicePackagePromotionAdd    = new System.Windows.Forms.Button();
            this.buttonCrudeServicePackagePromotionEdit   = new System.Windows.Forms.Button();
            this.buttonCrudeServicePackagePromotionSearch = new System.Windows.Forms.Button();
            this.dataGridViewCrudeServicePackagePromotion = new System.Windows.Forms.DataGridView();
            this.labelPromotionPriceAmount         = new System.Windows.Forms.Label();
            this.maskedTextBoxPromotionPriceAmount = new System.Windows.Forms.MaskedTextBox();
            this.labelDateTime                = new System.Windows.Forms.Label();
            this.dateTimePickerDateTime       = new System.Windows.Forms.TextBox();
            this.labelServicePackagePicker    = new System.Windows.Forms.Label();
            this.servicePackagePicker         = new ServicePackagePicker();
            this.labelFinancialCurrencyPicker = new System.Windows.Forms.Label();
            this.financialCurrencyPicker      = new FinancialCurrencyPicker();
            this.labelUserPicker              = new System.Windows.Forms.Label();
            this.userPicker        = new DefaultUserPicker();
            this.labelClientPicker = new System.Windows.Forms.Label();
            this.clientPicker      = new ClientPicker();
            ((System.ComponentModel.ISupportInitialize)(this.dataGridViewCrudeServicePackagePromotion)).BeginInit();
            this.SuspendLayout();
            //
            // labelPromotionPriceAmount
            //
            this.labelPromotionPriceAmount.AutoSize = true;
            this.labelPromotionPriceAmount.Location = new System.Drawing.Point(11, 13);
            this.labelPromotionPriceAmount.Name     = "labelPromotionPriceAmount";
            this.labelPromotionPriceAmount.Size     = new System.Drawing.Size(71, 13);
            this.labelPromotionPriceAmount.TabIndex = 2;
            this.labelPromotionPriceAmount.Text     = "Promotion Price Amount:";
            //
            //maskedTextBoxPromotionPriceAmount
            //
            this.maskedTextBoxPromotionPriceAmount.Location = new System.Drawing.Point(154, 13);
            this.maskedTextBoxPromotionPriceAmount.Anchor   = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right)));
            this.maskedTextBoxPromotionPriceAmount.Name     = "maskedTextBoxPromotionPriceAmount";
            this.maskedTextBoxPromotionPriceAmount.Size     = new System.Drawing.Size(250, 20);
            this.maskedTextBoxPromotionPriceAmount.TabIndex = 3;
            //
            // labelDateTime
            //
            this.labelDateTime.AutoSize = true;
            this.labelDateTime.Location = new System.Drawing.Point(11, 36);
            this.labelDateTime.Name     = "labelDateTime";
            this.labelDateTime.Size     = new System.Drawing.Size(71, 13);
            this.labelDateTime.TabIndex = 4;
            this.labelDateTime.Text     = "Date Time:";
            //
            //dateTimePickerDateTime
            //
            this.dateTimePickerDateTime.Location = new System.Drawing.Point(154, 36);
            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 = 5;
            //
            // labelServicePackagePicker
            //
            this.labelServicePackagePicker.AutoSize = true;
            this.labelServicePackagePicker.Location = new System.Drawing.Point(11, 59);
            this.labelServicePackagePicker.Name     = "labelServicePackagePicker";
            this.labelServicePackagePicker.Size     = new System.Drawing.Size(71, 13);
            this.labelServicePackagePicker.TabIndex = 6;
            this.labelServicePackagePicker.Text     = "Service Package:";
            //
            //servicePackagePicker
            //
            this.servicePackagePicker.Location = new System.Drawing.Point(154, 59);
            this.servicePackagePicker.Anchor   = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right)));
            this.servicePackagePicker.Name     = "servicePackagePicker";
            this.servicePackagePicker.Size     = new System.Drawing.Size(250, 20);
            this.servicePackagePicker.TabIndex = 7;
            //
            // labelFinancialCurrencyPicker
            //
            this.labelFinancialCurrencyPicker.AutoSize = true;
            this.labelFinancialCurrencyPicker.Location = new System.Drawing.Point(11, 82);
            this.labelFinancialCurrencyPicker.Name     = "labelFinancialCurrencyPicker";
            this.labelFinancialCurrencyPicker.Size     = new System.Drawing.Size(71, 13);
            this.labelFinancialCurrencyPicker.TabIndex = 8;
            this.labelFinancialCurrencyPicker.Text     = "Financial Currency:";
            //
            //financialCurrencyPicker
            //
            this.financialCurrencyPicker.Location = new System.Drawing.Point(154, 82);
            this.financialCurrencyPicker.Anchor   = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right)));
            this.financialCurrencyPicker.Name     = "financialCurrencyPicker";
            this.financialCurrencyPicker.Size     = new System.Drawing.Size(250, 20);
            this.financialCurrencyPicker.TabIndex = 9;
            //
            // labelUserPicker
            //
            this.labelUserPicker.AutoSize = true;
            this.labelUserPicker.Location = new System.Drawing.Point(11, 105);
            this.labelUserPicker.Name     = "labelUserPicker";
            this.labelUserPicker.Size     = new System.Drawing.Size(71, 13);
            this.labelUserPicker.TabIndex = 10;
            this.labelUserPicker.Text     = "User:"******"userPicker";
            this.userPicker.Size     = new System.Drawing.Size(250, 20);
            this.userPicker.TabIndex = 11;
            //
            // labelClientPicker
            //
            this.labelClientPicker.AutoSize = true;
            this.labelClientPicker.Location = new System.Drawing.Point(11, 128);
            this.labelClientPicker.Name     = "labelClientPicker";
            this.labelClientPicker.Size     = new System.Drawing.Size(71, 13);
            this.labelClientPicker.TabIndex = 12;
            this.labelClientPicker.Text     = "Client:";
            //
            //clientPicker
            //
            this.clientPicker.Location = new System.Drawing.Point(154, 128);
            this.clientPicker.Anchor   = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right)));
            this.clientPicker.Name     = "clientPicker";
            this.clientPicker.Size     = new System.Drawing.Size(250, 20);
            this.clientPicker.TabIndex = 13;
            //
            // dataGridViewCrudeServicePackagePromotion
            //
            dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));
            this.dataGridViewCrudeServicePackagePromotion.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
            this.dataGridViewCrudeServicePackagePromotion.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.dataGridViewCrudeServicePackagePromotion.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
            this.dataGridViewCrudeServicePackagePromotion.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
            this.dataGridViewCrudeServicePackagePromotion.Location      = new System.Drawing.Point(12, 161);
            this.dataGridViewCrudeServicePackagePromotion.Name          = "dataGridViewCrudeServicePackagePromotion";
            this.dataGridViewCrudeServicePackagePromotion.Size          = new System.Drawing.Size(392, 96);
            this.dataGridViewCrudeServicePackagePromotion.TabIndex      = 0;
            this.dataGridViewCrudeServicePackagePromotion.ReadOnly      = true;
            this.dataGridViewCrudeServicePackagePromotion.DoubleClick  += new System.EventHandler(this.dataGridViewCrudeServicePackagePromotion_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, 264);

            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);
            //
            // buttonCrudeServicePackagePromotionSearch
            //
            this.buttonCrudeServicePackagePromotionSearch.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
            this.buttonCrudeServicePackagePromotionSearch.Location = new System.Drawing.Point(212, 264);
            this.buttonCrudeServicePackagePromotionSearch.Name     = "buttonCrudeServicePackagePromotionSearch";
            this.buttonCrudeServicePackagePromotionSearch.Size     = new System.Drawing.Size(92, 22);
            this.buttonCrudeServicePackagePromotionSearch.TabIndex = 2;
            this.buttonCrudeServicePackagePromotionSearch.Text     = "&Search";
            this.buttonCrudeServicePackagePromotionSearch.UseVisualStyleBackColor = true;
            this.buttonCrudeServicePackagePromotionSearch.Click += new System.EventHandler(this.buttonCrudeServicePackagePromotionSearch_Click);
            //
            // buttonCrudeServicePackagePromotionAdd
            //
            this.buttonCrudeServicePackagePromotionAdd.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
            this.buttonCrudeServicePackagePromotionAdd.Location = new System.Drawing.Point(112, 264);
            this.buttonCrudeServicePackagePromotionAdd.Name     = "buttonCrudeServicePackagePromotionAdd";
            this.buttonCrudeServicePackagePromotionAdd.Size     = new System.Drawing.Size(92, 22);
            this.buttonCrudeServicePackagePromotionAdd.TabIndex = 3;
            this.buttonCrudeServicePackagePromotionAdd.Text     = "&Add";
            this.buttonCrudeServicePackagePromotionAdd.UseVisualStyleBackColor = true;
            this.buttonCrudeServicePackagePromotionAdd.Click += new System.EventHandler(this.buttonCrudeServicePackagePromotionAdd_Click);
            //
            // buttonCrudeServicePackagePromotionEdit
            //
            this.buttonCrudeServicePackagePromotionEdit.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
            this.buttonCrudeServicePackagePromotionEdit.Location = new System.Drawing.Point(12, 264);
            this.buttonCrudeServicePackagePromotionEdit.Name     = "buttonCrudeServicePackagePromotionEdit";
            this.buttonCrudeServicePackagePromotionEdit.Size     = new System.Drawing.Size(92, 22);
            this.buttonCrudeServicePackagePromotionEdit.TabIndex = 4;
            this.buttonCrudeServicePackagePromotionEdit.Text     = "&Edit";
            this.buttonCrudeServicePackagePromotionEdit.UseVisualStyleBackColor = true;
            this.buttonCrudeServicePackagePromotionEdit.Click += new System.EventHandler(this.buttonCrudeServicePackagePromotionEdit_Click);
            //
            // GridForm
            //
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize          = new System.Drawing.Size(416, 292);
            this.Controls.Add(this.buttonCrudeServicePackagePromotionSearch);
            this.Controls.Add(this.buttonClose);
            this.Controls.Add(this.buttonCrudeServicePackagePromotionAdd);
            this.Controls.Add(this.buttonCrudeServicePackagePromotionEdit);
            this.Controls.Add(this.dataGridViewCrudeServicePackagePromotion);
            this.Name = "CrudeServicePackagePromotionSearch";
            this.Text = "Service Package Promotion Search";
            ((System.ComponentModel.ISupportInitialize)(this.dataGridViewCrudeServicePackagePromotion)).EndInit();
            this.Controls.Add(this.labelPromotionPriceAmount);
            this.Controls.Add(this.maskedTextBoxPromotionPriceAmount);
            this.Controls.Add(this.labelDateTime);
            this.Controls.Add(this.dateTimePickerDateTime);
            this.Controls.Add(this.labelServicePackagePicker);
            this.Controls.Add(this.servicePackagePicker);
            this.Controls.Add(this.labelFinancialCurrencyPicker);
            this.Controls.Add(this.financialCurrencyPicker);
            this.Controls.Add(this.labelUserPicker);
            this.Controls.Add(this.userPicker);
            this.Controls.Add(this.labelClientPicker);
            this.Controls.Add(this.clientPicker);
            this.ResumeLayout(false);
            this.PerformLayout();
        }