263 lines
14 KiB
C#
263 lines
14 KiB
C#
using System.Collections.Generic;
|
|
using Autodesk.Revit.DB;
|
|
using Autodesk.Revit.UI;
|
|
using KMBIM.Revit.Tools.Properties;
|
|
namespace KMBIM.Revit.Tools.AvoidObstruction
|
|
{
|
|
partial class FormAvoidObstruction
|
|
{
|
|
/// <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 != null))
|
|
{
|
|
components.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.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormAvoidObstruction));
|
|
this.radioButtonDnUp = new System.Windows.Forms.RadioButton();
|
|
this.radioButton_Dn = new System.Windows.Forms.RadioButton();
|
|
this.radioButton_Up = new System.Windows.Forms.RadioButton();
|
|
this.radioButtonUpDn = new System.Windows.Forms.RadioButton();
|
|
this.buttonSelectAvoidElement = new System.Windows.Forms.Button();
|
|
this.buttonSelectObstructionElement = new System.Windows.Forms.Button();
|
|
this.numericUpDownAngle = new System.Windows.Forms.NumericUpDown();
|
|
this.numericUpDownFreeSpaceHeight = new System.Windows.Forms.NumericUpDown();
|
|
this.label2 = new System.Windows.Forms.Label();
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
this.checkBoxLinkModel = new System.Windows.Forms.CheckBox();
|
|
((System.ComponentModel.ISupportInitialize)(this.numericUpDownAngle)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.numericUpDownFreeSpaceHeight)).BeginInit();
|
|
this.SuspendLayout();
|
|
//
|
|
// radioButtonDnUp
|
|
//
|
|
this.radioButtonDnUp.Appearance = System.Windows.Forms.Appearance.Button;
|
|
this.radioButtonDnUp.AutoSize = true;
|
|
this.radioButtonDnUp.Image = global::KMBIM.Revit.Tools.Properties.Resources.avoiddnup;
|
|
this.radioButtonDnUp.Location = new System.Drawing.Point(139, 70);
|
|
this.radioButtonDnUp.Name = "radioButtonDnUp";
|
|
this.radioButtonDnUp.Size = new System.Drawing.Size(122, 55);
|
|
this.radioButtonDnUp.TabIndex = 25;
|
|
this.radioButtonDnUp.TabStop = true;
|
|
this.radioButtonDnUp.UseVisualStyleBackColor = true;
|
|
this.radioButtonDnUp.CheckedChanged += new System.EventHandler(this.radioButtonDnUp_CheckedChanged);
|
|
//
|
|
// radioButton_Dn
|
|
//
|
|
this.radioButton_Dn.Appearance = System.Windows.Forms.Appearance.Button;
|
|
this.radioButton_Dn.AutoSize = true;
|
|
this.radioButton_Dn.Image = global::KMBIM.Revit.Tools.Properties.Resources.avoide_dn;
|
|
this.radioButton_Dn.Location = new System.Drawing.Point(139, 131);
|
|
this.radioButton_Dn.Name = "radioButton_Dn";
|
|
this.radioButton_Dn.Size = new System.Drawing.Size(122, 55);
|
|
this.radioButton_Dn.TabIndex = 23;
|
|
this.radioButton_Dn.TabStop = true;
|
|
this.radioButton_Dn.UseVisualStyleBackColor = true;
|
|
this.radioButton_Dn.CheckedChanged += new System.EventHandler(this.radioButton_Dn_CheckedChanged);
|
|
//
|
|
// radioButton_Up
|
|
//
|
|
this.radioButton_Up.Appearance = System.Windows.Forms.Appearance.Button;
|
|
this.radioButton_Up.AutoSize = true;
|
|
this.radioButton_Up.Image = global::KMBIM.Revit.Tools.Properties.Resources.avoids_up;
|
|
this.radioButton_Up.Location = new System.Drawing.Point(11, 131);
|
|
this.radioButton_Up.Name = "radioButton_Up";
|
|
this.radioButton_Up.Size = new System.Drawing.Size(122, 55);
|
|
this.radioButton_Up.TabIndex = 21;
|
|
this.radioButton_Up.TabStop = true;
|
|
this.radioButton_Up.UseVisualStyleBackColor = true;
|
|
this.radioButton_Up.CheckedChanged += new System.EventHandler(this.radioButton_Up_CheckedChanged);
|
|
//
|
|
// radioButtonUpDn
|
|
//
|
|
this.radioButtonUpDn.Appearance = System.Windows.Forms.Appearance.Button;
|
|
this.radioButtonUpDn.AutoSize = true;
|
|
this.radioButtonUpDn.Image = global::KMBIM.Revit.Tools.Properties.Resources.avoidupdn;
|
|
this.radioButtonUpDn.Location = new System.Drawing.Point(11, 70);
|
|
this.radioButtonUpDn.Name = "radioButtonUpDn";
|
|
this.radioButtonUpDn.Size = new System.Drawing.Size(122, 55);
|
|
this.radioButtonUpDn.TabIndex = 22;
|
|
this.radioButtonUpDn.TabStop = true;
|
|
this.radioButtonUpDn.UseVisualStyleBackColor = true;
|
|
this.radioButtonUpDn.CheckedChanged += new System.EventHandler(this.radioButtonUpDn_CheckedChanged);
|
|
//
|
|
// buttonSelectAvoidElement
|
|
//
|
|
this.buttonSelectAvoidElement.BackColor = System.Drawing.SystemColors.Control;
|
|
this.buttonSelectAvoidElement.ForeColor = System.Drawing.Color.Black;
|
|
this.buttonSelectAvoidElement.Image = ((System.Drawing.Image)(resources.GetObject("buttonSelectAvoidElement.Image")));
|
|
this.buttonSelectAvoidElement.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
|
this.buttonSelectAvoidElement.Location = new System.Drawing.Point(13, 255);
|
|
this.buttonSelectAvoidElement.Name = "buttonSelectAvoidElement";
|
|
this.buttonSelectAvoidElement.Padding = new System.Windows.Forms.Padding(0, 0, 10, 0);
|
|
this.buttonSelectAvoidElement.Size = new System.Drawing.Size(250, 32);
|
|
this.buttonSelectAvoidElement.TabIndex = 19;
|
|
this.buttonSelectAvoidElement.Text = "회피 요소 선택";
|
|
this.buttonSelectAvoidElement.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
|
this.buttonSelectAvoidElement.UseVisualStyleBackColor = false;
|
|
this.buttonSelectAvoidElement.Click += new System.EventHandler(this.buttonSelectAvoidElement_Click);
|
|
//
|
|
// buttonSelectObstructionElement
|
|
//
|
|
this.buttonSelectObstructionElement.BackColor = System.Drawing.SystemColors.Control;
|
|
this.buttonSelectObstructionElement.ForeColor = System.Drawing.Color.Black;
|
|
this.buttonSelectObstructionElement.Image = ((System.Drawing.Image)(resources.GetObject("buttonSelectObstructionElement.Image")));
|
|
this.buttonSelectObstructionElement.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
|
this.buttonSelectObstructionElement.Location = new System.Drawing.Point(13, 217);
|
|
this.buttonSelectObstructionElement.Name = "buttonSelectObstructionElement";
|
|
this.buttonSelectObstructionElement.Padding = new System.Windows.Forms.Padding(0, 0, 10, 0);
|
|
this.buttonSelectObstructionElement.Size = new System.Drawing.Size(250, 32);
|
|
this.buttonSelectObstructionElement.TabIndex = 20;
|
|
this.buttonSelectObstructionElement.Text = "간섭 요소 선택";
|
|
this.buttonSelectObstructionElement.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
|
this.buttonSelectObstructionElement.UseVisualStyleBackColor = false;
|
|
this.buttonSelectObstructionElement.Click += new System.EventHandler(this.buttonSelectObstructionElement_Click);
|
|
//
|
|
// numericUpDownAngle
|
|
//
|
|
this.numericUpDownAngle.Location = new System.Drawing.Point(141, 37);
|
|
this.numericUpDownAngle.Maximum = new decimal(new int[] {
|
|
90,
|
|
0,
|
|
0,
|
|
0});
|
|
this.numericUpDownAngle.Minimum = new decimal(new int[] {
|
|
15,
|
|
0,
|
|
0,
|
|
0});
|
|
this.numericUpDownAngle.Name = "numericUpDownAngle";
|
|
this.numericUpDownAngle.Size = new System.Drawing.Size(120, 21);
|
|
this.numericUpDownAngle.TabIndex = 17;
|
|
this.numericUpDownAngle.Value = new decimal(new int[] {
|
|
45,
|
|
0,
|
|
0,
|
|
0});
|
|
this.numericUpDownAngle.ValueChanged += new System.EventHandler(this.numericUpDownAngle_ValueChanged);
|
|
//
|
|
// numericUpDownFreeSpaceHeight
|
|
//
|
|
this.numericUpDownFreeSpaceHeight.Increment = new decimal(new int[] {
|
|
5,
|
|
0,
|
|
0,
|
|
0});
|
|
this.numericUpDownFreeSpaceHeight.Location = new System.Drawing.Point(141, 10);
|
|
this.numericUpDownFreeSpaceHeight.Maximum = new decimal(new int[] {
|
|
5000,
|
|
0,
|
|
0,
|
|
0});
|
|
this.numericUpDownFreeSpaceHeight.Minimum = new decimal(new int[] {
|
|
5000,
|
|
0,
|
|
0,
|
|
-2147483648});
|
|
this.numericUpDownFreeSpaceHeight.Name = "numericUpDownFreeSpaceHeight";
|
|
this.numericUpDownFreeSpaceHeight.Size = new System.Drawing.Size(120, 21);
|
|
this.numericUpDownFreeSpaceHeight.TabIndex = 18;
|
|
this.numericUpDownFreeSpaceHeight.Value = new decimal(new int[] {
|
|
50,
|
|
0,
|
|
0,
|
|
0});
|
|
this.numericUpDownFreeSpaceHeight.ValueChanged += new System.EventHandler(this.numericUpDownFreeSpaceHeight_ValueChanged);
|
|
//
|
|
// label2
|
|
//
|
|
this.label2.AutoSize = true;
|
|
this.label2.Location = new System.Drawing.Point(11, 44);
|
|
this.label2.Name = "label2";
|
|
this.label2.Size = new System.Drawing.Size(43, 12);
|
|
this.label2.TabIndex = 15;
|
|
this.label2.Text = "각도(°)";
|
|
//
|
|
// label1
|
|
//
|
|
this.label1.AutoSize = true;
|
|
this.label1.Location = new System.Drawing.Point(11, 19);
|
|
this.label1.Name = "label1";
|
|
this.label1.Size = new System.Drawing.Size(113, 12);
|
|
this.label1.TabIndex = 16;
|
|
this.label1.Text = "여유공간 높이(mm)";
|
|
//
|
|
// checkBoxLinkModel
|
|
//
|
|
this.checkBoxLinkModel.AutoSize = true;
|
|
this.checkBoxLinkModel.Location = new System.Drawing.Point(175, 195);
|
|
this.checkBoxLinkModel.Name = "checkBoxLinkModel";
|
|
this.checkBoxLinkModel.Size = new System.Drawing.Size(76, 16);
|
|
this.checkBoxLinkModel.TabIndex = 27;
|
|
this.checkBoxLinkModel.Text = "링크 모델";
|
|
this.checkBoxLinkModel.UseVisualStyleBackColor = true;
|
|
this.checkBoxLinkModel.CheckedChanged += new System.EventHandler(this.checkBoxLinkModel_CheckedChanged);
|
|
//
|
|
// FormAvoidObstruction
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(273, 300);
|
|
this.Controls.Add(this.checkBoxLinkModel);
|
|
this.Controls.Add(this.radioButtonDnUp);
|
|
this.Controls.Add(this.radioButton_Dn);
|
|
this.Controls.Add(this.radioButton_Up);
|
|
this.Controls.Add(this.radioButtonUpDn);
|
|
this.Controls.Add(this.buttonSelectAvoidElement);
|
|
this.Controls.Add(this.buttonSelectObstructionElement);
|
|
this.Controls.Add(this.numericUpDownAngle);
|
|
this.Controls.Add(this.numericUpDownFreeSpaceHeight);
|
|
this.Controls.Add(this.label2);
|
|
this.Controls.Add(this.label1);
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
|
|
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
|
this.Name = "FormAvoidObstruction";
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
|
|
this.Text = "간섭 회피";
|
|
this.TopMost = true;
|
|
this.Load += new System.EventHandler(this.FormAvoidObstruction_Load);
|
|
this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.FormAvoidObstruction_KeyDown);
|
|
((System.ComponentModel.ISupportInitialize)(this.numericUpDownAngle)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.numericUpDownFreeSpaceHeight)).EndInit();
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.RadioButton radioButtonDnUp;
|
|
private System.Windows.Forms.RadioButton radioButton_Dn;
|
|
private System.Windows.Forms.RadioButton radioButton_Up;
|
|
private System.Windows.Forms.RadioButton radioButtonUpDn;
|
|
private System.Windows.Forms.Button buttonSelectAvoidElement;
|
|
private System.Windows.Forms.Button buttonSelectObstructionElement;
|
|
private System.Windows.Forms.NumericUpDown numericUpDownAngle;
|
|
private System.Windows.Forms.NumericUpDown numericUpDownFreeSpaceHeight;
|
|
private System.Windows.Forms.Label label2;
|
|
private System.Windows.Forms.Label label1;
|
|
private System.Windows.Forms.CheckBox checkBoxLinkModel;
|
|
}
|
|
} |