本文整理汇总了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类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的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);
}
开发者ID:henrydem,项目名称:yongfa365doc,代码行数:29,代码来源:TreeViewForRoles.designer.cs
示例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);
}
开发者ID:nickw4827,项目名称:NiawaNotify,代码行数:31,代码来源:IpcEventTreeModelAdapter.cs
示例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();
}
开发者ID:david-mcneil,项目名称:stringtemplate,代码行数:37,代码来源:JTreeStringTemplatePanel.cs
示例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);
}
开发者ID:pacificIT,项目名称:MOSA-Project,代码行数:37,代码来源:AssembliesView.designer.cs
示例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);
}
开发者ID:algz,项目名称:DesignAndEstimateSoft,代码行数:64,代码来源:OutputWeightClassficationFrm.designer.cs
示例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;
}
开发者ID:nickw4827,项目名称:NiawaNotify,代码行数:14,代码来源:TreeModelViewImpl.cs
示例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);
}
开发者ID:Phidiax,项目名称:open-wssf-2015,代码行数:36,代码来源:SolutionPickerControl.designer.cs
示例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);
}
开发者ID:pacificIT,项目名称:MOSA-Project,代码行数:37,代码来源:CallStackView.designer.cs
示例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);
}
开发者ID:Jeremiahf,项目名称:wix3,代码行数:39,代码来源:PickEntryStep.Designer.cs
示例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 );
}
开发者ID:jeremytammik,项目名称:AdnRme,代码行数:63,代码来源:CmdInspectElectricallForm2.designer.cs
示例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);
}
开发者ID:sunpander,项目名称:VSDT,代码行数:62,代码来源:FormOptionPage.designer.cs
示例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);
}
开发者ID:LearningSystem,项目名称:InformationSystem,代码行数:61,代码来源:AddPartTree.designer.cs
示例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);
}
开发者ID:kaiss78,项目名称:hustoes,代码行数:61,代码来源:testPowerpoint.designer.cs
示例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);
}
开发者ID:ecell,项目名称:ecell3-ide,代码行数:61,代码来源:VariableSelectDialog.designer.cs
示例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);
}
开发者ID:miniBill,项目名称:DiagramDrawer,代码行数:58,代码来源:HelpForm.Designer.cs
示例16: CADBrower
public CADBrower(System.Windows.Forms.TreeView _treeView, AnyCAD.Presentation.RenderWindow3d _renderView)
{
treeView = _treeView;
renderView = _renderView;
faceStyle = new FaceStyle();
System.Windows.Forms.TreeNode node = treeView.Nodes.Add("AnyCAD.net");
nodeStack.Push(node);
fileSys = new StreamWriter("d:/xxx.txt");
}
开发者ID:xazk027,项目名称:anycadnetsdkpro,代码行数:11,代码来源:CADBrower.cs
示例17: CreateTreeView
private void CreateTreeView()
{
this.tree_result = new System.Windows.Forms.TreeView();
//
// tree_result
//
this.tree_result.Dock = System.Windows.Forms.DockStyle.Fill;
this.tree_result.Location = new System.Drawing.Point(0, 0);
this.tree_result.Name = "tree_result";
this.tree_result.Size = new System.Drawing.Size(1048, 364);
this.tree_result.TabIndex = 0;
this.tab_result4.Controls.Add(this.tree_result);
}
开发者ID:labeuze,项目名称:source,代码行数:13,代码来源:RunSourceFormTreeView.cs
示例18: InitializeComponent
/// <summary>
/// Metodo necessario per il supporto della finestra di progettazione. Non modificare
/// il contenuto del metodo con l'editor di codice.
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmModelBrowser));
this.tvModelBrowser = new System.Windows.Forms.TreeView();
this.SuspendLayout();
//
// tvModelBrowser
//
this.tvModelBrowser.AllowDrop = true;
this.tvModelBrowser.Dock = System.Windows.Forms.DockStyle.Fill;
this.tvModelBrowser.HideSelection = false;
this.tvModelBrowser.Location = new System.Drawing.Point(2, 2);
this.tvModelBrowser.Name = "tvModelBrowser";
this.tvModelBrowser.ShowNodeToolTips = true;
this.tvModelBrowser.Size = new System.Drawing.Size(146, 224);
this.tvModelBrowser.TabIndex = 1;
this.tvModelBrowser.DragDrop += new System.Windows.Forms.DragEventHandler(this.tvModelBrowser_DragDrop);
this.tvModelBrowser.BeforeExpand += new System.Windows.Forms.TreeViewCancelEventHandler(this.tvModelBrowser_BeforeExpand);
this.tvModelBrowser.DragOver += new System.Windows.Forms.DragEventHandler(this.tvModelBrowser_DragOver);
this.tvModelBrowser.Enter += new System.EventHandler(this.tvModelBrowser_Enter);
this.tvModelBrowser.DoubleClick += new System.EventHandler(this.tvModelBrowser_DoubleClick);
this.tvModelBrowser.BeforeCollapse += new System.Windows.Forms.TreeViewCancelEventHandler(this.tvModelBrowser_BeforeCollapse);
this.tvModelBrowser.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.tvModelBrowser_AfterSelect);
this.tvModelBrowser.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tvModelBrowser_KeyDown);
this.tvModelBrowser.ItemDrag += new System.Windows.Forms.ItemDragEventHandler(this.tvModelBrowser_ItemDrag);
this.tvModelBrowser.MouseDown += new System.Windows.Forms.MouseEventHandler(this.tvModelBrowser_MouseDown);
//
// frmModelBrowser
//
this.AllowEndUserDocking = false;
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(148, 226);
this.CloseButton = false;
this.ControlBox = false;
this.Controls.Add(this.tvModelBrowser);
this.DockAreas = WeifenLuo.WinFormsUI.Docking.DockAreas.DockLeft;
this.HideOnClose = true;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "frmModelBrowser";
this.Padding = new System.Windows.Forms.Padding(2, 2, 0, 0);
this.ShowHint = WeifenLuo.WinFormsUI.Docking.DockState.DockLeft;
this.ShowIcon = false;
this.ShowInTaskbar = false;
this.TabText = "[Model Browser]";
this.Text = "[Model Browser]";
this.ResumeLayout(false);
}
开发者ID:stephen-czetty,项目名称:UseCaseMaker,代码行数:54,代码来源:frmModelBrowser.designer.cs
示例19: InitializeComponent
/// <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(SiteCollectionDeploymentTargetsControl));
this.webApplicationsLabel = new System.Windows.Forms.Label();
this.hintLabel = new System.Windows.Forms.Label();
this.siteCollectionsTreeView = new System.Windows.Forms.TreeView();
this.SuspendLayout();
//
// webApplicationsLabel
//
this.webApplicationsLabel.AccessibleDescription = null;
this.webApplicationsLabel.AccessibleName = null;
resources.ApplyResources(this.webApplicationsLabel, "webApplicationsLabel");
this.webApplicationsLabel.Font = null;
this.webApplicationsLabel.Name = "webApplicationsLabel";
//
// hintLabel
//
this.hintLabel.AccessibleDescription = null;
this.hintLabel.AccessibleName = null;
resources.ApplyResources(this.hintLabel, "hintLabel");
this.hintLabel.Font = null;
this.hintLabel.Name = "hintLabel";
//
// siteCollectionsTreeView
//
this.siteCollectionsTreeView.AccessibleDescription = null;
this.siteCollectionsTreeView.AccessibleName = null;
resources.ApplyResources(this.siteCollectionsTreeView, "siteCollectionsTreeView");
this.siteCollectionsTreeView.BackgroundImage = null;
this.siteCollectionsTreeView.CheckBoxes = true;
this.siteCollectionsTreeView.Font = null;
this.siteCollectionsTreeView.Name = "siteCollectionsTreeView";
//
// SiteCollectionDeploymentTargetsControl
//
this.AccessibleDescription = null;
this.AccessibleName = null;
resources.ApplyResources(this, "$this");
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackgroundImage = null;
this.Controls.Add(this.siteCollectionsTreeView);
this.Controls.Add(this.webApplicationsLabel);
this.Controls.Add(this.hintLabel);
this.Font = nul
|
请发表评论