mirror of
https://github.com/jeremytammik/RevitSdkSamples.git
synced 2026-09-17 01:52:14 +00:00
234 lines
12 KiB
C#
234 lines
12 KiB
C#
//
|
|
// (C) Copyright 2003-2008 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 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.RDBLink.CS
|
|
{
|
|
partial class DbEditForm
|
|
{
|
|
/// <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(DbEditForm));
|
|
this.okButton = new System.Windows.Forms.Button();
|
|
this.cancelButton = new System.Windows.Forms.Button();
|
|
this.listBox = new System.Windows.Forms.ListBox();
|
|
this.tableDataGridView = new System.Windows.Forms.DataGridView();
|
|
this.toolStrip = new System.Windows.Forms.ToolStrip();
|
|
this.cutToolStripButton = new System.Windows.Forms.ToolStripButton();
|
|
this.copyToolStripButton = new System.Windows.Forms.ToolStripButton();
|
|
this.pasteToolStripButton = new System.Windows.Forms.ToolStripButton();
|
|
this.newRecordToolStripButton = new System.Windows.Forms.ToolStripButton();
|
|
this.deleteToolStripButton = new System.Windows.Forms.ToolStripButton();
|
|
this.splitContainer = new System.Windows.Forms.SplitContainer();
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
this.menuStrip1 = new System.Windows.Forms.MenuStrip();
|
|
this.parametersToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
((System.ComponentModel.ISupportInitialize)(this.tableDataGridView)).BeginInit();
|
|
this.toolStrip.SuspendLayout();
|
|
this.splitContainer.Panel1.SuspendLayout();
|
|
this.splitContainer.Panel2.SuspendLayout();
|
|
this.splitContainer.SuspendLayout();
|
|
this.menuStrip1.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
// okButton
|
|
//
|
|
resources.ApplyResources(this.okButton, "okButton");
|
|
this.okButton.DialogResult = System.Windows.Forms.DialogResult.OK;
|
|
this.okButton.Name = "okButton";
|
|
this.okButton.UseVisualStyleBackColor = true;
|
|
this.okButton.Click += new System.EventHandler(this.okButton_Click);
|
|
//
|
|
// cancelButton
|
|
//
|
|
resources.ApplyResources(this.cancelButton, "cancelButton");
|
|
this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
|
this.cancelButton.Name = "cancelButton";
|
|
this.cancelButton.UseVisualStyleBackColor = true;
|
|
this.cancelButton.Click += new System.EventHandler(this.cancelButton_Click);
|
|
//
|
|
// listBox
|
|
//
|
|
resources.ApplyResources(this.listBox, "listBox");
|
|
this.listBox.Name = "listBox";
|
|
this.listBox.SelectedIndexChanged += new System.EventHandler(this.listBox_SelectedIndexChanged);
|
|
//
|
|
// tableDataGridView
|
|
//
|
|
this.tableDataGridView.AllowUserToDeleteRows = false;
|
|
resources.ApplyResources(this.tableDataGridView, "tableDataGridView");
|
|
this.tableDataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
this.tableDataGridView.Name = "tableDataGridView";
|
|
this.tableDataGridView.UserAddedRow += new System.Windows.Forms.DataGridViewRowEventHandler(this.tableDataGridView_UserAddedRow);
|
|
this.tableDataGridView.RowsAdded += new System.Windows.Forms.DataGridViewRowsAddedEventHandler(this.tableDataGridView_RowsAdded);
|
|
this.tableDataGridView.DataError += new System.Windows.Forms.DataGridViewDataErrorEventHandler(this.tableDataGridView_DataError);
|
|
this.tableDataGridView.NewRowNeeded += new System.Windows.Forms.DataGridViewRowEventHandler(this.tableDataGridView_NewRowNeeded);
|
|
this.tableDataGridView.SelectionChanged += new System.EventHandler(this.tableDataGridView_SelectionChanged);
|
|
//
|
|
// toolStrip
|
|
//
|
|
this.toolStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
this.cutToolStripButton,
|
|
this.copyToolStripButton,
|
|
this.pasteToolStripButton,
|
|
this.newRecordToolStripButton,
|
|
this.deleteToolStripButton});
|
|
resources.ApplyResources(this.toolStrip, "toolStrip");
|
|
this.toolStrip.Name = "toolStrip";
|
|
//
|
|
// cutToolStripButton
|
|
//
|
|
resources.ApplyResources(this.cutToolStripButton, "cutToolStripButton");
|
|
this.cutToolStripButton.Name = "cutToolStripButton";
|
|
this.cutToolStripButton.Click += new System.EventHandler(this.cutToolStripButton_Click);
|
|
//
|
|
// copyToolStripButton
|
|
//
|
|
resources.ApplyResources(this.copyToolStripButton, "copyToolStripButton");
|
|
this.copyToolStripButton.Name = "copyToolStripButton";
|
|
this.copyToolStripButton.Click += new System.EventHandler(this.copyToolStripButton_Click);
|
|
//
|
|
// pasteToolStripButton
|
|
//
|
|
resources.ApplyResources(this.pasteToolStripButton, "pasteToolStripButton");
|
|
this.pasteToolStripButton.Name = "pasteToolStripButton";
|
|
this.pasteToolStripButton.Click += new System.EventHandler(this.pasteToolStripButton_Click);
|
|
//
|
|
// newRecordToolStripButton
|
|
//
|
|
resources.ApplyResources(this.newRecordToolStripButton, "newRecordToolStripButton");
|
|
this.newRecordToolStripButton.Name = "newRecordToolStripButton";
|
|
this.newRecordToolStripButton.Click += new System.EventHandler(this.newRecordToolStripButton_Click);
|
|
//
|
|
// deleteToolStripButton
|
|
//
|
|
resources.ApplyResources(this.deleteToolStripButton, "deleteToolStripButton");
|
|
this.deleteToolStripButton.Name = "deleteToolStripButton";
|
|
this.deleteToolStripButton.Click += new System.EventHandler(this.deleteToolStripButton_Click);
|
|
//
|
|
// splitContainer
|
|
//
|
|
resources.ApplyResources(this.splitContainer, "splitContainer");
|
|
this.splitContainer.Name = "splitContainer";
|
|
//
|
|
// splitContainer.Panel1
|
|
//
|
|
this.splitContainer.Panel1.Controls.Add(this.label1);
|
|
this.splitContainer.Panel1.Controls.Add(this.listBox);
|
|
//
|
|
// splitContainer.Panel2
|
|
//
|
|
this.splitContainer.Panel2.Controls.Add(this.toolStrip);
|
|
this.splitContainer.Panel2.Controls.Add(this.tableDataGridView);
|
|
//
|
|
// label1
|
|
//
|
|
resources.ApplyResources(this.label1, "label1");
|
|
this.label1.Name = "label1";
|
|
//
|
|
// menuStrip1
|
|
//
|
|
this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
this.parametersToolStripMenuItem});
|
|
resources.ApplyResources(this.menuStrip1, "menuStrip1");
|
|
this.menuStrip1.Name = "menuStrip1";
|
|
//
|
|
// parametersToolStripMenuItem
|
|
//
|
|
this.parametersToolStripMenuItem.Name = "parametersToolStripMenuItem";
|
|
resources.ApplyResources(this.parametersToolStripMenuItem, "parametersToolStripMenuItem");
|
|
this.parametersToolStripMenuItem.Click += new System.EventHandler(this.parametersToolStripMenuItem_Click);
|
|
//
|
|
// DbEditForm
|
|
//
|
|
resources.ApplyResources(this, "$this");
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.CancelButton = this.cancelButton;
|
|
this.Controls.Add(this.splitContainer);
|
|
this.Controls.Add(this.cancelButton);
|
|
this.Controls.Add(this.okButton);
|
|
this.Controls.Add(this.menuStrip1);
|
|
this.DoubleBuffered = true;
|
|
this.KeyPreview = true;
|
|
this.MainMenuStrip = this.menuStrip1;
|
|
this.Name = "DbEditForm";
|
|
this.ShowIcon = false;
|
|
this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.DbEditForm_FormClosed);
|
|
this.Load += new System.EventHandler(this.DbEditForm_Load);
|
|
((System.ComponentModel.ISupportInitialize)(this.tableDataGridView)).EndInit();
|
|
this.toolStrip.ResumeLayout(false);
|
|
this.toolStrip.PerformLayout();
|
|
this.splitContainer.Panel1.ResumeLayout(false);
|
|
this.splitContainer.Panel1.PerformLayout();
|
|
this.splitContainer.Panel2.ResumeLayout(false);
|
|
this.splitContainer.Panel2.PerformLayout();
|
|
this.splitContainer.ResumeLayout(false);
|
|
this.menuStrip1.ResumeLayout(false);
|
|
this.menuStrip1.PerformLayout();
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.Button okButton;
|
|
private System.Windows.Forms.Button cancelButton;
|
|
private System.Windows.Forms.ListBox listBox;
|
|
private System.Windows.Forms.DataGridView tableDataGridView;
|
|
private System.Windows.Forms.ToolStrip toolStrip;
|
|
private System.Windows.Forms.ToolStripButton cutToolStripButton;
|
|
private System.Windows.Forms.ToolStripButton copyToolStripButton;
|
|
private System.Windows.Forms.ToolStripButton pasteToolStripButton;
|
|
private System.Windows.Forms.ToolStripButton newRecordToolStripButton;
|
|
private System.Windows.Forms.ToolStripButton deleteToolStripButton;
|
|
private System.Windows.Forms.SplitContainer splitContainer;
|
|
private System.Windows.Forms.MenuStrip menuStrip1;
|
|
private System.Windows.Forms.ToolStripMenuItem parametersToolStripMenuItem;
|
|
private System.Windows.Forms.Label label1;
|
|
}
|
|
}
|