0% found this document useful (0 votes)
99 views4 pages

MainForm Designer

This document contains code for a Windows form that embeds an AutoCAD control. It includes components for loading a drawing file, posting commands, and text boxes to specify the drawing path and command string. The form contains two group boxes - one for loading drawings and one for posting commands to the embedded AutoCAD control. It implements event handlers for the load, post, and browse buttons.

Uploaded by

Leivas Felix
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
99 views4 pages

MainForm Designer

This document contains code for a Windows form that embeds an AutoCAD control. It includes components for loading a drawing file, posting commands, and text boxes to specify the drawing path and command string. The form contains two group boxes - one for loading drawings and one for posting commands to the embedded AutoCAD control. It implements event handlers for the load, post, and browse buttons.

Uploaded by

Leivas Felix
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 4

namespace EmbedAutoCAD

{
partial class MainForm
{
/// <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(MainForm));
this.axAcCtrl1 = new AxACCTRLLib.AxAcCtrl();
this.loadButton = new System.Windows.Forms.Button();
this.postButton = new System.Windows.Forms.Button();
this.groupBox1 = new System.Windows.Forms.GroupBox();
this.browseButton = new System.Windows.Forms.Button();
this.drawingPath = new System.Windows.Forms.TextBox();
this.groupBox2 = new System.Windows.Forms.GroupBox();
this.cmdString = new System.Windows.Forms.TextBox();
((System.ComponentModel.ISupportInitialize)(this.axAcCtrl1)).BeginInit();
this.groupBox1.SuspendLayout();
this.groupBox2.SuspendLayout();
this.SuspendLayout();
//
// axAcCtrl1
//
this.axAcCtrl1.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.axAcCtrl1.Enabled = true;
this.axAcCtrl1.Location = new System.Drawing.Point(12, 12);
this.axAcCtrl1.Name = "axAcCtrl1";
this.axAcCtrl1.OcxState = ((System.Windows.Forms.AxHost.State)
(resources.GetObject("axAcCtrl1.OcxState")));
this.axAcCtrl1.Size = new System.Drawing.Size(428, 251);
this.axAcCtrl1.TabIndex = 0;
//
// loadButton
//
this.loadButton.Anchor = ((System.Windows.Forms.AnchorStyles)
(((System.Windows.Forms.AnchorStyles.Top |
System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Right)));
this.loadButton.Location = new System.Drawing.Point(348, 16);
this.loadButton.Name = "loadButton";
this.loadButton.Size = new System.Drawing.Size(69, 25);
this.loadButton.TabIndex = 1;
this.loadButton.Text = "Load";
this.loadButton.UseVisualStyleBackColor = true;
this.loadButton.Click += new System.EventHandler(this.loadButton_Click);
//
// postButton
//
this.postButton.Anchor = ((System.Windows.Forms.AnchorStyles)
(((System.Windows.Forms.AnchorStyles.Top |
System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Right)));
this.postButton.Location = new System.Drawing.Point(348, 13);
this.postButton.Name = "postButton";
this.postButton.Size = new System.Drawing.Size(69, 26);
this.postButton.TabIndex = 2;
this.postButton.Text = "Post";
this.postButton.UseVisualStyleBackColor = true;
this.postButton.Click += new System.EventHandler(this.postButton_Click);
//
// groupBox1
//
this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)
(((System.Windows.Forms.AnchorStyles.Bottom |
System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.groupBox1.Controls.Add(this.browseButton);
this.groupBox1.Controls.Add(this.drawingPath);
this.groupBox1.Controls.Add(this.loadButton);
this.groupBox1.Location = new System.Drawing.Point(17, 269);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(423, 47);
this.groupBox1.TabIndex = 3;
this.groupBox1.TabStop = false;
this.groupBox1.Text = "Load a drawing";
//
// browseButton
//
this.browseButton.Anchor = ((System.Windows.Forms.AnchorStyles)
(((System.Windows.Forms.AnchorStyles.Top |
System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Right)));
this.browseButton.Location = new System.Drawing.Point(309, 16);
this.browseButton.Name = "browseButton";
this.browseButton.Size = new System.Drawing.Size(33, 25);
this.browseButton.TabIndex = 3;
this.browseButton.Text = "...";
this.browseButton.UseVisualStyleBackColor = true;
this.browseButton.Click += new System.EventHandler(this.browseButton_Click);
//
// drawingPath
//
this.drawingPath.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.drawingPath.Location = new System.Drawing.Point(8, 19);
this.drawingPath.Name = "drawingPath";
this.drawingPath.Size = new System.Drawing.Size(295, 20);
this.drawingPath.TabIndex = 2;
//
// groupBox2
//
this.groupBox2.Anchor = ((System.Windows.Forms.AnchorStyles)
(((System.Windows.Forms.AnchorStyles.Bottom |
System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.groupBox2.Controls.Add(this.cmdString);
this.groupBox2.Controls.Add(this.postButton);
this.groupBox2.Location = new System.Drawing.Point(17, 322);
this.groupBox2.Name = "groupBox2";
this.groupBox2.Size = new System.Drawing.Size(423, 45);
this.groupBox2.TabIndex = 4;
this.groupBox2.TabStop = false;
this.groupBox2.Text = "Post a command";
//
// cmdString
//
this.cmdString.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.cmdString.Location = new System.Drawing.Point(6, 17);
this.cmdString.Name = "cmdString";
this.cmdString.Size = new System.Drawing.Size(336, 20);
this.cmdString.TabIndex = 3;
//
// MainForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(452, 382);
this.Controls.Add(this.groupBox2);
this.Controls.Add(this.groupBox1);
this.Controls.Add(this.axAcCtrl1);
this.Name = "MainForm";
this.Text = "Embed AutoCAD";
((System.ComponentModel.ISupportInitialize)(this.axAcCtrl1)).EndInit();
this.groupBox1.ResumeLayout(false);
this.groupBox1.PerformLayout();
this.groupBox2.ResumeLayout(false);
this.groupBox2.PerformLayout();
this.ResumeLayout(false);

}
#endregion

private AxACCTRLLib.AxAcCtrl axAcCtrl1;


private System.Windows.Forms.Button loadButton;
private System.Windows.Forms.Button postButton;
private System.Windows.Forms.GroupBox groupBox1;
private System.Windows.Forms.GroupBox groupBox2;
private System.Windows.Forms.Button browseButton;
private System.Windows.Forms.TextBox drawingPath;
private System.Windows.Forms.TextBox cmdString;
}
}

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy