mirror of
https://github.com/jeremytammik/RevitSdkSamples.git
synced 2026-08-09 14:41:37 +00:00
127 lines
5.9 KiB
C#
127 lines
5.9 KiB
C#
namespace Revit.SDK.Samples.PlacementOptions.CS
|
|
{
|
|
partial class OptionsForm
|
|
{
|
|
/// <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()
|
|
{
|
|
this.buttonOK = new System.Windows.Forms.Button();
|
|
this.buttonCancel = new System.Windows.Forms.Button();
|
|
this.radioButton1 = new System.Windows.Forms.RadioButton();
|
|
this.radioButton2 = new System.Windows.Forms.RadioButton();
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
this.SuspendLayout();
|
|
//
|
|
// buttonOK
|
|
//
|
|
this.buttonOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
|
this.buttonOK.DialogResult = System.Windows.Forms.DialogResult.OK;
|
|
this.buttonOK.Location = new System.Drawing.Point(230, 145);
|
|
this.buttonOK.Name = "buttonOK";
|
|
this.buttonOK.Size = new System.Drawing.Size(75, 23);
|
|
this.buttonOK.TabIndex = 0;
|
|
this.buttonOK.Text = "&OK";
|
|
this.buttonOK.UseVisualStyleBackColor = true;
|
|
//
|
|
// buttonCancel
|
|
//
|
|
this.buttonCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
|
this.buttonCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
|
this.buttonCancel.Location = new System.Drawing.Point(311, 145);
|
|
this.buttonCancel.Name = "buttonCancel";
|
|
this.buttonCancel.Size = new System.Drawing.Size(75, 23);
|
|
this.buttonCancel.TabIndex = 1;
|
|
this.buttonCancel.Text = "&Cancel";
|
|
this.buttonCancel.UseVisualStyleBackColor = true;
|
|
//
|
|
// radioButton1
|
|
//
|
|
this.radioButton1.AutoSize = true;
|
|
this.radioButton1.Location = new System.Drawing.Point(15, 51);
|
|
this.radioButton1.Name = "radioButton1";
|
|
this.radioButton1.Size = new System.Drawing.Size(351, 17);
|
|
this.radioButton1.TabIndex = 2;
|
|
this.radioButton1.TabStop = true;
|
|
this.radioButton1.Text = "FaceBasedPlacementType for face based family instance placement.";
|
|
this.radioButton1.UseVisualStyleBackColor = true;
|
|
this.radioButton1.CheckedChanged += new System.EventHandler(this.radioButton1_CheckedChanged);
|
|
//
|
|
// radioButton2
|
|
//
|
|
this.radioButton2.AutoSize = true;
|
|
this.radioButton2.Location = new System.Drawing.Point(15, 86);
|
|
this.radioButton2.Name = "radioButton2";
|
|
this.radioButton2.Size = new System.Drawing.Size(304, 17);
|
|
this.radioButton2.TabIndex = 3;
|
|
this.radioButton2.TabStop = true;
|
|
this.radioButton2.Text = "SketchGalleryOptions for sketch family instance placement.";
|
|
this.radioButton2.UseVisualStyleBackColor = true;
|
|
this.radioButton2.CheckedChanged += new System.EventHandler(this.radioButton2_CheckedChanged);
|
|
//
|
|
// label1
|
|
//
|
|
this.label1.AutoSize = true;
|
|
this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.label1.Location = new System.Drawing.Point(12, 9);
|
|
this.label1.Name = "label1";
|
|
this.label1.Size = new System.Drawing.Size(296, 15);
|
|
this.label1.TabIndex = 4;
|
|
this.label1.Text = "Please select the options to place the family instance:";
|
|
//
|
|
// OptionsForm
|
|
//
|
|
this.AcceptButton = this.buttonOK;
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.CancelButton = this.buttonCancel;
|
|
this.ClientSize = new System.Drawing.Size(398, 180);
|
|
this.Controls.Add(this.label1);
|
|
this.Controls.Add(this.radioButton2);
|
|
this.Controls.Add(this.radioButton1);
|
|
this.Controls.Add(this.buttonCancel);
|
|
this.Controls.Add(this.buttonOK);
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
|
|
this.MaximizeBox = false;
|
|
this.MinimizeBox = false;
|
|
this.Name = "OptionsForm";
|
|
this.ShowIcon = false;
|
|
this.ShowInTaskbar = false;
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
|
|
this.Text = "Select facebased or sketchbase options";
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.Button buttonOK;
|
|
private System.Windows.Forms.Button buttonCancel;
|
|
private System.Windows.Forms.RadioButton radioButton1;
|
|
private System.Windows.Forms.RadioButton radioButton2;
|
|
private System.Windows.Forms.Label label1;
|
|
}
|
|
} |