mirror of
https://github.com/jeremytammik/RevitSdkSamples.git
synced 2026-08-09 22:51:32 +00:00
240 lines
12 KiB
C#
240 lines
12 KiB
C#
//
|
|
// (C) Copyright 2003-2019 by Autodesk, Inc.
|
|
//
|
|
// Permission to use, copy, modify, and distribute this software in
|
|
// object code form for any purpose and without fee is hereby granted
|
|
// provided that the above copyright notice appears in all copies and
|
|
// that both that copyright notice and the limited warranty and
|
|
// restricted rights notice below appear in all supporting
|
|
// documentation.
|
|
//
|
|
// AUTODESK PROVIDES THIS PROGRAM 'AS IS' AND WITH ALL ITS FAULTS.
|
|
// AUTODESK SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF
|
|
// MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. AUTODESK, INC.
|
|
// DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
|
|
// UNINTERRUPTED OR ERROR FREE.
|
|
//
|
|
// Use, duplication, or disclosure by the U.S. Government is subject to
|
|
// restrictions set forth in FAR 52.227-19 (Commercial Computer
|
|
// Software - Restricted Rights) and DFAR 252.227-7013(c)(1)(ii)
|
|
// (Rights in Technical Data and Computer Software), as applicable.
|
|
//
|
|
|
|
namespace Revit.SDK.Samples.FoundationSlab.CS
|
|
{
|
|
partial class FoundationSlabForm
|
|
{
|
|
/// <summary>
|
|
/// Required designer variable.
|
|
/// </summary>
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
/// <summary>
|
|
/// Clean up any resources being used.
|
|
/// </summary>
|
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing)
|
|
{
|
|
components?.Dispose();
|
|
selectedColumn?.Dispose();
|
|
markColumn?.Dispose();
|
|
levelNameColumn?.Dispose();
|
|
slabTypeNameColumn?.Dispose();
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
#region Windows Form Designer generated code
|
|
|
|
/// <summary>
|
|
/// Required method for Designer support - do not modify
|
|
/// the contents of this method with the code editor.
|
|
/// </summary>
|
|
private void InitializeComponent()
|
|
{
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
this.pictureBox = new System.Windows.Forms.PictureBox();
|
|
this.okButton = new System.Windows.Forms.Button();
|
|
this.diagramGroupBox = new System.Windows.Forms.GroupBox();
|
|
this.gridGroupBox = new System.Windows.Forms.GroupBox();
|
|
this.clearAllButton = new System.Windows.Forms.Button();
|
|
this.selectAllButton = new System.Windows.Forms.Button();
|
|
this.dataGridView = new System.Windows.Forms.DataGridView();
|
|
this.typeComboBox = new System.Windows.Forms.ComboBox();
|
|
this.typeLabel = new System.Windows.Forms.Label();
|
|
this.cancelButton = new System.Windows.Forms.Button();
|
|
((System.ComponentModel.ISupportInitialize)(this.pictureBox)).BeginInit();
|
|
this.diagramGroupBox.SuspendLayout();
|
|
this.gridGroupBox.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.dataGridView)).BeginInit();
|
|
this.SuspendLayout();
|
|
//
|
|
// pictureBox
|
|
//
|
|
this.pictureBox.BackColor = System.Drawing.SystemColors.ControlText;
|
|
this.pictureBox.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
|
|
this.pictureBox.Location = new System.Drawing.Point(6, 19);
|
|
this.pictureBox.Name = "pictureBox";
|
|
this.pictureBox.Size = new System.Drawing.Size(419, 296);
|
|
this.pictureBox.TabIndex = 0;
|
|
this.pictureBox.TabStop = false;
|
|
this.pictureBox.Paint += new System.Windows.Forms.PaintEventHandler(this.pictureBox_Paint);
|
|
//
|
|
// okButton
|
|
//
|
|
this.okButton.DialogResult = System.Windows.Forms.DialogResult.OK;
|
|
this.okButton.Location = new System.Drawing.Point(271, 524);
|
|
this.okButton.Name = "okButton";
|
|
this.okButton.Size = new System.Drawing.Size(75, 23);
|
|
this.okButton.TabIndex = 6;
|
|
this.okButton.Text = "&OK";
|
|
this.okButton.UseVisualStyleBackColor = true;
|
|
this.okButton.Click += new System.EventHandler(this.okButton_Click);
|
|
//
|
|
// diagramGroupBox
|
|
//
|
|
this.diagramGroupBox.Controls.Add(this.pictureBox);
|
|
this.diagramGroupBox.ForeColor = System.Drawing.Color.Black;
|
|
this.diagramGroupBox.Location = new System.Drawing.Point(12, 12);
|
|
this.diagramGroupBox.Name = "diagramGroupBox";
|
|
this.diagramGroupBox.Size = new System.Drawing.Size(431, 321);
|
|
this.diagramGroupBox.TabIndex = 2;
|
|
this.diagramGroupBox.TabStop = false;
|
|
this.diagramGroupBox.Text = "Slabs Diagram (Analytical Model)";
|
|
//
|
|
// gridGroupBox
|
|
//
|
|
this.gridGroupBox.Controls.Add(this.clearAllButton);
|
|
this.gridGroupBox.Controls.Add(this.selectAllButton);
|
|
this.gridGroupBox.Controls.Add(this.dataGridView);
|
|
this.gridGroupBox.ForeColor = System.Drawing.Color.Black;
|
|
this.gridGroupBox.Location = new System.Drawing.Point(12, 339);
|
|
this.gridGroupBox.Name = "gridGroupBox";
|
|
this.gridGroupBox.Size = new System.Drawing.Size(431, 160);
|
|
this.gridGroupBox.TabIndex = 3;
|
|
this.gridGroupBox.TabStop = false;
|
|
this.gridGroupBox.Text = "Regular Slabs";
|
|
//
|
|
// clearAllButton
|
|
//
|
|
this.clearAllButton.ForeColor = System.Drawing.SystemColors.ControlText;
|
|
this.clearAllButton.Location = new System.Drawing.Point(350, 62);
|
|
this.clearAllButton.Name = "clearAllButton";
|
|
this.clearAllButton.Size = new System.Drawing.Size(75, 23);
|
|
this.clearAllButton.TabIndex = 2;
|
|
this.clearAllButton.Text = "&Clear All";
|
|
this.clearAllButton.UseVisualStyleBackColor = true;
|
|
this.clearAllButton.Click += new System.EventHandler(this.clearAllButton_Click);
|
|
//
|
|
// selectAllButton
|
|
//
|
|
this.selectAllButton.ForeColor = System.Drawing.SystemColors.ControlText;
|
|
this.selectAllButton.Location = new System.Drawing.Point(349, 19);
|
|
this.selectAllButton.Name = "selectAllButton";
|
|
this.selectAllButton.Size = new System.Drawing.Size(75, 23);
|
|
this.selectAllButton.TabIndex = 1;
|
|
this.selectAllButton.Text = "&Select All";
|
|
this.selectAllButton.UseVisualStyleBackColor = true;
|
|
this.selectAllButton.Click += new System.EventHandler(this.selectAllButton_Click);
|
|
//
|
|
// dataGridView
|
|
//
|
|
this.dataGridView.AllowUserToResizeRows = false;
|
|
this.dataGridView.BackgroundColor = System.Drawing.SystemColors.Window;
|
|
this.dataGridView.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
|
|
this.dataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
|
dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Window;
|
|
dataGridViewCellStyle2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
dataGridViewCellStyle2.ForeColor = System.Drawing.Color.Black;
|
|
dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
|
dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
|
dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
|
this.dataGridView.DefaultCellStyle = dataGridViewCellStyle2;
|
|
this.dataGridView.Location = new System.Drawing.Point(6, 19);
|
|
this.dataGridView.Name = "dataGridView";
|
|
this.dataGridView.RowHeadersWidth = 30;
|
|
this.dataGridView.Size = new System.Drawing.Size(337, 133);
|
|
this.dataGridView.TabIndex = 0;
|
|
this.dataGridView.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView_CellClick);
|
|
this.dataGridView.CurrentCellDirtyStateChanged += new System.EventHandler(this.dataGridView_CurrentCellDirtyStateChanged);
|
|
this.dataGridView.CellValueChanged += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView_CellValueChanged);
|
|
//
|
|
// typeComboBox
|
|
//
|
|
this.typeComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
this.typeComboBox.FormattingEnabled = true;
|
|
this.typeComboBox.Location = new System.Drawing.Point(18, 525);
|
|
this.typeComboBox.Name = "typeComboBox";
|
|
this.typeComboBox.Size = new System.Drawing.Size(181, 21);
|
|
this.typeComboBox.TabIndex = 4;
|
|
this.typeComboBox.SelectedIndexChanged += new System.EventHandler(this.typeComboBox_SelectedIndexChanged);
|
|
//
|
|
// typeLabel
|
|
//
|
|
this.typeLabel.AutoSize = true;
|
|
this.typeLabel.ForeColor = System.Drawing.Color.Black;
|
|
this.typeLabel.Location = new System.Drawing.Point(15, 505);
|
|
this.typeLabel.Name = "typeLabel";
|
|
this.typeLabel.Size = new System.Drawing.Size(149, 13);
|
|
this.typeLabel.TabIndex = 5;
|
|
this.typeLabel.Text = "Select Foundation Slab Types";
|
|
//
|
|
// cancelButton
|
|
//
|
|
this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
|
this.cancelButton.Location = new System.Drawing.Point(362, 524);
|
|
this.cancelButton.Name = "cancelButton";
|
|
this.cancelButton.Size = new System.Drawing.Size(75, 23);
|
|
this.cancelButton.TabIndex = 0;
|
|
this.cancelButton.Text = "&Cancel";
|
|
this.cancelButton.UseVisualStyleBackColor = true;
|
|
this.cancelButton.Click += new System.EventHandler(this.cancelButton_Click);
|
|
//
|
|
// FoundationSlabForm
|
|
//
|
|
this.AcceptButton = this.okButton;
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.CancelButton = this.cancelButton;
|
|
this.ClientSize = new System.Drawing.Size(455, 566);
|
|
this.Controls.Add(this.cancelButton);
|
|
this.Controls.Add(this.typeLabel);
|
|
this.Controls.Add(this.typeComboBox);
|
|
this.Controls.Add(this.gridGroupBox);
|
|
this.Controls.Add(this.diagramGroupBox);
|
|
this.Controls.Add(this.okButton);
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
|
|
this.MaximizeBox = false;
|
|
this.MinimizeBox = false;
|
|
this.Name = "FoundationSlabForm";
|
|
this.ShowIcon = false;
|
|
this.ShowInTaskbar = false;
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
|
this.Text = "Foundation Slab";
|
|
this.Load += new System.EventHandler(this.FoundationSlabForm_Load);
|
|
((System.ComponentModel.ISupportInitialize)(this.pictureBox)).EndInit();
|
|
this.diagramGroupBox.ResumeLayout(false);
|
|
this.gridGroupBox.ResumeLayout(false);
|
|
((System.ComponentModel.ISupportInitialize)(this.dataGridView)).EndInit();
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.PictureBox pictureBox;
|
|
private System.Windows.Forms.Button okButton;
|
|
private System.Windows.Forms.GroupBox diagramGroupBox;
|
|
private System.Windows.Forms.GroupBox gridGroupBox;
|
|
private System.Windows.Forms.DataGridView dataGridView;
|
|
private System.Windows.Forms.ComboBox typeComboBox;
|
|
private System.Windows.Forms.Label typeLabel;
|
|
private System.Windows.Forms.Button cancelButton;
|
|
private System.Windows.Forms.Button clearAllButton;
|
|
private System.Windows.Forms.Button selectAllButton;
|
|
}
|
|
} |