本文整理汇总了C#中System.Windows.Forms.TreeView类的典型用法代码示例。如果您正苦于以下问题:C# System.Windows.Forms.TreeView类的具体用法?C# System.Windows.Forms.TreeView怎么用?C# System.Windows.Forms.TreeView使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
System.Windows.Forms.TreeView类属于命名空间,在下文中一共展示了System.Windows.Forms.TreeView类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: InitializeComponent
/// <summary>
/// 设计器支持所需的方法 - 不要
/// 使用代码编辑器修改此方法的内容。
/// </summary>
private void InitializeComponent()
{
this.treeView1 = new System.Windows.Forms.TreeView();
this.SuspendLayout();
//
// treeView1
//
this.treeView1.CheckBoxes = true;
this.treeView1.Dock = System.Windows.Forms.DockStyle.Fill;
this.treeView1.ItemHeight = 16;
this.treeView1.Location = new System.Drawing.Point(0, 0);
this.treeView1.Name = "treeView1";
this.treeView1.Size = new System.Drawing.Size(235, 382);
this.treeView1.TabIndex = 0;
this.treeView1.AfterCheck += new System.Windows.Forms.TreeViewEventHandler(this.treeView1_AfterCheck);
//
// TreeViewForRoles
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.Controls.Add(this.treeView1);
this.Name = "TreeViewForRoles";
this.Size = new System.Drawing.Size(235, 382);
this.ResumeLayout(false);
}
示例2: IpcEventTreeModelAdapter
/// <summary>
/// Instantiates a new IpcEventTreeModelAdapter.
/// </summary>
/// <param name="formWindow"></param>
/// <param name="formTreeView"></param>
public IpcEventTreeModelAdapter(Forms.IpcTreeWebWindow formWindow, Forms.IpcEventMonitorMdiWindow mdiWindow, System.Windows.Forms.TreeView formTreeView)
{
_webURL = "file:///{0}/Html/IpcEventMonitorPane.html";
_formWindow = formWindow;
_mdiWindow = mdiWindow;
_formTreeView = formTreeView;
_webBrowser = _formWindow.WebBrowser1;
//create utility bus
_utilsBus = new Niawa.Utilities.UtilsServiceBus();
//set up ipc logging for this class (to log events that occur in the tree model)
_evtWriter = new Niawa.MsEventIpcEventAdapter.MsEventIpcEventWriter(_utilsBus);
_evtWriter.Start();
_evtWriter.AddIpcEventWriter(Niawa.IpcController.IpcFactory.CreateIpcEventWriter("IpcEventMonitor", true, "TreeModel", _utilsBus), "TreeModel");
//instantiate view
_view = new TreeModel.TreeModelViewImpl(_formWindow, _formTreeView);
//instantiate node view factory
_nodeViewFactory = new TreeModel.TreeModelNodeViewFactoryImpl(_webBrowser, _webURL);
//instantiate tree model controller
_treeModelController = new TreeModelNodeControls.TreeModelController(_view, _nodeViewFactory, _evtWriter.EvtConsumer, "IpcEventMonitor", string.Empty);
}
示例3: JTreeStringTemplatePanel
//UPGRADE_TODO: Interface 'javax.swing.tree.TreeModel' was converted to 'System.Windows.Forms.TreeNode' which has a different behavior. 'ms-help://MS.VSCC.2003/commoner/redir/redirect.htm?keyword="jlca1073_3"'
//UPGRADE_TODO: Interface 'javax.swing.event.TreeSelectionListener' was not converted. 'ms-help://MS.VSCC.2003/commoner/redir/redirect.htm?keyword="jlca1095_3"'
public JTreeStringTemplatePanel(System.Windows.Forms.TreeNode tm, TreeSelectionListener listener)
{
// use a layout that will stretch tree to panel size
//UPGRADE_ISSUE: Method 'java.awt.Container.setLayout' was not converted. 'ms-help://MS.VSCC.2003/commoner/redir/redirect.htm?keyword="jlca1000_javaawtContainersetLayout_javaawtLayoutManager_3"'
//UPGRADE_ISSUE: Constructor 'java.awt.BorderLayout.BorderLayout' was not converted. 'ms-help://MS.VSCC.2003/commoner/redir/redirect.htm?keyword="jlca1000_javaawtBorderLayout_3"'
/*
setLayout(new BorderLayout());*/
// Create tree
tree = SupportClass.TreeSupport.CreateTreeView(tm);
// Change line style
//UPGRADE_ISSUE: Method 'javax.swing.JComponent.putClientProperty' was not converted. 'ms-help://MS.VSCC.2003/commoner/redir/redirect.htm?keyword="jlca1000_javaxswingJComponentputClientProperty_javalangObject_javalangObject_3"'
tree.putClientProperty("JTree.lineStyle", "Angled");
// Add TreeSelectionListener
if (listener != null)
tree.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(listener.valueChanged);
// Put tree in a scrollable pane's viewport
//UPGRADE_TODO: Class 'javax.swing.JScrollPane' was converted to 'System.Windows.Forms.ScrollableControl' which has a different behavior. 'ms-help://MS.VSCC.2003/commoner/redir/redirect.htm?keyword="jlca1073_3"'
//UPGRADE_TODO: Constructor 'javax.swing.JScrollPane.JScrollPane' was converted to 'System.Windows.Forms.ScrollableControl.ScrollableControl' which has a different behavior. 'ms-help://MS.VSCC.2003/commoner/redir/redirect.htm?keyword="jlca1073_javaxswingJScrollPaneJScrollPane_3"'
System.Windows.Forms.ScrollableControl temp_scrollablecontrol;
temp_scrollablecontrol = new System.Windows.Forms.ScrollableControl();
temp_scrollablecontrol.AutoScroll = true;
System.Windows.Forms.ScrollableControl sp = temp_scrollablecontrol;
//UPGRADE_ISSUE: Method 'javax.swing.JScrollPane.getViewport' was not converted. 'ms-help://MS.VSCC.2003/commoner/redir/redirect.htm?keyword="jlca1000_javaxswingJScrollPanegetViewport_3"'
//UPGRADE_TODO: Method 'java.awt.Container.add' was converted to 'System.Windows.Forms.ContainerControl.Controls.Add' which has a different behavior. 'ms-help://MS.VSCC.2003/commoner/redir/redirect.htm?keyword="jlca1073_javaawtContaineradd_javaawtComponent_3"'
sp.getViewport().Controls.Add(tree);
//UPGRADE_TODO: Method 'java.awt.Container.add' was converted to 'System.Windows.Forms.ContainerControl.Controls.Add' which has a different behavior. 'ms-help://MS.VSCC.2003/commoner/redir/redirect.htm?keyword="jlca1073_javaawtContaineradd_javaawtComponent_javalangObject_3"'
Controls.Add(sp);
sp.Dock = System.Windows.Forms.DockStyle.Fill;
sp.BringToFront();
}
示例4: InitializeComponent
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.treeView = new System.Windows.Forms.TreeView();
this.SuspendLayout();
//
// treeView
//
this.treeView.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.treeView.Location = new System.Drawing.Point(0, 0);
this.treeView.Margin = new System.Windows.Forms.Padding(0);
this.treeView.Name = "treeView";
this.treeView.Size = new System.Drawing.Size(219, 160);
this.treeView.TabIndex = 4;
//
// AssembliesView
//
this.ClientSize = new System.Drawing.Size(219, 162);
this.CloseButton = false;
this.CloseButtonVisible = false;
this.Controls.Add(this.treeView);
this.HideOnClose = true;
this.MaximizeBox = false;
this.MinimizeBox = false;
this.MinimumSize = new System.Drawing.Size(100, 100);
this.Name = "AssembliesView";
this.Padding = new System.Windows.Forms.Padding(0, 2, 0, 2);
this.ShowHint = WeifenLuo.WinFormsUI.Docking.DockState.DockLeft;
this.TabText = "Assemblies";
this.Text = "Assemblies";
this.ResumeLayout(false);
}
示例5: InitializeComponent
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.groupBox1 = new System.Windows.Forms.GroupBox();
this.treeViewClassficationList = new System.Windows.Forms.TreeView();
this.btnOutput = new System.Windows.Forms.Button();
this.btnCancel = new System.Windows.Forms.Button();
this.groupBox1.SuspendLayout();
this.SuspendLayout();
//
// groupBox1
//
this.groupBox1.Controls.Add(this.treeViewClassficationList);
this.groupBox1.Location = new System.Drawing.Point(5, 3);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(277, 264);
this.groupBox1.TabIndex = 0;
this.groupBox1.TabStop = false;
this.groupBox1.Text = "重量分类列表";
//
// treeViewClassficationList
//
this.treeViewClassficationList.Location = new System.Drawing.Point(7, 16);
this.treeViewClassficationList.Name = "treeViewClassficationList";
this.treeViewClassficationList.Size = new System.Drawing.Size(264, 242);
this.treeViewClassficationList.TabIndex = 0;
//
// btnOutput
//
this.btnOutput.Location = new System.Drawing.Point(120, 273);
this.btnOutput.Name = "btnOutput";
this.btnOutput.Size = new System.Drawing.Size(75, 23);
this.btnOutput.TabIndex = 1;
this.btnOutput.Text = "导出";
this.btnOutput.UseVisualStyleBackColor = true;
//
// btnCancel
//
this.btnCancel.Location = new System.Drawing.Point(201, 273);
this.btnCancel.Name = "btnCancel";
this.btnCancel.Size = new System.Drawing.Size(75, 23);
this.btnCancel.TabIndex = 2;
this.btnCancel.Text = "取消";
this.btnCancel.UseVisualStyleBackColor = true;
//
// OutputWeightClassficationFrm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(288, 302);
this.Controls.Add(this.btnCancel);
this.Controls.Add(this.btnOutput);
this.Controls.Add(this.groupBox1);
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "OutputWeightClassficationFrm";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "重量分类选择对话框";
this.groupBox1.ResumeLayout(false);
this.ResumeLayout(false);
}
示例6: TreeModelViewImpl
/// <summary>
/// Instantiates a TreeModelViewImpl.
/// This contains the implementation of the Tree Model View.
/// The Tree Model View is the graphical user interface for the tree model and its nodes.
/// </summary>
/// <param name="formWindow"></param>
/// <param name="formTreeView"></param>
public TreeModelViewImpl(Forms.IpcTreeWebWindow formWindow, System.Windows.Forms.TreeView formTreeView)
{
_formTreeNodes = new SortedList<string, FormTreeNodeContainer>();
_formWindow = formWindow;
_treeView = formTreeView;
}
示例7: InitializeComponent
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SolutionPickerControl));
this.treeIcons = new System.Windows.Forms.ImageList(this.components);
this.solutionTree = new System.Windows.Forms.TreeView();
this.SuspendLayout();
//
// treeIcons
//
this.treeIcons.ColorDepth = System.Windows.Forms.ColorDepth.Depth24Bit;
resources.ApplyResources(this.treeIcons, "treeIcons");
this.treeIcons.TransparentColor = System.Drawing.Color.Magenta;
//
// solutionTree
//
resources.ApplyResources(this.solutionTree, "solutionTree");
this.solutionTree.ImageList = this.treeIcons;
this.solutionTree.Name = "solutionTree";
this.solutionTree.Sorted = true;
this.solutionTree.BeforeExpand += new System.Windows.Forms.TreeViewCancelEventHandler(this.OnBeforeExpand);
this.solutionTree.DoubleClick += new System.EventHandler(this.OnSelect);
//
// SolutionPickerControl
//
resources.ApplyResources(this, "$this");
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.Controls.Add(this.solutionTree);
this.Name = "SolutionPickerControl";
this.ResumeLayout(false);
}
示例8: InitializeComponent
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.treeView1 = new System.Windows.Forms.TreeView();
this.SuspendLayout();
//
// treeView1
//
this.treeView1.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.treeView1.Location = new System.Drawing.Point(0, 0);
this.treeView1.Name = "treeView1";
this.treeView1.Size = new System.Drawing.Size(221, 160);
this.treeView1.TabIndex = 1;
this.treeView1.MouseClick += new System.Windows.Forms.MouseEventHandler(this.treeView1_MouseClick);
//
// CallStackView
//
this.ClientSize = new System.Drawing.Size(224, 161);
this.CloseButton = false;
this.CloseButtonVisible = false;
this.Controls.Add(this.treeView1);
this.HideOnClose = true;
this.MaximizeBox = false;
this.MinimizeBox = false;
this.MinimumSize = new System.Drawing.Size(10, 10);
this.Name = "CallStackView";
this.Padding = new System.Windows.Forms.Padding(0, 2, 0, 2);
this.ShowHint = WeifenLuo.WinFormsUI.Docking.DockState.DockLeft;
this.TabText = "Call Stack";
this.Text = "Call Stack";
this.ResumeLayout(false);
}
示例9: InitializeComponent
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(PickEntryStep));
this.treeView = new System.Windows.Forms.TreeView();
this.treeImages = new System.Windows.Forms.ImageList(this.components);
this.SuspendLayout();
//
// treeView
//
resources.ApplyResources(this.treeView, "treeView");
this.treeView.FullRowSelect = true;
this.treeView.HideSelection = false;
this.treeView.ImageList = this.treeImages;
this.treeView.Name = "treeView";
this.treeView.DoubleClick += new System.EventHandler(this.TreeView_DoubleClick);
//
// treeImages
//
this.treeImages.ColorDepth = System.Windows.Forms.ColorDepth.Depth32Bit;
resources.ApplyResources(this.treeImages, "treeImages");
this.treeImages.TransparentColor = System.Drawing.Color.Transparent;
//
// PickEntryStep
//
resources.ApplyResources(this, "$this");
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.Color.Transparent;
this.Controls.Add(this.treeView);
this.Name = "PickEntryStep";
this.Tag = "Double click on the file in the directory tree below to be the entry point for yo" +
"ur application. This should be an executable.";
this.ResumeLayout(false);
}
示例10: InitializeComponent
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
this.listBox1 = new System.Windows.Forms.ListBox();
this.tv = new System.Windows.Forms.TreeView();
this.splitContainer1.Panel1.SuspendLayout();
this.splitContainer1.Panel2.SuspendLayout();
this.splitContainer1.SuspendLayout();
this.SuspendLayout();
//
// splitContainer1
//
this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
this.splitContainer1.Location = new System.Drawing.Point( 0, 0 );
this.splitContainer1.Name = "splitContainer1";
//
// splitContainer1.Panel1
//
this.splitContainer1.Panel1.Controls.Add( this.listBox1 );
//
// splitContainer1.Panel2
//
this.splitContainer1.Panel2.Controls.Add( this.tv );
this.splitContainer1.Size = new System.Drawing.Size( 459, 556 );
this.splitContainer1.SplitterDistance = 153;
this.splitContainer1.TabIndex = 0;
//
// listBox1
//
this.listBox1.Dock = System.Windows.Forms.DockStyle.Fill;
this.listBox1.FormattingEnabled = true;
this.listBox1.Location = new System.Drawing.Point( 0, 0 );
this.listBox1.Name = "listBox1";
this.listBox1.Size = new System.Drawing.Size( 153, 550 );
this.listBox1.Sorted = true;
this.listBox1.TabIndex = 0;
this.listBox1.SelectedIndexChanged += new System.EventHandler( this.listBox1_SelectedIndexChanged );
//
// tv
//
this.tv.Dock = System.Windows.Forms.DockStyle.Fill;
this.tv.Location = new System.Drawing.Point( 0, 0 );
this.tv.Name = "tv";
this.tv.Size = new System.Drawing.Size( 302, 556 );
this.tv.TabIndex = 0;
//
// CmdInspectElectricalForm2
//
this.AutoScaleDimensions = new System.Drawing.SizeF( 6F, 13F );
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size( 459, 556 );
this.Controls.Add( this.splitContainer1 );
this.Name = "CmdInspectElectricalForm2";
this.Text = "Electrical System Inspector";
this.splitContainer1.Panel1.ResumeLayout( false );
this.splitContainer1.Panel2.ResumeLayout( false );
this.splitContainer1.ResumeLayout( false );
this.ResumeLayout( false );
}
示例11: InitializeComponent
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
this.treeView1 = new System.Windows.Forms.TreeView();
this.panel = new System.Windows.Forms.Panel();
this.splitContainer1.Panel1.SuspendLayout();
this.splitContainer1.Panel2.SuspendLayout();
this.splitContainer1.SuspendLayout();
this.SuspendLayout();
//
// splitContainer1
//
this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
this.splitContainer1.Location = new System.Drawing.Point(0, 0);
this.splitContainer1.Name = "splitContainer1";
//
// splitContainer1.Panel1
//
this.splitContainer1.Panel1.Controls.Add(this.treeView1);
//
// splitContainer1.Panel2
//
this.splitContainer1.Panel2.Controls.Add(this.panel);
this.splitContainer1.Size = new System.Drawing.Size(635, 342);
this.splitContainer1.SplitterDistance = 211;
this.splitContainer1.TabIndex = 0;
//
// treeView1
//
this.treeView1.Dock = System.Windows.Forms.DockStyle.Fill;
this.treeView1.Location = new System.Drawing.Point(0, 0);
this.treeView1.Name = "treeView1";
this.treeView1.Size = new System.Drawing.Size(211, 342);
this.treeView1.TabIndex = 0;
this.treeView1.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.treeView1_AfterSelect);
//
// panel
//
this.panel.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel.Location = new System.Drawing.Point(0, 0);
this.panel.Name = "panel";
this.panel.Size = new System.Drawing.Size(420, 342);
this.panel.TabIndex = 0;
//
// FormOptionPage
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(635, 342);
this.Controls.Add(this.splitContainer1);
this.Name = "FormOptionPage";
this.Text = "FormOptionPage";
this.Load += new System.EventHandler(this.FormOptionPage_Load);
this.splitContainer1.Panel1.ResumeLayout(false);
this.splitContainer1.Panel2.ResumeLayout(false);
this.splitContainer1.ResumeLayout(false);
this.ResumeLayout(false);
}
示例12: InitializeComponent
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.tree = new System.Windows.Forms.TreeView();
this.btnEnd = new System.Windows.Forms.Button();
this.btnClose = new System.Windows.Forms.Button();
this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog();
this.SuspendLayout();
//
// tree
//
this.tree.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.tree.CheckBoxes = true;
this.tree.Location = new System.Drawing.Point(12, 12);
this.tree.Name = "tree";
this.tree.Size = new System.Drawing.Size(424, 367);
this.tree.TabIndex = 0;
//
// btnEnd
//
this.btnEnd.Location = new System.Drawing.Point(446, 307);
this.btnEnd.Name = "btnEnd";
this.btnEnd.Size = new System.Drawing.Size(75, 23);
this.btnEnd.TabIndex = 1;
this.btnEnd.Text = "Готово";
this.btnEnd.UseVisualStyleBackColor = true;
this.btnEnd.Click += new System.EventHandler(this.button1_Click);
//
// btnClose
//
this.btnClose.Location = new System.Drawing.Point(446, 352);
this.btnClose.Name = "btnClose";
this.btnClose.Size = new System.Drawing.Size(75, 23);
this.btnClose.TabIndex = 2;
this.btnClose.Text = "Отмена";
this.btnClose.UseVisualStyleBackColor = true;
this.btnClose.Click += new System.EventHandler(this.btnClose_Click);
//
// openFileDialog1
//
this.openFileDialog1.FileName = "openFileDialog1";
this.openFileDialog1.Filter = "XML Files|*.xml";
this.openFileDialog1.Title = "\"Select XML File\"";
//
// AddPartTree
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(529, 391);
this.Controls.Add(this.btnClose);
this.Controls.Add(this.btnEnd);
this.Controls.Add(this.tree);
this.Name = "AddPartTree";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "Выбор разделов";
this.Load += new System.EventHandler(this.AddPartTree_Load);
this.ResumeLayout(false);
}
示例13: InitializeComponent
/// <summary>
/// 设计器支持所需的方法 - 不要
/// 使用代码编辑器修改此方法的内容。
/// </summary>
private void InitializeComponent()
{
this.btnOK = new System.Windows.Forms.Button();
this.btnRet = new System.Windows.Forms.Button();
this.testPointView = new System.Windows.Forms.TreeView();
this.checkedListBox1 = new System.Windows.Forms.CheckedListBox();
this.SuspendLayout();
//
// btnOK
//
this.btnOK.Location = new System.Drawing.Point(294, 422);
this.btnOK.Name = "btnOK";
this.btnOK.Size = new System.Drawing.Size(124, 34);
this.btnOK.TabIndex = 7;
this.btnOK.Text = "添加考点";
this.btnOK.UseVisualStyleBackColor = true;
this.btnOK.Click += new System.EventHandler(this.btnOK_Click);
//
// btnRet
//
this.btnRet.Location = new System.Drawing.Point(441, 422);
this.btnRet.Name = "btnRet";
this.btnRet.Size = new System.Drawing.Size(112, 34);
this.btnRet.TabIndex = 6;
this.btnRet.Text = "返回";
this.btnRet.UseVisualStyleBackColor = true;
this.btnRet.Click += new System.EventHandler(this.btnRet_Click);
//
// testPointView
//
this.testPointView.Location = new System.Drawing.Point(7, 8);
this.testPointView.Name = "testPointView";
this.testPointView.Size = new System.Drawing.Size(281, 448);
this.testPointView.TabIndex = 5;
this.testPointView.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.testPointView_AfterSelect);
//
// checkedListBox1
//
this.checkedListBox1.FormattingEnabled = true;
this.checkedListBox1.HorizontalScrollbar = true;
this.checkedListBox1.Location = new System.Drawing.Point(294, 8);
this.checkedListBox1.Name = "checkedListBox1";
this.checkedListBox1.Size = new System.Drawing.Size(259, 404);
this.checkedListBox1.TabIndex = 4;
//
// testPowerpoint
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.Controls.Add(this.btnOK);
this.Controls.Add(this.btnRet);
this.Controls.Add(this.testPointView);
this.Controls.Add(this.checkedListBox1);
this.Name = "testPowerpoint";
this.Size = new System.Drawing.Size(567, 468);
this.ResumeLayout(false);
}
示例14: InitializeComponent
/// <summary>
/// デザイナ サポートに必要なメソッドです。このメソッドの内容を
/// コード エディタで変更しないでください。
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(VariableSelectDialog));
this.selectTree = new System.Windows.Forms.TreeView();
this.VSProductButton = new System.Windows.Forms.Button();
this.VSCloseButton = new System.Windows.Forms.Button();
this.VSSourceButton = new System.Windows.Forms.Button();
this.VSConstantButton = new System.Windows.Forms.Button();
this.SuspendLayout();
//
// selectTree
//
resources.ApplyResources(this.selectTree, "selectTree");
this.selectTree.Name = "selectTree";
this.selectTree.NodeMouseDoubleClick += new System.Windows.Forms.TreeNodeMouseClickEventHandler(this.SelectTreeDoubleClick);
//
// VSProductButton
//
resources.ApplyResources(this.VSProductButton, "VSProductButton");
this.VSProductButton.Name = "VSProductButton";
this.VSProductButton.UseVisualStyleBackColor = true;
this.VSProductButton.Click += new System.EventHandler(this.ProductButtonClick);
//
// VSCloseButton
//
resources.ApplyResources(this.VSCloseButton, "VSCloseButton");
this.VSCloseButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
this.VSCloseButton.Name = "VSCloseButton";
this.VSCloseButton.UseVisualStyleBackColor = true;
//
// VSSourceButton
//
resources.ApplyResources(this.VSSourceButton, "VSSourceButton");
this.VSSourceButton.Name = "VSSourceButton";
this.VSSourceButton.UseVisualStyleBackColor = true;
this.VSSourceButton.Click += new System.EventHandler(this.SourceButtonClick);
//
// VSConstantButton
//
resources.ApplyResources(this.VSConstantButton, "VSConstantButton");
this.VSConstantButton.Name = "VSConstantButton";
this.VSConstantButton.UseVisualStyleBackColor = true;
this.VSConstantButton.Click += new System.EventHandler(this.ConstantButtonClick);
//
// VariableSelectDialog
//
resources.ApplyResources(this, "$this");
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.CancelButton = this.VSCloseButton;
this.Controls.Add(this.VSProductButton);
this.Controls.Add(this.selectTree);
this.Controls.Add(this.VSSourceButton);
this.Controls.Add(this.VSCloseButton);
this.Controls.Add(this.VSConstantButton);
this.Name = "VariableSelectDialog";
this.ResumeLayout(false);
}
示例15: InitializeComponent
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
void InitializeComponent() {
treeView1 = new System.Windows.Forms.TreeView();
richTextBox1 = new System.Windows.Forms.RichTextBox();
tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
tableLayoutPanel1.SuspendLayout();
SuspendLayout();
//
// treeView1
//
treeView1.Dock = System.Windows.Forms.DockStyle.Fill;
treeView1.Location = new System.Drawing.Point(13, 13);
treeView1.Name = "treeView1";
treeView1.Size = new System.Drawing.Size(114, 391);
treeView1.TabIndex = 0;
//
// richTextBox1
//
richTextBox1.Dock = System.Windows.Forms.DockStyle.Fill;
richTextBox1.Location = new System.Drawing.Point(133, 13);
richTextBox1.Name = "richTextBox1";
richTextBox1.ReadOnly = true;
richTextBox1.ShortcutsEnabled = false;
richTextBox1.Size = new System.Drawing.Size(432, 391);
richTextBox1.TabIndex = 1;
richTextBox1.Text = "";
//
// tableLayoutPanel1
//
tableLayoutPanel1.ColumnCount = 2;
tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 120F));
tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
tableLayoutPanel1.Controls.Add(treeView1);
tableLayoutPanel1.Controls.Add(richTextBox1, 1, 0);
tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
tableLayoutPanel1.Location = new System.Drawing.Point(0, 0);
tableLayoutPanel1.Name = "tableLayoutPanel1";
tableLayoutPanel1.Padding = new System.Windows.Forms.Padding(10);
tableLayoutPanel1.RowCount = 1;
tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
tableLayoutPanel1.Size = new System.Drawing.Size(578, 417);
tableLayoutPanel1.TabIndex = 2;
//
// HelpForm
//
AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
ClientSize = new System.Drawing.Size(578, 417);
Controls.Add(tableLayoutPanel1);
Name = "HelpForm";
Text = "HelpForm";
tableLayoutPanel1.ResumeLayout(false);
ResumeLayout (false);
}