private void Form1_Load(object sender, EventArgs e) { TreeView treeView1 = new TreeView(); // // This is the first node in the view. // TreeNode treeNode = new TreeNode("Windows"); treeView1.Nodes.Add(treeNode); // // Another node following the first node. // treeNode = new TreeNode("Linux"); treeView1.Nodes.Add(treeNode); // // Create two child nodes and put them in an array. // ... Add the third node, and specify these as its children. // TreeNode node2 = new TreeNode("C#"); TreeNode node3 = new TreeNode("VB.NET"); TreeNode[] array = new TreeNode[] { node2, node3 }; // // Final node. // treeNode = new TreeNode("Dot Net Perls", array); treeView1.Nodes.Add(treeNode); }
public void loadListOfGacAssemblies(TreeView lbListOfGacAssemblies, string filter, List<IGacDll> assembliesToLoad) { this.invokeOnThread( () => { tvListOfGacAssemblies.Nodes.Clear(); foreach (var gacAssembly in assembliesToLoad) if (RegEx.findStringInString(gacAssembly.name, filter)) { var newTreeNode = new TreeNode(gacAssembly.name) { Tag = gacAssembly }; if (treeViewColorFilter != null && filter != "") // for performance reasons only apply this when there is a filter if (treeViewColorFilter(gacAssembly.fullPath)) // move this code to the consumers of this assembly /* if (PostSharpUtils.containsO2PostSharpHooks(gacAssembly.fullPath))*/ newTreeNode.ForeColor = Color.DarkGreen; else newTreeNode.ForeColor = Color.DarkRed; tvListOfGacAssemblies.Nodes.Add(newTreeNode); } }); }
/// <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.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(RegistryBrowser)); this.tvRegistry = new System.Windows.Forms.TreeView(); this.ilTreeImages = new System.Windows.Forms.ImageList(this.components); this.SuspendLayout(); // // tvRegistry // this.tvRegistry.Dock = System.Windows.Forms.DockStyle.Fill; this.tvRegistry.ImageList = this.ilTreeImages; this.tvRegistry.Name = "tvRegistry"; this.tvRegistry.Size = new System.Drawing.Size(392, 333); this.tvRegistry.TabIndex = 0; this.tvRegistry.BeforeExpand += new System.Windows.Forms.TreeViewCancelEventHandler(this.tvRegistry_BeforeExpand); // // ilTreeImages // this.ilTreeImages.ColorDepth = System.Windows.Forms.ColorDepth.Depth8Bit; this.ilTreeImages.ImageSize = new System.Drawing.Size(13, 13); this.ilTreeImages.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("ilTreeImages.ImageStream"))); this.ilTreeImages.TransparentColor = System.Drawing.Color.Transparent; // // RegistryBrowser // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(392, 333); this.Controls.AddRange(new System.Windows.Forms.Control[] { this.tvRegistry}); this.Name = "RegistryBrowser"; this.Text = "Registry Browser"; this.ResumeLayout(false); }
private void InitializeComponent() { this.tvwWarnings = new TreeView(); this.SuspendLayout(); this.tvwWarnings.Dock = DockStyle.Fill; Point point2 = new Point(0, 0); this.tvwWarnings.Location = point2; Padding padding2 = new Padding(3, 2, 3, 2); this.tvwWarnings.Margin = padding2; this.tvwWarnings.Name = "tvwWarnings"; Size size2 = new Size(0x1ad, 0xf7); this.tvwWarnings.Size = size2; this.tvwWarnings.TabIndex = 0; SizeF ef2 = new SizeF(8f, 16f); this.AutoScaleDimensions = ef2; this.AutoScaleMode = AutoScaleMode.Font; size2 = new Size(0x1ad, 0xf7); this.ClientSize = size2; this.Controls.Add(this.tvwWarnings); padding2 = new Padding(3, 2, 3, 2); this.Margin = padding2; this.Name = "frmWarnings"; this.TopMost = true; this.ResumeLayout(false); }
public DirectoryScanner(string directory, string key, TreeView output) { Logs.WriteLine("Инициализация сканера для '" + key + "'"); path = directory; keyWord = key; tree = output; }
public static void FillTree(TreeView tv, string sql) { try { OracleConnection conn = new OracleConnection(DataAccess.OIDSConnStr); conn.Open(); OracleCommand cmd = conn.CreateCommand(); cmd.CommandText = sql; OracleDataReader dr = cmd.ExecuteReader(); if (dr.HasRows) { while (dr.Read()) { tv.Nodes.Add(dr[0].ToString()); } conn.Close(); dr.Close(); } } catch (OracleException ox) { MessageBox.Show(ox.Message.ToString()); return; } }
public DebugForm(DockBase pane) { InitializeComponent(); property.SelectedObject = pane; var infoArray = new DockBaseNeigh.DireInfo[] { pane.Neigh.Top, pane.Neigh.Bottom, pane.Neigh.Left, pane.Neigh.Right }; var strArray = new string[] { "Top", "Bottom", "Left", "Right" }; var view = new TreeView { Dock = DockStyle.Fill }; for (int i = 0; i < infoArray.Length; i++) { var node = new TreeNode(strArray[i]); var outers = new TreeNode("outers"); var inners = new TreeNode("inner"); foreach (var control in infoArray[i].Inners) inners.Nodes.Add(control.Location + ":" + control.Size); foreach (var control2 in infoArray[i].Outers) outers.Nodes.Add(control2.Location + ":" + control2.Size); node.Nodes.Add(inners); node.Nodes.Add(outers); view.Nodes.Add(node); } splitContainer1.Panel2.Controls.Add(view); Text = String.Format("{0}[{1}]", pane.GetType().Name, pane.Bounds.ToString()); Show(); }
private void InitializeComponent() { this.components = new Container(); ResourceManager manager = new ResourceManager(typeof(ReportsCollectionPage)); this.reportsImgList = new ImageList(this.components); this.ReportsNavigation = new TreeView(); base.SuspendLayout(); this.reportsImgList.ColorDepth = ColorDepth.Depth8Bit; this.reportsImgList.ImageSize = new Size(0x18, 0x18); this.reportsImgList.ImageStream = (ImageListStreamer) manager.GetObject("reportsImgList.ImageStream"); this.reportsImgList.TransparentColor = Color.Transparent; this.ReportsNavigation.Font = new Font("Arial", 9f, FontStyle.Bold, GraphicsUnit.Point, 0); this.ReportsNavigation.FullRowSelect = true; this.ReportsNavigation.ImageList = this.reportsImgList; this.ReportsNavigation.Name = "ReportsNavigation"; this.ReportsNavigation.Size = new Size(0x2b8, 0x288); this.ReportsNavigation.TabIndex = 0; this.ReportsNavigation.DoubleClick += new EventHandler(this.ReportsNavigation_DoubleClick); this.AutoScaleBaseSize = new Size(5, 13); base.ClientSize = new Size(0x2b0, 0x26d); base.Controls.AddRange(new Control[] { this.ReportsNavigation }); base.MaximizeBox = false; base.Name = "ReportsCollectionPage"; base.ShowInTaskbar = false; base.StartPosition = FormStartPosition.CenterScreen; this.Text = "Reports"; base.Load += new EventHandler(this.ReportsCollectionPage_Load); base.ResumeLayout(false); }
private void fillTree(TreeView tv) { DirectoryInfo directory; string sCurPath = ""; // 重新清空 tv.Nodes.Clear(); // 将硬盘上的所有的驱动器都列举出来 // foreach (char c in driveLetters) { // sCurPath = c + ":\\"; sCurPath = System.AppDomain.CurrentDomain.BaseDirectory + @"Data\"; //Console.WriteLine("{0}",sCurPath); try { // 获得该路径的目录信息 directory = new DirectoryInfo(sCurPath); // 如果获得的目录信息正确,则将它添加到目录树视中 if (directory.Exists == true) { TreeNode newNode = new TreeNode(directory.FullName); tv.Nodes.Add(newNode); // 添加新的节点到根节点 getSubDirs(newNode); // 调用getSubDirs()函数,检查该驱动器上的任何存在子目录 } } catch (Exception doh) { Console.WriteLine(doh.Message); } } }
/* * 外部调用 */ #region [ 方法: 加载部门,工种,职务信息 ] public bool N_LoadInfo(TreeView tvDep, ComboBox cmbWorkType, ComboBox cmbDutyName, int intUserType) { //加载部门 using (ds = new DataSet()) { ds = this.N_GetDeptInfo(); TreeNode tnDept = new TreeNode(); tnDept.Text = "所有部门"; tnDept.Name = "0"; tvDep.Nodes.Add(tnDept); this.N_LoadChildDept(tnDept, 0, 0, ds.Tables[0].Rows.Count); } //加载工种 using(ds=new DataSet()) { ds = this.N_GetWorkTypeInfo(); this.N_LoadWorkType(cmbWorkType,ds); } //加载职务 using (ds = new DataSet()) { ds = this.N_GetBusinessInfo(); this.N_LoadDuty(cmbDutyName,ds); } return true; }
/// <summary> /// Populate an FCE Ultra movie file's header information /// </summary> public static void FCM(ref TreeView tv, ref TASMovie fcm) { FCEU movie = (FCEU)fcm; tv.Nodes.Clear(); tv.Nodes.Add("Header"); tv.Nodes[0].Nodes.Add("Signature: " + movie.Header.Signature); tv.Nodes[0].Nodes.Add("Version: " + movie.Header.Version.ToString()); tv.Nodes[0].Nodes.Add("Frame Count: " + String.Format("{0:0,0}", movie.Header.FrameCount)); tv.Nodes[0].Nodes.Add("Rerecord Count: " + String.Format("{0:0,0}", movie.Header.RerecordCount)); tv.Nodes[0].Nodes.Add("Emulator Version: " + movie.Header.EmulatorID); tv.Nodes[0].Nodes.Add("Movie Start: " + movie.Options.MovieStart); tv.Nodes[0].Nodes.Add("Movie Timing: " + movie.Options.MovieTiming); tv.Nodes.Add("Metadata"); tv.Nodes[1].Nodes.Add("Author: " + movie.Extra.Author); tv.Nodes.Add("ROM Information"); tv.Nodes[2].Nodes.Add("ROM Title: " + movie.Extra.ROM); tv.Nodes[2].Nodes.Add("ROM CRC: " + movie.Extra.CRC); tv.Nodes.Add("Controllers"); tv.Nodes[3].Nodes.Add("Controller 1: " + movie.Input.Controllers[0].ToString()); tv.Nodes[3].Nodes.Add("Controller 2: " + movie.Input.Controllers[1].ToString()); tv.Nodes[3].Nodes.Add("Controller 3: " + movie.Input.Controllers[2].ToString()); tv.Nodes[3].Nodes.Add("Controller 4: " + movie.Input.Controllers[3].ToString()); movie = null; tv.ExpandAll(); tv.Nodes[0].EnsureVisible(); }
private void InitialTreeView(TreeView myTreeView) { TreeNode newNode; //根节点 newNode = new TreeNode("系统制造部"); newNode.ImageIndex = 0; newNode.SelectedImageIndex = 0; myTreeView.Nodes.Add(newNode); TreeNode newNode1; for (int i = 0; i < dataSet.Tables["UserGrpDetailsView"].Rows.Count; i++) { int groupid = Convert.ToInt16(dataSet.Tables["UserGrpDetailsView"].Rows[i]["UserGrpID"]); newNode1 = new TreeNode(dataSet.Tables["UserGrpDetailsView"].Rows[i]["UserGrpName"].ToString()); myTreeView.Nodes[0].Nodes.Add(newNode1); int index1 = myTreeView.Nodes[0].Nodes.IndexOf(newNode1); TreeNode newNode2; for (int j = 0; j < dataSet.Tables["UserInfoDetailsView"].Rows.Count; j++) { if (groupid == Convert.ToInt16(dataSet.Tables["UserInfoDetailsView"].Rows[j]["UserGrpID"])) { newNode2 = new TreeNode(dataSet.Tables["UserInfoDetailsView"].Rows[j]["BarCode"].ToString()); myTreeView.Nodes[0].Nodes[index1].Nodes.Add(newNode2); } } } myTreeView.Nodes[0].Expand(); myTreeView.Nodes[0].TreeView.Focus(); }
public DirectoryScanner(string path, TreeView tree, string filePath, StatusUpdater updater, TextBox erroLogTextBox) { Path = path; _xmlEntryService = new XmlEntryService(filePath, erroLogTextBox); _treeEntryService = new TreeEntryService(tree, erroLogTextBox); _statusUpdater = updater; }
public static void generateTree(TreeView view) { List<string> list_first = getRootName(); foreach (var first in list_first) { TreeNode firstnode = new TreeNode(first); List<string> list_second = getSecondName(first); foreach (var second in list_second)//第二层 { TreeNode secondnode = new TreeNode(second); List<string> list_third = getThirdName(second); foreach (var third in list_third)//第三层 { TreeNode thirdnode = new TreeNode(third); List<string> list_forth = getForthName(third); foreach (var forth in list_forth)//第四层 { TreeNode forthnode = new TreeNode(forth); List<string> list_fifth = getFifthName(forth,third); foreach (var fifth in list_fifth)//第五层 { TreeNode fifthnode = new TreeNode(fifth); forthnode.Nodes.Add(fifthnode); } thirdnode.Nodes.Add(forthnode); } secondnode.Nodes.Add(thirdnode); } firstnode.Nodes.Add(secondnode); } view.Nodes.Add(firstnode); } }
public FormQueryName(int userId, TreeView treeView, TreeNode folderNode) { InitializeComponent(); _connectionID = userId; _original = treeView; CurrentFolderNode = folderNode; }
public osd_screen (int num, OSD aosd) { number=num; osd=aosd; num+=1; this.tabPage = new System.Windows.Forms.TabPage(); this.panelItems=new Panel[64]; this.panelItems_default = new Panel[64]; this.LIST_items=new System.Windows.Forms.TreeView(); this.rbtSortCategory = new System.Windows.Forms.RadioButton(); this.rbtSortAlphabetic = new System.Windows.Forms.RadioButton(); this.groupBox = new System.Windows.Forms.GroupBox(); this.label2 = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label(); this.NUM_Y = new System.Windows.Forms.NumericUpDown(); this.NUM_X = new System.Windows.Forms.NumericUpDown(); this.pictureBox = new System.Windows.Forms.PictureBox(); this.chkSign = new System.Windows.Forms.CheckBox(); this.tabPage.SuspendLayout(); this.groupBox.SuspendLayout(); this.pictureBox.SuspendLayout(); }
public AisForm() { InitializeComponent(); // Creamos el contenido del explorer treeView = new TreeView(); treeView.Dock = DockStyle.Fill ; treeView.NodeMouseClick += new TreeNodeMouseClickEventHandler(treeView_NodeMouseClick); tabControlLeft.TabPages["tabPageExplorer"].Controls.Add(treeView); // Creamos el visor de propiedades propiedadesDataGrid = new DataGridView(); propiedadesDataGrid.AllowUserToAddRows = false; propiedadesDataGrid.AllowUserToDeleteRows = false; propiedadesDataGrid.AllowUserToOrderColumns = false; propiedadesDataGrid.AllowUserToResizeColumns = true; propiedadesDataGrid.AllowUserToResizeRows = false; propiedadesDataGrid.BorderStyle = BorderStyle.FixedSingle; propiedadesDataGrid.CellBorderStyle = DataGridViewCellBorderStyle.Single; propiedadesDataGrid.ColumnHeadersVisible = false; propiedadesDataGrid.MultiSelect = false; propiedadesDataGrid.RowHeadersVisible = false; propiedadesDataGrid.Dock = DockStyle.Fill; propiedadesDataGrid.Columns.Add("key", ""); propiedadesDataGrid.Columns.Add("value", ""); propiedadesDataGrid.Columns["key"].ReadOnly = true; propiedadesDataGrid.CellValidating += new DataGridViewCellValidatingEventHandler(propiedadesDataGrid_CellValidating); tabControlLeft.TabPages["tabPagePropiedades"].Controls.Add(propiedadesDataGrid); }
public void AreaTextprint(TreeView DOMTreeView, TreeNode tree_node) { try { if (tree_node == null) return; //如果沒有選取任何 TreeNode DOMTreeView.SelectedNode = tree_node; //設定目前在樹狀檢視控制項中選取的樹狀節點。 DOMTreeView.Visible = false; DOMTreeView.Select(); // Select() 方法會啟動此控制項。 while (DOMTreeView .SelectedNode .Nodes .Count >1) //如果目前沒有選取任何 TreeNode, SelectedNode 屬性為 null。 { tagname.Push(tree_node); if (DOMTreeView.SelectedNode == null) return; //如果目前沒有選取任何 TreeNode, SelectedNode 屬性為 null。 DOMTreeView.SelectedNode = DOMTreeView.SelectedNode.NextVisibleNode; DOMTreeView.Select(); } DOMTreeView.Visible = true; } catch (Exception ex) { throw ex; } }
protected void CreateResultControls() { int resultTabIndex = 0; Panel panel = AddResultPanel("result 1"); _gridResult1 = XtraGridControl.Create(dockStyle: DockStyle.Fill); panel.Controls.Add(_gridResult1); _grid1ResultTabIndex = resultTabIndex++; panel = AddResultPanel("result 2"); _gridResult2 = DataGridViewControl.Create(dockStyle: DockStyle.Fill, showRowNumber: true); panel.Controls.Add(_gridResult2); _grid2ResultTabIndex = resultTabIndex++; panel = AddResultPanel("result 3"); _gridResult3 = zForm.CreateDataGrid(dockStyle: DockStyle.Fill); panel.Controls.Add(_gridResult3); _grid3ResultTabIndex = resultTabIndex++; _gridResultTabIndex = _grid2ResultTabIndex; panel = AddResultPanel("result 4"); _treeResult = new TreeView(); _treeResult.Dock = DockStyle.Fill; panel.Controls.Add(_treeResult); _treeResultTabIndex = resultTabIndex++; panel = AddResultPanel("message"); _logTextBox = LogTextBox.Create(dockStyle: DockStyle.Fill); panel.Controls.Add(_logTextBox); _messageResultTabIndex = resultTabIndex++; }
public FormFind( TreeView treeView ) { InitializeComponent(); this._treeView = treeView; this.Icon = Icon.FromHandle( Resources.find.GetHicon() ); }
// For Ownder Drawn TreeViews public static void DrawItem(this DrawTreeNodeEventArgs e, Color channelColor, TreeView treeView, bool useCheckmark) { if (treeView == null) { e.DrawDefault = true; return; } if (e.Bounds.Left < 0 || e.Bounds.Top < 0) { return; } var fillRect = new Rectangle(e.Node.Bounds.X, e.Node.Bounds.Y, treeView.Width - e.Node.Bounds.Left, e.Node.Bounds.Height); GenericBrush.Color = channelColor; bool selected; var view = treeView as MultiSelectTreeview; if (view != null) { selected = view.SelectedNodes.Contains(e.Node); } else { selected = (e.State & TreeNodeStates.Selected) != 0; } var rectBrush = selected && !useCheckmark ? SystemBrushes.Highlight : GenericBrush; e.Graphics.FillRectangle(rectBrush, fillRect); var stringBrush = selected && !useCheckmark ? SystemBrushes.HighlightText : channelColor.GetTextColor(); e.Graphics.DrawString(e.Node.Text, treeView.Font, stringBrush, e.Bounds.Left, e.Bounds.Top); if (selected && useCheckmark) { e.Graphics.DrawString(Checkmark, treeView.Font, channelColor.GetTextColor(), fillRect.Right - 40, e.Bounds.Top); } }
public SearchForm(TreeView list) { InitializeComponent(); this.Icon=Properties.Resources.fosnip; bReset.Enabled=false; tv=list; }
// �ڽڵ��������Ѱ�����ض����ֵĶ��� public static TreeNode FindNodeByText(TreeView tree, TreeNode parent, string strText) { if (parent != null) { for (int i = 0; i < parent.Nodes.Count; i++) { TreeNode node = parent.Nodes[i]; if (node.Text == strText) return node; } return null; } else { if (tree == null) { throw (new Exception("��parent����Ϊ�յ�ʱ��tree��������Ϊ��")); } for (int i = 0; i < tree.Nodes.Count; i++) { TreeNode node = tree.Nodes[i]; if (node.Text == strText) return node; } return null; } }
public override object EditValue(ITypeDescriptorContext context, IServiceProvider provider, object value) { editorService = provider.GetService(typeof(IWindowsFormsEditorService)) as IWindowsFormsEditorService; if (editorService == null) return value; FmodEventShape Shape = context.Instance as FmodEventShape; System.Diagnostics.Debug.Assert(Shape != null, "EventGroupSelectionEditor only valid for FmodEventShapes!"); // Create a TreeView and populate it treeView = new TreeView(); treeView.ImageList = EditorManager.GUI.ShapeTreeImages.ImageList; treeView.Bounds = new Rectangle(0, 0, 400, 500); treeView.NodeMouseClick += new System.Windows.Forms.TreeNodeMouseClickEventHandler(this.treeView_NodeMouseClick); FmodManaged.ManagedModule.GetEventGroupTree(Shape.EventProject, treeView); treeView.ExpandAll(); // Show our listbox as a DropDownControl. // This methods returns, when the DropDownControl is closed. editorService.DropDownControl(treeView); TreeNode selectedNode = treeView.SelectedNode; if (selectedNode != null) { string fullPath = selectedNode.FullPath; return fullPath.Replace("\\", "/"); } else return Shape.EventGroup; }
public void SetTreeviewDirectory(TreeView treeView, string path) { treeView.Nodes.Clear(); if (path == string.Empty) return; try { var rootDirectoryInfo = new DirectoryInfo(path); treeView.Nodes.Add(CreateDirectoryNode(rootDirectoryInfo)); treeView.Nodes[0].Expand(); if (Properties.Settings.Default.AutoExpandTreeView) { foreach (TreeNode node in treeView.Nodes[0].Nodes) { node.Expand(); } } // Scroll to top treeView.Nodes[0].EnsureVisible(); } catch { MessageBox.Show("Unable to open directory"); } }
/* * 外部调用 */ #region [ 方法: 加载部门,工种信息 ] public bool N_LoadInfo(TreeView tvDep, ComboBox cmbWorkType, int intUserType) { //加载部门 using (ds = new DataSet()) { ds = lrtdal.N_GetDeptInfo(); if (ds != null && ds.Tables.Count > 0) { TreeNode tnDept = new TreeNode(); tnDept.Text = "所有部门"; tnDept.Name = "0"; tvDep.Nodes.Add(tnDept); this.N_LoadChildDept(tnDept, 0, 0, ds.Tables[0].Rows.Count); } } //加载工种 using (ds = new DataSet()) { ds = lrtdal.N_GetWorkTypeInfo(); if (ds != null && ds.Tables.Count > 0) { this.N_LoadWorkType(cmbWorkType); } } return true; }
private static void GenerateTreeView(TreeView treeView, IEnumerable<Files> fileList, char pathSeparator) { TreeNode lastNode = null; foreach (Files f in fileList) { int subPathCounter = 0; var subPathAgg = string.Empty; foreach (string subPath in f.GetTreePath().Split(pathSeparator)) { subPathCounter++; subPathAgg += subPath + pathSeparator; TreeNode[] nodes = treeView.Nodes.Find(subPathAgg, true); if (nodes.Length == 0) if (lastNode == null) { lastNode = treeView.Nodes.Add(subPathAgg, subPath); lastNode.Text = "ROZWIN"; } else { lastNode = lastNode.Nodes.Add(subPathAgg, subPath); } else { lastNode = nodes[0]; } } } }
void AddNodesToTree(TreeView tree,ServiceBusNode[] nodes) { string serviceNamespace = m_NamespaceTextBox.Text; if(tree.Nodes[0].Text == "Unspecified Namespace") { tree.Nodes.Clear(); } else { foreach(TreeNode domianNode in tree.Nodes) { if(domianNode.Text == serviceNamespace) { tree.Nodes.Remove(domianNode); break; } } } TreeNode newNamespaceNode = new NamespaceTreeNode(this,serviceNamespace); tree.Nodes.Add(newNamespaceNode); tree.SelectedNode = newNamespaceNode; tree.Focus(); foreach(ServiceBusNode node in nodes) { AddNode(newNamespaceNode,node); } }
/// <summary> /// Shows a PrintPreview dialog displaying the Tree control passed in. /// </summary> /// <param name="tree">TreeView to print preview</param> /// <param name="reportTitle"></param> public void PrintPreviewTree(TreeView tree, string reportTitle) { this.title = reportTitle; this.PrepareTreeImage(tree); var pp = new PrintPreviewDialog { Document = this.printDoc }; pp.Show(); }
internal static void ApplyFilterEntriesToTreeView(TreeView treeView, IEnumerable<EntityStoreSchemaFilterEntry> filterEntriesToApply) { foreach (TreeNode parentNode in treeView.Nodes) { foreach (TreeNode schemaNode in parentNode.Nodes) { foreach (TreeNode child in schemaNode.Nodes) { // Check to see if the filter entries allow this. // TODO this is not very performant, but we assume a small number of filters based on our // existing optimization logic for selecting the filters in the first place var entryToTest = child.Tag as EntityStoreSchemaFilterEntry; Debug.Assert(entryToTest != null, "entryToTest should not be null"); if (entryToTest != null) { var effect = entryToTest.GetEffectViaFilter(filterEntriesToApply); // Check the resulting effect if (effect == EntityStoreSchemaFilterEffect.Allow) { child.Checked = true; } } } } } }
public MyTreeView() { tree = new TreeView(); winFormsTree = new System.Windows.Forms.TreeView(); Nodes = winFormsTree.Nodes; tree.LayoutTransform = new RotateTransform(180); tree.FlowDirection = FlowDirection.RightToLeft; elementHost.Dock = System.Windows.Forms.DockStyle.Fill; elementHost.Name = "elementHost"; elementHost.Child = tree; Controls.Add(elementHost); }
/// <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.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(SampleView)); this.pictureBox1 = new System.Windows.Forms.PictureBox(); this.menu = new System.Windows.Forms.MainMenu(); this.menuItem1 = new System.Windows.Forms.MenuItem(); this.menuItem12 = new System.Windows.Forms.MenuItem(); this.menuItem13 = new System.Windows.Forms.MenuItem(); this.menuItem14 = new System.Windows.Forms.MenuItem(); this.menuItem15 = new System.Windows.Forms.MenuItem(); this.menuItem16 = new System.Windows.Forms.MenuItem(); this.menuItem17 = new System.Windows.Forms.MenuItem(); this.menuItem18 = new System.Windows.Forms.MenuItem(); this.menuItem2 = new System.Windows.Forms.MenuItem(); this.menuItem19 = new System.Windows.Forms.MenuItem(); this.menuItem20 = new System.Windows.Forms.MenuItem(); this.menuItem21 = new System.Windows.Forms.MenuItem(); this.menuItem22 = new System.Windows.Forms.MenuItem(); this.menuItem23 = new System.Windows.Forms.MenuItem(); this.menuItem3 = new System.Windows.Forms.MenuItem(); this.menuItem24 = new System.Windows.Forms.MenuItem(); this.menuItem25 = new System.Windows.Forms.MenuItem(); this.menuItem4 = new System.Windows.Forms.MenuItem(); this.menuItem5 = new System.Windows.Forms.MenuItem(); this.menuItem10 = new System.Windows.Forms.MenuItem(); this.menuItem28 = new System.Windows.Forms.MenuItem(); this.menuItem29 = new System.Windows.Forms.MenuItem(); this.menuItem11 = new System.Windows.Forms.MenuItem(); this.menuItem26 = new System.Windows.Forms.MenuItem(); this.menuItem27 = new System.Windows.Forms.MenuItem(); this.toolBar1 = new System.Windows.Forms.ToolBar(); this.toolBarButton1 = new System.Windows.Forms.ToolBarButton(); this.toolBarButton2 = new System.Windows.Forms.ToolBarButton(); this.toolBarButton3 = new System.Windows.Forms.ToolBarButton(); this.toolBarButton4 = new System.Windows.Forms.ToolBarButton(); this.toolBarButton5 = new System.Windows.Forms.ToolBarButton(); this.icons = new System.Windows.Forms.ImageList(this.components); this.statusBar1 = new System.Windows.Forms.StatusBar(); this.statusBarPanel1 = new System.Windows.Forms.StatusBarPanel(); this.statusBarPanel2 = new System.Windows.Forms.StatusBarPanel(); this.statusBarPanel3 = new System.Windows.Forms.StatusBarPanel(); this.panel1 = new System.Windows.Forms.Panel(); this.listView1 = new System.Windows.Forms.ListView(); this.columnHeader1 = new System.Windows.Forms.ColumnHeader(); this.itemMenu = new System.Windows.Forms.ContextMenu(); this.editItem = new System.Windows.Forms.MenuItem(); this.treeView1 = new System.Windows.Forms.TreeView(); this.comboBox1 = new System.Windows.Forms.ComboBox(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel3)).BeginInit(); this.panel1.SuspendLayout(); this.SuspendLayout(); // // pictureBox1 // this.pictureBox1.Anchor = (System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right); this.pictureBox1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.pictureBox1.Cursor = System.Windows.Forms.Cursors.Hand; this.pictureBox1.Image = ((System.Drawing.Bitmap)(resources.GetObject("pictureBox1.Image"))); this.pictureBox1.Location = new System.Drawing.Point(416, 0); this.pictureBox1.Name = "pictureBox1"; this.pictureBox1.Size = new System.Drawing.Size(152, 32); this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; this.pictureBox1.TabIndex = 0; this.pictureBox1.TabStop = false; // // menu // this.menu.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuItem1, this.menuItem2, this.menuItem3, this.menuItem4, this.menuItem5, this.menuItem10, this.menuItem11 }); // // menuItem1 // this.menuItem1.Index = 0; this.menuItem1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuItem12, this.menuItem13, this.menuItem14, this.menuItem15, this.menuItem16, this.menuItem17, this.menuItem18 }); this.menuItem1.Text = "File"; // // menuItem12 // this.menuItem12.Index = 0; this.menuItem12.Text = "Where"; // // menuItem13 // this.menuItem13.Index = 1; this.menuItem13.Text = "do"; // // menuItem14 // this.menuItem14.Index = 2; this.menuItem14.Text = "you"; // // menuItem15 // this.menuItem15.Index = 3; this.menuItem15.Text = "want"; // // menuItem16 // this.menuItem16.Index = 4; this.menuItem16.Text = "to"; // // menuItem17 // this.menuItem17.Index = 5; this.menuItem17.Text = "sleep"; // // menuItem18 // this.menuItem18.Index = 6; this.menuItem18.Text = "today?"; // // menuItem2 // this.menuItem2.Index = 1; this.menuItem2.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuItem19, this.menuItem20, this.menuItem21, this.menuItem22, this.menuItem23 }); this.menuItem2.Text = "Edit"; // // menuItem19 // this.menuItem19.Index = 0; this.menuItem19.Text = "Dont"; // // menuItem20 // this.menuItem20.Index = 1; this.menuItem20.Text = "take"; // // menuItem21 // this.menuItem21.Index = 2; this.menuItem21.Text = "this"; // // menuItem22 // this.menuItem22.Index = 3; this.menuItem22.Text = "too"; // // menuItem23 // this.menuItem23.Index = 4; this.menuItem23.Text = "seriously"; // // menuItem3 // this.menuItem3.Index = 2; this.menuItem3.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuItem24, this.menuItem25 }); this.menuItem3.Text = "View"; // // menuItem24 // this.menuItem24.Index = 0; this.menuItem24.Text = "got"; // // menuItem25 // this.menuItem25.Index = 1; this.menuItem25.Text = "balls?"; // // menuItem4 // this.menuItem4.Index = 3; this.menuItem4.Text = "There"; // // menuItem5 // this.menuItem5.Index = 4; this.menuItem5.Text = "Are"; // // menuItem10 // this.menuItem10.Index = 5; this.menuItem10.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuItem28, this.menuItem29 }); this.menuItem10.Text = "Window"; // // menuItem28 // this.menuItem28.Index = 0; this.menuItem28.Text = "better"; // // menuItem29 // this.menuItem29.Index = 1; this.menuItem29.Text = "not"; // // menuItem11 // this.menuItem11.Index = 6; this.menuItem11.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuItem26, this.menuItem27 }); this.menuItem11.Text = "Help"; // // menuItem26 // this.menuItem26.Index = 0; this.menuItem26.Text = "get"; // // menuItem27 // this.menuItem27.Checked = true; this.menuItem27.Index = 1; this.menuItem27.Text = "JBoss!"; // // toolBar1 // this.toolBar1.Appearance = System.Windows.Forms.ToolBarAppearance.Flat; this.toolBar1.AutoSize = false; this.toolBar1.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] { this.toolBarButton1, this.toolBarButton2, this.toolBarButton3, this.toolBarButton4, this.toolBarButton5 }); this.toolBar1.DropDownArrows = true; this.toolBar1.ImageList = this.icons; this.toolBar1.Name = "toolBar1"; this.toolBar1.ShowToolTips = true; this.toolBar1.Size = new System.Drawing.Size(568, 40); this.toolBar1.TabIndex = 3; // // toolBarButton1 // this.toolBarButton1.ImageIndex = 0; this.toolBarButton1.Style = System.Windows.Forms.ToolBarButtonStyle.DropDownButton; // // toolBarButton2 // this.toolBarButton2.ImageIndex = 1; // // toolBarButton3 // this.toolBarButton3.ImageIndex = 2; // // toolBarButton4 // this.toolBarButton4.ImageIndex = 3; this.toolBarButton4.Style = System.Windows.Forms.ToolBarButtonStyle.DropDownButton; // // toolBarButton5 // this.toolBarButton5.ImageIndex = 4; this.toolBarButton5.Style = System.Windows.Forms.ToolBarButtonStyle.DropDownButton; // // icons // this.icons.ColorDepth = System.Windows.Forms.ColorDepth.Depth8Bit; this.icons.ImageSize = new System.Drawing.Size(16, 16); this.icons.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("icons.ImageStream"))); this.icons.TransparentColor = System.Drawing.Color.Transparent; // // statusBar1 // this.statusBar1.Anchor = ((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right); this.statusBar1.Dock = System.Windows.Forms.DockStyle.None; this.statusBar1.Location = new System.Drawing.Point(0, 360); this.statusBar1.Name = "statusBar1"; this.statusBar1.Panels.AddRange(new System.Windows.Forms.StatusBarPanel[] { this.statusBarPanel1, this.statusBarPanel2, this.statusBarPanel3 }); this.statusBar1.ShowPanels = true; this.statusBar1.Size = new System.Drawing.Size(568, 24); this.statusBar1.TabIndex = 4; this.statusBar1.Text = "statusBar1"; // // statusBarPanel1 // this.statusBarPanel1.AutoSize = System.Windows.Forms.StatusBarPanelAutoSize.Spring; this.statusBarPanel1.Width = 352; // // statusBarPanel2 // this.statusBarPanel2.Alignment = System.Windows.Forms.HorizontalAlignment.Center; // // statusBarPanel3 // this.statusBarPanel3.Alignment = System.Windows.Forms.HorizontalAlignment.Right; // // panel1 // this.panel1.Controls.AddRange(new System.Windows.Forms.Control[] { this.listView1, this.treeView1 }); this.panel1.Location = new System.Drawing.Point(0, 40); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(648, 320); this.panel1.TabIndex = 5; // // listView1 // this.listView1.AllowColumnReorder = true; this.listView1.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.columnHeader1 }); this.listView1.ContextMenu = this.itemMenu; this.listView1.FullRowSelect = true; this.listView1.ImeMode = System.Windows.Forms.ImeMode.NoControl; this.listView1.LabelWrap = false; this.listView1.LargeImageList = this.icons; this.listView1.Location = new System.Drawing.Point(200, 0); this.listView1.Name = "listView1"; this.listView1.Size = new System.Drawing.Size(368, 320); this.listView1.SmallImageList = this.icons; this.listView1.StateImageList = this.icons; this.listView1.TabIndex = 1; this.listView1.View = System.Windows.Forms.View.Details; // // columnHeader1 // this.columnHeader1.Text = "No Selection Yet"; this.columnHeader1.Width = 364; // // itemMenu // this.itemMenu.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.editItem }); // // editItem // this.editItem.Index = 0; this.editItem.Text = ""; this.editItem.Click += new System.EventHandler(this.Edit_Selected); // // treeView1 // this.treeView1.ImageList = this.icons; this.treeView1.Name = "treeView1"; this.treeView1.Nodes.AddRange(new System.Windows.Forms.TreeNode[] { new System.Windows.Forms.TreeNode("Store Services", 5, 5, new System.Windows.Forms.TreeNode[] { new System.Windows.Forms.TreeNode("Items", 6, 6), new System.Windows.Forms.TreeNode("BusinessPartners", 7, 7), new System.Windows.Forms.TreeNode("Orders", 8, 8) }) }); this.treeView1.Size = new System.Drawing.Size(200, 344); this.treeView1.TabIndex = 0; this.treeView1.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.Service_Selected); // // comboBox1 // this.comboBox1.Location = new System.Drawing.Point(168, 3); this.comboBox1.Name = "comboBox1"; this.comboBox1.Size = new System.Drawing.Size(247, 21); this.comboBox1.TabIndex = 6; this.comboBox1.Text = "http://localhost:8080/axis/services"; // // SampleForm // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(568, 385); this.Controls.AddRange(new System.Windows.Forms.Control[] { this.statusBar1, this.comboBox1, this.pictureBox1, this.toolBar1, this.panel1 }); this.Menu = this.menu; this.Name = "SampleForm"; this.Text = "JBoss.net Interoperability Sample"; this.Load += new System.EventHandler(this.SampleForm_Load); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel3)).EndInit(); this.panel1.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// 设计器支持所需的方法 - 不要使用代码编辑器修改 /// 此方法的内容。 /// </summary> private void InitializeComponent() { this.panel1 = new System.Windows.Forms.Panel(); this.treeView1 = new System.Windows.Forms.TreeView(); this.panel2 = new System.Windows.Forms.Panel(); this.label1 = new System.Windows.Forms.Label(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.btnReUseAll = new PinkieControls.ButtonXP(); this.btReUse = new PinkieControls.ButtonXP(); this.btExit = new PinkieControls.ButtonXP(); this.btPrint = new PinkieControls.ButtonXP(); this.btReConsultation = new PinkieControls.ButtonXP(); this.splitter1 = new System.Windows.Forms.Splitter(); this.myPrintPreViewControl1 = new com.digitalwave.controls.Control.MyPrintPreViewControl(); this.printDocument1 = new System.Drawing.Printing.PrintDocument(); this.panel1.SuspendLayout(); this.panel2.SuspendLayout(); this.groupBox1.SuspendLayout(); this.SuspendLayout(); // // panel1 // this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.panel1.Controls.Add(this.treeView1); this.panel1.Controls.Add(this.panel2); this.panel1.Dock = System.Windows.Forms.DockStyle.Left; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(176, 597); this.panel1.TabIndex = 0; // // treeView1 // this.treeView1.Dock = System.Windows.Forms.DockStyle.Fill; this.treeView1.ImageIndex = -1; this.treeView1.Location = new System.Drawing.Point(0, 28); this.treeView1.Name = "treeView1"; this.treeView1.SelectedImageIndex = -1; this.treeView1.Size = new System.Drawing.Size(172, 565); this.treeView1.TabIndex = 2; this.treeView1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.treeView1_KeyDown); this.treeView1.DoubleClick += new System.EventHandler(this.treeView1_DoubleClick); // // panel2 // this.panel2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.panel2.Controls.Add(this.label1); this.panel2.Dock = System.Windows.Forms.DockStyle.Top; this.panel2.Location = new System.Drawing.Point(0, 0); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(172, 28); this.panel2.TabIndex = 1; // // label1 // this.label1.Location = new System.Drawing.Point(8, 4); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(160, 20); this.label1.TabIndex = 0; this.label1.Text = "病 历 列 表"; this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // groupBox1 // this.groupBox1.Controls.Add(this.btnReUseAll); this.groupBox1.Controls.Add(this.btReUse); this.groupBox1.Controls.Add(this.btExit); this.groupBox1.Controls.Add(this.btPrint); this.groupBox1.Controls.Add(this.btReConsultation); this.groupBox1.Dock = System.Windows.Forms.DockStyle.Bottom; this.groupBox1.Location = new System.Drawing.Point(176, 529); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(732, 68); this.groupBox1.TabIndex = 1; this.groupBox1.TabStop = false; // // btnReUseAll // this.btnReUseAll.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(0)), ((System.Byte)(212)), ((System.Byte)(208)), ((System.Byte)(200))); this.btnReUseAll.DefaultScheme = true; this.btnReUseAll.DialogResult = System.Windows.Forms.DialogResult.None; this.btnReUseAll.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.btnReUseAll.Hint = ""; this.btnReUseAll.Location = new System.Drawing.Point(308, 24); this.btnReUseAll.Name = "btnReUseAll"; this.btnReUseAll.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.btnReUseAll.Scheme = PinkieControls.ButtonXP.Schemes.Blue; this.btnReUseAll.Size = new System.Drawing.Size(118, 32); this.btnReUseAll.TabIndex = 14; this.btnReUseAll.Text = "复用病历及处方"; this.btnReUseAll.Click += new System.EventHandler(this.btnReUseAll_Click); // // btReUse // this.btReUse.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(0)), ((System.Byte)(212)), ((System.Byte)(208)), ((System.Byte)(200))); this.btReUse.DefaultScheme = true; this.btReUse.DialogResult = System.Windows.Forms.DialogResult.None; this.btReUse.Hint = ""; this.btReUse.Location = new System.Drawing.Point(164, 24); this.btReUse.Name = "btReUse"; this.btReUse.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.btReUse.Scheme = PinkieControls.ButtonXP.Schemes.Blue; this.btReUse.Size = new System.Drawing.Size(104, 32); this.btReUse.TabIndex = 13; this.btReUse.Text = "复用病历(&U)"; this.btReUse.Click += new System.EventHandler(this.btReUse_Click); // // btExit // this.btExit.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(0)), ((System.Byte)(212)), ((System.Byte)(208)), ((System.Byte)(200))); this.btExit.DefaultScheme = true; this.btExit.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.btExit.Hint = ""; this.btExit.Location = new System.Drawing.Point(606, 24); this.btExit.Name = "btExit"; this.btExit.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.btExit.Scheme = PinkieControls.ButtonXP.Schemes.Blue; this.btExit.Size = new System.Drawing.Size(100, 32); this.btExit.TabIndex = 12; this.btExit.Text = "退出(ESC)"; this.btExit.Click += new System.EventHandler(this.btExit_Click); // // btPrint // this.btPrint.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(0)), ((System.Byte)(212)), ((System.Byte)(208)), ((System.Byte)(200))); this.btPrint.DefaultScheme = true; this.btPrint.DialogResult = System.Windows.Forms.DialogResult.None; this.btPrint.Hint = ""; this.btPrint.Location = new System.Drawing.Point(466, 24); this.btPrint.Name = "btPrint"; this.btPrint.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.btPrint.Scheme = PinkieControls.ButtonXP.Schemes.Blue; this.btPrint.Size = new System.Drawing.Size(100, 32); this.btPrint.TabIndex = 11; this.btPrint.Text = "打印(&P)"; this.btPrint.Click += new System.EventHandler(this.btPrint_Click); // // btReConsultation // this.btReConsultation.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(0)), ((System.Byte)(212)), ((System.Byte)(208)), ((System.Byte)(200))); this.btReConsultation.DefaultScheme = true; this.btReConsultation.DialogResult = System.Windows.Forms.DialogResult.None; this.btReConsultation.Hint = ""; this.btReConsultation.Location = new System.Drawing.Point(24, 24); this.btReConsultation.Name = "btReConsultation"; this.btReConsultation.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.btReConsultation.Scheme = PinkieControls.ButtonXP.Schemes.Blue; this.btReConsultation.Size = new System.Drawing.Size(100, 32); this.btReConsultation.TabIndex = 10; this.btReConsultation.Text = "复诊(&R)"; this.btReConsultation.Click += new System.EventHandler(this.btReConsultation_Click); // // splitter1 // this.splitter1.Location = new System.Drawing.Point(176, 0); this.splitter1.Name = "splitter1"; this.splitter1.Size = new System.Drawing.Size(3, 529); this.splitter1.TabIndex = 2; this.splitter1.TabStop = false; // // myPrintPreViewControl1 // this.myPrintPreViewControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.myPrintPreViewControl1.Document = this.printDocument1; this.myPrintPreViewControl1.Location = new System.Drawing.Point(179, 0); this.myPrintPreViewControl1.Name = "myPrintPreViewControl1"; this.myPrintPreViewControl1.ReportName = ""; this.myPrintPreViewControl1.ShowPannel = false; this.myPrintPreViewControl1.ShowPrintButton = true; this.myPrintPreViewControl1.Size = new System.Drawing.Size(729, 529); this.myPrintPreViewControl1.TabIndex = 3; // // printDocument1 // this.printDocument1.BeginPrint += new System.Drawing.Printing.PrintEventHandler(this.printDocument1_BeginPrint); this.printDocument1.EndPrint += new System.Drawing.Printing.PrintEventHandler(this.printDocument1_EndPrint); this.printDocument1.PrintPage += new System.Drawing.Printing.PrintPageEventHandler(this.printDocument1_PrintPage); // // frmShowCaseHistory // this.AutoScaleBaseSize = new System.Drawing.Size(7, 16); this.CancelButton = this.btExit; this.ClientSize = new System.Drawing.Size(908, 597); this.Controls.Add(this.myPrintPreViewControl1); this.Controls.Add(this.splitter1); this.Controls.Add(this.groupBox1); this.Controls.Add(this.panel1); this.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.Name = "frmShowCaseHistory"; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "查看病历"; this.Load += new System.EventHandler(this.frmShowCaseHistory_Load); this.panel1.ResumeLayout(false); this.panel2.ResumeLayout(false); this.groupBox1.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(Form1)); this.Tree = new System.Windows.Forms.TreeView(); this.btLoadTree = new System.Windows.Forms.Button(); this.btClose = new System.Windows.Forms.Button(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.btStop = new System.Windows.Forms.Button(); this.btStart = new System.Windows.Forms.Button(); this.label2 = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label(); this.groupBox1.SuspendLayout(); this.SuspendLayout(); // // Tree // this.Tree.HideSelection = false; this.Tree.ImageIndex = -1; this.Tree.Location = new System.Drawing.Point(8, 8); this.Tree.Name = "Tree"; this.Tree.SelectedImageIndex = -1; this.Tree.Size = new System.Drawing.Size(272, 248); this.Tree.TabIndex = 0; this.Tree.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.Tree_AfterSelect); // // btLoadTree // this.btLoadTree.FlatStyle = System.Windows.Forms.FlatStyle.System; this.btLoadTree.Location = new System.Drawing.Point(288, 8); this.btLoadTree.Name = "btLoadTree"; this.btLoadTree.TabIndex = 1; this.btLoadTree.Text = "Load &Tree"; this.btLoadTree.Click += new System.EventHandler(this.btLoad_Click); // // btClose // this.btClose.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.btClose.FlatStyle = System.Windows.Forms.FlatStyle.System; this.btClose.Location = new System.Drawing.Point(288, 40); this.btClose.Name = "btClose"; this.btClose.TabIndex = 3; this.btClose.Text = "&Close"; this.btClose.Click += new System.EventHandler(this.btClose_Click); // // groupBox1 // this.groupBox1.Controls.Add(this.btStop); this.groupBox1.Controls.Add(this.btStart); this.groupBox1.Controls.Add(this.label2); this.groupBox1.Controls.Add(this.label1); this.groupBox1.Location = new System.Drawing.Point(8, 264); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(352, 80); this.groupBox1.TabIndex = 4; this.groupBox1.TabStop = false; this.groupBox1.Text = " Project information "; // // btStop // this.btStop.FlatStyle = System.Windows.Forms.FlatStyle.System; this.btStop.Location = new System.Drawing.Point(264, 48); this.btStop.Name = "btStop"; this.btStop.TabIndex = 3; this.btStop.Text = "S&top"; this.btStop.Click += new System.EventHandler(this.btStop_Click); // // btStart // this.btStart.FlatStyle = System.Windows.Forms.FlatStyle.System; this.btStart.Location = new System.Drawing.Point(176, 48); this.btStart.Name = "btStart"; this.btStart.TabIndex = 2; this.btStart.Text = "&Start"; this.btStart.Click += new System.EventHandler(this.btStart_Click); // // label2 // this.label2.Location = new System.Drawing.Point(48, 24); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(296, 16); this.label2.TabIndex = 1; this.label2.Text = "- No project is selected-"; this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // label1 // this.label1.Location = new System.Drawing.Point(8, 24); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(32, 16); this.label1.TabIndex = 0; this.label1.Text = "URL:"; this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 14); this.CancelButton = this.btClose; this.ClientSize = new System.Drawing.Size(368, 352); this.Controls.Add(this.groupBox1); this.Controls.Add(this.btClose); this.Controls.Add(this.btLoadTree); this.Controls.Add(this.Tree); this.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(204))); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "Form1"; this.Text = "OEE automation sample"; this.groupBox1.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { BrowseTV = new System.Windows.Forms.TreeView(); PopupMenu = new System.Windows.Forms.ContextMenuStrip(); PickMI = new System.Windows.Forms.ToolStripMenuItem(); PickChildrenMI = new System.Windows.Forms.ToolStripMenuItem(); Separator01 = new System.Windows.Forms.ToolStripMenuItem(); EditFiltersMI = new System.Windows.Forms.ToolStripMenuItem(); RefreshMI = new System.Windows.Forms.ToolStripMenuItem(); Separator02 = new System.Windows.Forms.ToolStripMenuItem(); SetLoginMI = new System.Windows.Forms.ToolStripMenuItem(); ConnectMI = new System.Windows.Forms.ToolStripMenuItem(); DisconnectMI = new System.Windows.Forms.ToolStripMenuItem(); menuItem1 = new System.Windows.Forms.ToolStripMenuItem(); ViewComplexTypeMI = new System.Windows.Forms.ToolStripMenuItem(); SuspendLayout(); // // BrowseTV // BrowseTV.ContextMenuStrip = PopupMenu; BrowseTV.Dock = System.Windows.Forms.DockStyle.Fill; BrowseTV.ImageIndex = -1; BrowseTV.Location = new System.Drawing.Point(0, 0); BrowseTV.Name = "BrowseTV"; BrowseTV.SelectedImageIndex = -1; BrowseTV.Size = new System.Drawing.Size(400, 400); BrowseTV.TabIndex = 0; BrowseTV.MouseDown += new System.Windows.Forms.MouseEventHandler(BrowseTV_MouseDown); BrowseTV.DoubleClick += new System.EventHandler(PickMI_Click); BrowseTV.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(BrowseTV_AfterSelect); BrowseTV.BeforeExpand += new System.Windows.Forms.TreeViewCancelEventHandler(BrowseTV_BeforeExpand); // // PopupMenu // PopupMenu.Items.AddRange(new System.Windows.Forms.ToolStripMenuItem[] { PickMI, PickChildrenMI, Separator01, EditFiltersMI, RefreshMI, Separator02, SetLoginMI, ConnectMI, DisconnectMI, menuItem1, ViewComplexTypeMI }); // // PickMI // PickMI.ImageIndex = 0; PickMI.Text = "&Select"; PickMI.Click += new System.EventHandler(PickMI_Click); // // PickChildrenMI // PickChildrenMI.ImageIndex = 1; PickChildrenMI.Text = "Select Chil&dren"; PickChildrenMI.Click += new System.EventHandler(PickChildrenMI_Click); // // Separator01 // Separator01.ImageIndex = 2; Separator01.Text = "-"; // // RefreshMI // RefreshMI.ImageIndex = 4; RefreshMI.Text = "&Refresh"; // // Separator02 // Separator02.ImageIndex = 5; Separator02.Text = "-"; // // SetLoginMI // SetLoginMI.ImageIndex = 6; SetLoginMI.Text = "Set &Login..."; SetLoginMI.Click += new System.EventHandler(SetLoginMI_Click); // // ConnectMI // ConnectMI.ImageIndex = 7; ConnectMI.Text = "&Connect..."; ConnectMI.Click += new System.EventHandler(ConnectMI_Click); // // DisconnectMI // DisconnectMI.ImageIndex = 8; DisconnectMI.Text = "&Disconnect"; DisconnectMI.Click += new System.EventHandler(DisconnectMI_Click); // // menuItem1 // menuItem1.ImageIndex = 9; menuItem1.Text = "-"; // // ViewComplexTypeMI // ViewComplexTypeMI.ImageIndex = 10; ViewComplexTypeMI.Text = "&View Complex Type..."; ViewComplexTypeMI.Click += new System.EventHandler(ViewComplexTypeMI_Click); // // BrowseTreeCtrl // Controls.Add(BrowseTV); Name = "BrowseTreeCtrl"; Size = new System.Drawing.Size(400, 400); ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.gridOptions = new System.Windows.Forms.PropertyGrid(); this.btnOK = new System.Windows.Forms.Button(); this.btnCancel = new System.Windows.Forms.Button(); this.treeView1 = new System.Windows.Forms.TreeView(); this.btnDefaults = new System.Windows.Forms.Button(); this.SuspendLayout(); // // gridOptions // this.gridOptions.CommandsVisibleIfAvailable = true; this.gridOptions.LargeButtons = false; this.gridOptions.LineColor = System.Drawing.SystemColors.ScrollBar; this.gridOptions.Location = new System.Drawing.Point(184, 8); this.gridOptions.Name = "gridOptions"; this.gridOptions.PropertySort = System.Windows.Forms.PropertySort.Categorized; this.gridOptions.Size = new System.Drawing.Size(304, 328); this.gridOptions.TabIndex = 4; this.gridOptions.Text = "PropertyGrid"; this.gridOptions.ViewBackColor = System.Drawing.SystemColors.Window; this.gridOptions.ViewForeColor = System.Drawing.SystemColors.WindowText; // // btnOK // this.btnOK.DialogResult = System.Windows.Forms.DialogResult.OK; this.btnOK.Location = new System.Drawing.Point(328, 352); this.btnOK.Name = "btnOK"; this.btnOK.TabIndex = 0; this.btnOK.Text = "&OK"; this.btnOK.Click += new System.EventHandler(this.btnOK_Click); // // btnCancel // this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.btnCancel.Location = new System.Drawing.Point(416, 352); this.btnCancel.Name = "btnCancel"; this.btnCancel.TabIndex = 1; this.btnCancel.Text = "&Cancel"; this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click); // // treeView1 // this.treeView1.ImageIndex = -1; this.treeView1.Location = new System.Drawing.Point(8, 8); this.treeView1.Name = "treeView1"; this.treeView1.SelectedImageIndex = -1; this.treeView1.Size = new System.Drawing.Size(168, 328); this.treeView1.TabIndex = 7; this.treeView1.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.treeView1_AfterSelect); // // btnDefaults // this.btnDefaults.Location = new System.Drawing.Point(8, 352); this.btnDefaults.Name = "btnDefaults"; this.btnDefaults.TabIndex = 8; this.btnDefaults.Text = "&Defaults"; this.btnDefaults.Click += new System.EventHandler(this.btnDefaults_Click); // // frmOptions // this.AcceptButton = this.btnOK; this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.CancelButton = this.btnCancel; this.ClientSize = new System.Drawing.Size(498, 384); this.Controls.AddRange(new System.Windows.Forms.Control[] { this.btnDefaults, this.treeView1, this.btnCancel, this.btnOK, this.gridOptions }); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "frmOptions"; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Text = "Options"; this.Load += new System.EventHandler(this.frmOptions_Load); this.ResumeLayout(false); }
/// <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.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(GoldForm)); this.toolBar = new System.Windows.Forms.ToolBar(); this.openGrammarButton = new System.Windows.Forms.ToolBarButton(); this.testGrammarButton = new System.Windows.Forms.ToolBarButton(); this.logButton = new System.Windows.Forms.ToolBarButton(); this.exitButton = new System.Windows.Forms.ToolBarButton(); this.imageList = new System.Windows.Forms.ImageList(this.components); this.statusBar = new System.Windows.Forms.StatusBar(); this.logBox = new System.Windows.Forms.RichTextBox(); this.tabControl = new System.Windows.Forms.TabControl(); this.sourcePage = new System.Windows.Forms.TabPage(); this.sourcePanel = new System.Windows.Forms.Panel(); this.openSourceButton = new System.Windows.Forms.Button(); this.label1 = new System.Windows.Forms.Label(); this.maxErrorsBox = new System.Windows.Forms.ComboBox(); this.trimReductionsBox = new System.Windows.Forms.CheckBox(); this.parseButton = new System.Windows.Forms.Button(); this.sourceTextBox = new System.Windows.Forms.RichTextBox(); this.parseActionsPage = new System.Windows.Forms.TabPage(); this.parseActionsPanel = new System.Windows.Forms.Panel(); this.parseActionsView = new System.Windows.Forms.ListView(); this.actionHeader = new System.Windows.Forms.ColumnHeader(); this.positionHeader = new System.Windows.Forms.ColumnHeader(); this.lineHeader = new System.Windows.Forms.ColumnHeader(); this.columnHeader = new System.Windows.Forms.ColumnHeader(); this.descriptionHeader = new System.Windows.Forms.ColumnHeader(); this.valueHeader = new System.Windows.Forms.ColumnHeader(); this.stateHeader = new System.Windows.Forms.ColumnHeader(); this.viewImageList = new System.Windows.Forms.ImageList(this.components); this.parseTreePage = new System.Windows.Forms.TabPage(); this.parseTreePanel = new System.Windows.Forms.Panel(); this.parseTreeView = new System.Windows.Forms.TreeView(); this.treeImageList = new System.Windows.Forms.ImageList(this.components); this.mainPanel = new System.Windows.Forms.Panel(); this.mainMenu = new System.Windows.Forms.MainMenu(); this.fileItem = new System.Windows.Forms.MenuItem(); this.openGrammarItem = new System.Windows.Forms.MenuItem(); this.exitItem = new System.Windows.Forms.MenuItem(); this.menuItem1 = new System.Windows.Forms.MenuItem(); this.menuItem2 = new System.Windows.Forms.MenuItem(); this.menuItem3 = new System.Windows.Forms.MenuItem(); this.setFontMenuItem = new System.Windows.Forms.MenuItem(); this.helpItem = new System.Windows.Forms.MenuItem(); this.aboutItem = new System.Windows.Forms.MenuItem(); this.openGrammarDialog = new System.Windows.Forms.OpenFileDialog(); this.fontDialog = new System.Windows.Forms.FontDialog(); this.openSourceDialog = new System.Windows.Forms.OpenFileDialog(); this.tabControl.SuspendLayout(); this.sourcePage.SuspendLayout(); this.sourcePanel.SuspendLayout(); this.parseActionsPage.SuspendLayout(); this.parseActionsPanel.SuspendLayout(); this.parseTreePage.SuspendLayout(); this.parseTreePanel.SuspendLayout(); this.mainPanel.SuspendLayout(); this.SuspendLayout(); // // toolBar // this.toolBar.Appearance = System.Windows.Forms.ToolBarAppearance.Flat; this.toolBar.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] { this.openGrammarButton, this.testGrammarButton, this.logButton, this.exitButton }); this.toolBar.DropDownArrows = true; this.toolBar.ImageList = this.imageList; this.toolBar.Location = new System.Drawing.Point(0, 0); this.toolBar.Name = "toolBar"; this.toolBar.ShowToolTips = true; this.toolBar.Size = new System.Drawing.Size(784, 44); this.toolBar.TabIndex = 6; this.toolBar.ButtonClick += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.toolBar_ButtonClick); // // openGrammarButton // this.openGrammarButton.ImageIndex = 0; this.openGrammarButton.ToolTipText = "Open Grammar File"; // // testGrammarButton // this.testGrammarButton.ImageIndex = 5; this.testGrammarButton.ToolTipText = "Test Grammar"; // // logButton // this.logButton.ImageIndex = 1; this.logButton.ToolTipText = "View Log"; // // exitButton // this.exitButton.ImageIndex = 3; this.exitButton.ToolTipText = "Exit"; // // imageList // this.imageList.ColorDepth = System.Windows.Forms.ColorDepth.Depth24Bit; this.imageList.ImageSize = new System.Drawing.Size(32, 32); this.imageList.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList.ImageStream"))); this.imageList.TransparentColor = System.Drawing.Color.Transparent; // // statusBar // this.statusBar.Location = new System.Drawing.Point(0, 507); this.statusBar.Name = "statusBar"; this.statusBar.Size = new System.Drawing.Size(784, 22); this.statusBar.TabIndex = 7; // // logBox // this.logBox.Dock = System.Windows.Forms.DockStyle.Fill; this.logBox.Font = new System.Drawing.Font("Courier New", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.logBox.Location = new System.Drawing.Point(5, 5); this.logBox.Name = "logBox"; this.logBox.ReadOnly = true; this.logBox.Size = new System.Drawing.Size(774, 453); this.logBox.TabIndex = 8; this.logBox.Text = ""; // // tabControl // this.tabControl.Controls.Add(this.sourcePage); this.tabControl.Controls.Add(this.parseActionsPage); this.tabControl.Controls.Add(this.parseTreePage); this.tabControl.Dock = System.Windows.Forms.DockStyle.Fill; this.tabControl.Location = new System.Drawing.Point(5, 5); this.tabControl.Name = "tabControl"; this.tabControl.SelectedIndex = 0; this.tabControl.Size = new System.Drawing.Size(774, 453); this.tabControl.TabIndex = 10; this.tabControl.Visible = false; // // sourcePage // this.sourcePage.Controls.Add(this.sourcePanel); this.sourcePage.Location = new System.Drawing.Point(4, 22); this.sourcePage.Name = "sourcePage"; this.sourcePage.Size = new System.Drawing.Size(766, 427); this.sourcePage.TabIndex = 0; this.sourcePage.Text = "Source"; // // sourcePanel // this.sourcePanel.Controls.Add(this.openSourceButton); this.sourcePanel.Controls.Add(this.label1); this.sourcePanel.Controls.Add(this.maxErrorsBox); this.sourcePanel.Controls.Add(this.trimReductionsBox); this.sourcePanel.Controls.Add(this.parseButton); this.sourcePanel.Controls.Add(this.sourceTextBox); this.sourcePanel.Dock = System.Windows.Forms.DockStyle.Fill; this.sourcePanel.DockPadding.Bottom = 40; this.sourcePanel.DockPadding.Left = 5; this.sourcePanel.DockPadding.Right = 5; this.sourcePanel.DockPadding.Top = 5; this.sourcePanel.Location = new System.Drawing.Point(0, 0); this.sourcePanel.Name = "sourcePanel"; this.sourcePanel.Size = new System.Drawing.Size(766, 427); this.sourcePanel.TabIndex = 1; // // openSourceButton // this.openSourceButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.openSourceButton.Location = new System.Drawing.Point(8, 400); this.openSourceButton.Name = "openSourceButton"; this.openSourceButton.TabIndex = 5; this.openSourceButton.Text = "Source..."; this.openSourceButton.Click += new System.EventHandler(this.openSourceButton_Click); // // label1 // this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.label1.Location = new System.Drawing.Point(296, 400); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(96, 24); this.label1.TabIndex = 4; this.label1.Text = "Maximum errors:"; this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // maxErrorsBox // this.maxErrorsBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.maxErrorsBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.maxErrorsBox.Items.AddRange(new object[] { "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "100", "1000" }); this.maxErrorsBox.Location = new System.Drawing.Point(408, 400); this.maxErrorsBox.Name = "maxErrorsBox"; this.maxErrorsBox.Size = new System.Drawing.Size(88, 21); this.maxErrorsBox.TabIndex = 3; this.maxErrorsBox.SelectedIndexChanged += new System.EventHandler(this.maxErrorsBox_SelectedIndexChanged); // // trimReductionsBox // this.trimReductionsBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.trimReductionsBox.Location = new System.Drawing.Point(184, 400); this.trimReductionsBox.Name = "trimReductionsBox"; this.trimReductionsBox.TabIndex = 2; this.trimReductionsBox.Text = "Trim reductions"; this.trimReductionsBox.CheckedChanged += new System.EventHandler(this.trimReductionsBox_CheckedChanged); // // parseButton // this.parseButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.parseButton.Location = new System.Drawing.Point(96, 400); this.parseButton.Name = "parseButton"; this.parseButton.TabIndex = 1; this.parseButton.Text = "Parse"; this.parseButton.Click += new System.EventHandler(this.parseButton_Click); // // sourceTextBox // this.sourceTextBox.AcceptsTab = true; this.sourceTextBox.DetectUrls = false; this.sourceTextBox.Dock = System.Windows.Forms.DockStyle.Fill; this.sourceTextBox.Font = new System.Drawing.Font("Arial Unicode MS", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.sourceTextBox.Location = new System.Drawing.Point(5, 5); this.sourceTextBox.Name = "sourceTextBox"; this.sourceTextBox.Size = new System.Drawing.Size(756, 382); this.sourceTextBox.TabIndex = 0; this.sourceTextBox.Text = ""; // // parseActionsPage // this.parseActionsPage.Controls.Add(this.parseActionsPanel); this.parseActionsPage.Location = new System.Drawing.Point(4, 22); this.parseActionsPage.Name = "parseActionsPage"; this.parseActionsPage.Size = new System.Drawing.Size(766, 429); this.parseActionsPage.TabIndex = 1; this.parseActionsPage.Text = "Parse Actions"; // // parseActionsPanel // this.parseActionsPanel.Controls.Add(this.parseActionsView); this.parseActionsPanel.Dock = System.Windows.Forms.DockStyle.Fill; this.parseActionsPanel.DockPadding.All = 5; this.parseActionsPanel.Location = new System.Drawing.Point(0, 0); this.parseActionsPanel.Name = "parseActionsPanel"; this.parseActionsPanel.Size = new System.Drawing.Size(766, 429); this.parseActionsPanel.TabIndex = 1; // // parseActionsView // this.parseActionsView.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.actionHeader, this.positionHeader, this.lineHeader, this.columnHeader, this.descriptionHeader, this.valueHeader, this.stateHeader }); this.parseActionsView.Dock = System.Windows.Forms.DockStyle.Fill; this.parseActionsView.Font = new System.Drawing.Font("Arial Unicode MS", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.parseActionsView.FullRowSelect = true; this.parseActionsView.GridLines = true; this.parseActionsView.Location = new System.Drawing.Point(5, 5); this.parseActionsView.Name = "parseActionsView"; this.parseActionsView.Size = new System.Drawing.Size(756, 419); this.parseActionsView.SmallImageList = this.viewImageList; this.parseActionsView.TabIndex = 0; this.parseActionsView.View = System.Windows.Forms.View.Details; // // actionHeader // this.actionHeader.Text = "Action"; this.actionHeader.Width = 110; // // positionHeader // this.positionHeader.Text = "pos"; this.positionHeader.Width = 62; // // lineHeader // this.lineHeader.Text = "ln"; this.lineHeader.Width = 40; // // columnHeader // this.columnHeader.Text = "col"; this.columnHeader.Width = 38; // // descriptionHeader // this.descriptionHeader.Text = "Description"; this.descriptionHeader.Width = 285; // // valueHeader // this.valueHeader.Text = "Value"; this.valueHeader.Width = 145; // // stateHeader // this.stateHeader.Text = "State"; this.stateHeader.Width = 81; // // viewImageList // this.viewImageList.ColorDepth = System.Windows.Forms.ColorDepth.Depth24Bit; this.viewImageList.ImageSize = new System.Drawing.Size(16, 16); this.viewImageList.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("viewImageList.ImageStream"))); this.viewImageList.TransparentColor = System.Drawing.Color.Transparent; // // parseTreePage // this.parseTreePage.Controls.Add(this.parseTreePanel); this.parseTreePage.Location = new System.Drawing.Point(4, 22); this.parseTreePage.Name = "parseTreePage"; this.parseTreePage.Size = new System.Drawing.Size(766, 429); this.parseTreePage.TabIndex = 2; this.parseTreePage.Text = "Parse Tree"; // // parseTreePanel // this.parseTreePanel.Controls.Add(this.parseTreeView); this.parseTreePanel.Dock = System.Windows.Forms.DockStyle.Fill; this.parseTreePanel.DockPadding.All = 5; this.parseTreePanel.Location = new System.Drawing.Point(0, 0); this.parseTreePanel.Name = "parseTreePanel"; this.parseTreePanel.Size = new System.Drawing.Size(766, 429); this.parseTreePanel.TabIndex = 1; // // parseTreeView // this.parseTreeView.Dock = System.Windows.Forms.DockStyle.Fill; this.parseTreeView.Font = new System.Drawing.Font("Arial Unicode MS", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.parseTreeView.ImageList = this.treeImageList; this.parseTreeView.Location = new System.Drawing.Point(5, 5); this.parseTreeView.Name = "parseTreeView"; this.parseTreeView.Size = new System.Drawing.Size(756, 419); this.parseTreeView.TabIndex = 0; // // treeImageList // this.treeImageList.ColorDepth = System.Windows.Forms.ColorDepth.Depth24Bit; this.treeImageList.ImageSize = new System.Drawing.Size(16, 16); this.treeImageList.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("treeImageList.ImageStream"))); this.treeImageList.TransparentColor = System.Drawing.Color.Transparent; // // mainPanel // this.mainPanel.Controls.Add(this.tabControl); this.mainPanel.Controls.Add(this.logBox); this.mainPanel.Dock = System.Windows.Forms.DockStyle.Fill; this.mainPanel.DockPadding.All = 5; this.mainPanel.Location = new System.Drawing.Point(0, 44); this.mainPanel.Name = "mainPanel"; this.mainPanel.Size = new System.Drawing.Size(784, 463); this.mainPanel.TabIndex = 11; // // mainMenu // this.mainMenu.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.fileItem, this.menuItem1, this.helpItem }); // // fileItem // this.fileItem.Index = 0; this.fileItem.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.openGrammarItem, this.exitItem }); this.fileItem.Text = "File"; // // openGrammarItem // this.openGrammarItem.Index = 0; this.openGrammarItem.Text = "&Open Grammar"; this.openGrammarItem.Click += new System.EventHandler(this.openGrammarClick); // // exitItem // this.exitItem.Index = 1; this.exitItem.Text = "Exit"; this.exitItem.Click += new System.EventHandler(this.exitClick); // // menuItem1 // this.menuItem1.Index = 1; this.menuItem1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuItem2, this.menuItem3, this.setFontMenuItem }); this.menuItem1.Text = "View"; // // menuItem2 // this.menuItem2.Index = 0; this.menuItem2.Text = "Test Grammar"; this.menuItem2.Click += new System.EventHandler(this.testGrammarClick); // // menuItem3 // this.menuItem3.Index = 1; this.menuItem3.Text = "View Log"; this.menuItem3.Click += new System.EventHandler(this.viewLogClick); // // setFontMenuItem // this.setFontMenuItem.Index = 2; this.setFontMenuItem.Text = "Set Font"; this.setFontMenuItem.Click += new System.EventHandler(this.setFontMenuItem_Click); // // helpItem // this.helpItem.Index = 2; this.helpItem.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.aboutItem }); this.helpItem.Text = "Help"; // // aboutItem // this.aboutItem.Index = 0; this.aboutItem.Text = "About"; this.aboutItem.Click += new System.EventHandler(this.aboutClick); // // openGrammarDialog // this.openGrammarDialog.Filter = "Compiled Grammar Table files (*.cgt)|*.cgt|All Files (*.*)|*.*"; // // fontDialog // this.fontDialog.Font = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); // // openSourceDialog // this.openSourceDialog.Filter = "All Files (*.*)|*.*"; // // GoldForm // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(784, 529); this.Controls.Add(this.mainPanel); this.Controls.Add(this.statusBar); this.Controls.Add(this.toolBar); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Menu = this.mainMenu; this.Name = "GoldForm"; this.Text = "GOLD Parser Engine Test"; this.tabControl.ResumeLayout(false); this.sourcePage.ResumeLayout(false); this.sourcePanel.ResumeLayout(false); this.parseActionsPage.ResumeLayout(false); this.parseActionsPanel.ResumeLayout(false); this.parseTreePage.ResumeLayout(false); this.parseTreePanel.ResumeLayout(false); this.mainPanel.ResumeLayout(false); this.ResumeLayout(false); }
/// <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.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(Dom)); this.m_tvDom = new System.Windows.Forms.TreeView(); this.m_imgListTree = new System.Windows.Forms.ImageList(this.components); this.m_lvData = new System.Windows.Forms.ListView(); this.m_lvColLabel = new System.Windows.Forms.ColumnHeader(); this.m_lvColValue = new System.Windows.Forms.ColumnHeader(); this.m_rbNodeNameOnly = new System.Windows.Forms.RadioButton(); this.m_rbNodeAndText = new System.Windows.Forms.RadioButton(); this.m_grpLabelDisplay = new System.Windows.Forms.GroupBox(); this.m_grpNodeDisplay = new System.Windows.Forms.GroupBox(); this.m_cbHideTextNodes = new System.Windows.Forms.CheckBox(); this.m_cbHideCommentNodes = new System.Windows.Forms.CheckBox(); this.m_bnParent = new System.Windows.Forms.Button(); this.m_bnOwnerDoc = new System.Windows.Forms.Button(); this.m_bnPrevSibling = new System.Windows.Forms.Button(); this.m_bnNextSibling = new System.Windows.Forms.Button(); this.m_bnFirstChild = new System.Windows.Forms.Button(); this.m_bnLastChild = new System.Windows.Forms.Button(); this.m_txtXpathPattern = new System.Windows.Forms.Label(); this.m_ebXpathPattern = new System.Windows.Forms.TextBox(); this.m_bnSelectSingleNode = new System.Windows.Forms.Button(); this.m_bnSelectNodes = new System.Windows.Forms.Button(); this.m_bnOk = new System.Windows.Forms.Button(); this.m_bnXpathClear = new System.Windows.Forms.Button(); this.m_grpXpath = new System.Windows.Forms.GroupBox(); this.m_bnDocElem = new System.Windows.Forms.Button(); this.m_grpNodeDisplay.SuspendLayout(); this.m_grpXpath.SuspendLayout(); this.SuspendLayout(); // // m_tvDom // this.m_tvDom.Anchor = (((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right); this.m_tvDom.HideSelection = false; this.m_tvDom.ImageList = this.m_imgListTree; this.m_tvDom.Location = new System.Drawing.Point(16, 16); this.m_tvDom.Name = "m_tvDom"; this.m_tvDom.Size = new System.Drawing.Size(336, 416); this.m_tvDom.TabIndex = 0; this.m_tvDom.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.TreeNodeSelected); // // m_imgListTree // this.m_imgListTree.ColorDepth = System.Windows.Forms.ColorDepth.Depth8Bit; this.m_imgListTree.ImageSize = new System.Drawing.Size(16, 16); this.m_imgListTree.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("m_imgListTree.ImageStream"))); this.m_imgListTree.TransparentColor = System.Drawing.Color.Transparent; // // m_lvData // this.m_lvData.Anchor = ((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Right); this.m_lvData.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.m_lvColLabel, this.m_lvColValue }); this.m_lvData.FullRowSelect = true; this.m_lvData.GridLines = true; this.m_lvData.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable; this.m_lvData.Location = new System.Drawing.Point(368, 16); this.m_lvData.MultiSelect = false; this.m_lvData.Name = "m_lvData"; this.m_lvData.Size = new System.Drawing.Size(416, 328); this.m_lvData.TabIndex = 1; this.m_lvData.View = System.Windows.Forms.View.Details; this.m_lvData.Click += new System.EventHandler(this.DataItemSelected); // // m_lvColLabel // this.m_lvColLabel.Text = "Field"; this.m_lvColLabel.Width = 200; // // m_lvColValue // this.m_lvColValue.Text = "Value"; this.m_lvColValue.Width = 250; // // m_rbNodeNameOnly // this.m_rbNodeNameOnly.Anchor = (System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right); this.m_rbNodeNameOnly.Checked = true; this.m_rbNodeNameOnly.FlatStyle = System.Windows.Forms.FlatStyle.System; this.m_rbNodeNameOnly.Location = new System.Drawing.Point(384, 376); this.m_rbNodeNameOnly.Name = "m_rbNodeNameOnly"; this.m_rbNodeNameOnly.Size = new System.Drawing.Size(152, 24); this.m_rbNodeNameOnly.TabIndex = 2; this.m_rbNodeNameOnly.TabStop = true; this.m_rbNodeNameOnly.Text = "Node Name Only"; this.m_rbNodeNameOnly.CheckedChanged += new System.EventHandler(this.OnRbChanged_LabelDisplay); // // m_rbNodeAndText // this.m_rbNodeAndText.Anchor = (System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right); this.m_rbNodeAndText.FlatStyle = System.Windows.Forms.FlatStyle.System; this.m_rbNodeAndText.Location = new System.Drawing.Point(384, 400); this.m_rbNodeAndText.Name = "m_rbNodeAndText"; this.m_rbNodeAndText.Size = new System.Drawing.Size(168, 24); this.m_rbNodeAndText.TabIndex = 4; this.m_rbNodeAndText.Text = "Node Name and Value"; this.m_rbNodeAndText.CheckedChanged += new System.EventHandler(this.OnRbChanged_LabelDisplay); // // m_grpLabelDisplay // this.m_grpLabelDisplay.Anchor = (System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right); this.m_grpLabelDisplay.FlatStyle = System.Windows.Forms.FlatStyle.System; this.m_grpLabelDisplay.Location = new System.Drawing.Point(368, 360); this.m_grpLabelDisplay.Name = "m_grpLabelDisplay"; this.m_grpLabelDisplay.Size = new System.Drawing.Size(200, 72); this.m_grpLabelDisplay.TabIndex = 5; this.m_grpLabelDisplay.TabStop = false; this.m_grpLabelDisplay.Text = "Label Display"; // // m_grpNodeDisplay // this.m_grpNodeDisplay.Anchor = (System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right); this.m_grpNodeDisplay.Controls.AddRange(new System.Windows.Forms.Control[] { this.m_cbHideTextNodes, this.m_cbHideCommentNodes }); this.m_grpNodeDisplay.FlatStyle = System.Windows.Forms.FlatStyle.System; this.m_grpNodeDisplay.Location = new System.Drawing.Point(584, 360); this.m_grpNodeDisplay.Name = "m_grpNodeDisplay"; this.m_grpNodeDisplay.Size = new System.Drawing.Size(200, 72); this.m_grpNodeDisplay.TabIndex = 6; this.m_grpNodeDisplay.TabStop = false; this.m_grpNodeDisplay.Text = "Node Display"; // // m_cbHideTextNodes // this.m_cbHideTextNodes.Anchor = (System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right); this.m_cbHideTextNodes.FlatStyle = System.Windows.Forms.FlatStyle.System; this.m_cbHideTextNodes.Location = new System.Drawing.Point(16, 40); this.m_cbHideTextNodes.Name = "m_cbHideTextNodes"; this.m_cbHideTextNodes.Size = new System.Drawing.Size(176, 24); this.m_cbHideTextNodes.TabIndex = 1; this.m_cbHideTextNodes.Text = "Hide Text Nodes"; this.m_cbHideTextNodes.CheckedChanged += new System.EventHandler(this.OnCbChanged_NodeDisplay); // // m_cbHideCommentNodes // this.m_cbHideCommentNodes.Anchor = (System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right); this.m_cbHideCommentNodes.FlatStyle = System.Windows.Forms.FlatStyle.System; this.m_cbHideCommentNodes.Location = new System.Drawing.Point(16, 16); this.m_cbHideCommentNodes.Name = "m_cbHideCommentNodes"; this.m_cbHideCommentNodes.Size = new System.Drawing.Size(176, 24); this.m_cbHideCommentNodes.TabIndex = 0; this.m_cbHideCommentNodes.Text = "Hide Comment Nodes"; this.m_cbHideCommentNodes.CheckedChanged += new System.EventHandler(this.OnCbChanged_NodeDisplay); // // m_bnParent // this.m_bnParent.Anchor = (System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left); this.m_bnParent.FlatStyle = System.Windows.Forms.FlatStyle.System; this.m_bnParent.Location = new System.Drawing.Point(16, 448); this.m_bnParent.Name = "m_bnParent"; this.m_bnParent.TabIndex = 7; this.m_bnParent.Text = "Parent"; this.m_bnParent.Click += new System.EventHandler(this.OnBnParent); // // m_bnOwnerDoc // this.m_bnOwnerDoc.Anchor = (System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left); this.m_bnOwnerDoc.FlatStyle = System.Windows.Forms.FlatStyle.System; this.m_bnOwnerDoc.Location = new System.Drawing.Point(104, 448); this.m_bnOwnerDoc.Name = "m_bnOwnerDoc"; this.m_bnOwnerDoc.TabIndex = 8; this.m_bnOwnerDoc.Text = "Owner Doc"; this.m_bnOwnerDoc.Click += new System.EventHandler(this.OnBnOwnerDoc); // // m_bnPrevSibling // this.m_bnPrevSibling.Anchor = (System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left); this.m_bnPrevSibling.FlatStyle = System.Windows.Forms.FlatStyle.System; this.m_bnPrevSibling.Location = new System.Drawing.Point(192, 448); this.m_bnPrevSibling.Name = "m_bnPrevSibling"; this.m_bnPrevSibling.TabIndex = 9; this.m_bnPrevSibling.Text = "Prev Sibling"; this.m_bnPrevSibling.Click += new System.EventHandler(this.OnBnPrevSibling); // // m_bnNextSibling // this.m_bnNextSibling.Anchor = (System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left); this.m_bnNextSibling.FlatStyle = System.Windows.Forms.FlatStyle.System; this.m_bnNextSibling.Location = new System.Drawing.Point(280, 448); this.m_bnNextSibling.Name = "m_bnNextSibling"; this.m_bnNextSibling.TabIndex = 10; this.m_bnNextSibling.Text = "Next Sibling"; this.m_bnNextSibling.Click += new System.EventHandler(this.OnBnNextSibling); // // m_bnFirstChild // this.m_bnFirstChild.Anchor = (System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left); this.m_bnFirstChild.FlatStyle = System.Windows.Forms.FlatStyle.System; this.m_bnFirstChild.Location = new System.Drawing.Point(368, 448); this.m_bnFirstChild.Name = "m_bnFirstChild"; this.m_bnFirstChild.TabIndex = 11; this.m_bnFirstChild.Text = "First Child"; this.m_bnFirstChild.Click += new System.EventHandler(this.OnBnFirstChild); // // m_bnLastChild // this.m_bnLastChild.Anchor = (System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left); this.m_bnLastChild.FlatStyle = System.Windows.Forms.FlatStyle.System; this.m_bnLastChild.Location = new System.Drawing.Point(456, 448); this.m_bnLastChild.Name = "m_bnLastChild"; this.m_bnLastChild.TabIndex = 12; this.m_bnLastChild.Text = "Last Child"; this.m_bnLastChild.Click += new System.EventHandler(this.OnBnLastChild); // // m_txtXpathPattern // this.m_txtXpathPattern.Anchor = (System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left); this.m_txtXpathPattern.FlatStyle = System.Windows.Forms.FlatStyle.System; this.m_txtXpathPattern.Location = new System.Drawing.Point(32, 512); this.m_txtXpathPattern.Name = "m_txtXpathPattern"; this.m_txtXpathPattern.Size = new System.Drawing.Size(64, 23); this.m_txtXpathPattern.TabIndex = 14; this.m_txtXpathPattern.Text = "Expression:"; // // m_ebXpathPattern // this.m_ebXpathPattern.Anchor = (System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left); this.m_ebXpathPattern.Location = new System.Drawing.Point(88, 24); this.m_ebXpathPattern.Name = "m_ebXpathPattern"; this.m_ebXpathPattern.Size = new System.Drawing.Size(424, 20); this.m_ebXpathPattern.TabIndex = 15; this.m_ebXpathPattern.Text = ""; // // m_bnSelectSingleNode // this.m_bnSelectSingleNode.Anchor = (System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left); this.m_bnSelectSingleNode.FlatStyle = System.Windows.Forms.FlatStyle.System; this.m_bnSelectSingleNode.Location = new System.Drawing.Point(128, 56); this.m_bnSelectSingleNode.Name = "m_bnSelectSingleNode"; this.m_bnSelectSingleNode.Size = new System.Drawing.Size(120, 23); this.m_bnSelectSingleNode.TabIndex = 16; this.m_bnSelectSingleNode.Text = "Select Single Node"; this.m_bnSelectSingleNode.Click += new System.EventHandler(this.OnBnSelectSingleNode); // // m_bnSelectNodes // this.m_bnSelectNodes.Anchor = (System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left); this.m_bnSelectNodes.FlatStyle = System.Windows.Forms.FlatStyle.System; this.m_bnSelectNodes.Location = new System.Drawing.Point(256, 56); this.m_bnSelectNodes.Name = "m_bnSelectNodes"; this.m_bnSelectNodes.Size = new System.Drawing.Size(120, 23); this.m_bnSelectNodes.TabIndex = 17; this.m_bnSelectNodes.Text = "Select Nodes"; this.m_bnSelectNodes.Click += new System.EventHandler(this.OnBnSelectNodes); // // m_bnOk // this.m_bnOk.Anchor = (System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right); this.m_bnOk.DialogResult = System.Windows.Forms.DialogResult.OK; this.m_bnOk.FlatStyle = System.Windows.Forms.FlatStyle.System; this.m_bnOk.Location = new System.Drawing.Point(704, 544); this.m_bnOk.Name = "m_bnOk"; this.m_bnOk.TabIndex = 18; this.m_bnOk.Text = "OK"; // // m_bnXpathClear // this.m_bnXpathClear.Anchor = (System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left); this.m_bnXpathClear.FlatStyle = System.Windows.Forms.FlatStyle.System; this.m_bnXpathClear.Location = new System.Drawing.Point(384, 56); this.m_bnXpathClear.Name = "m_bnXpathClear"; this.m_bnXpathClear.Size = new System.Drawing.Size(120, 23); this.m_bnXpathClear.TabIndex = 19; this.m_bnXpathClear.Text = "Clear"; this.m_bnXpathClear.Click += new System.EventHandler(this.OnBnClear); // // m_grpXpath // this.m_grpXpath.Anchor = (System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left); this.m_grpXpath.Controls.AddRange(new System.Windows.Forms.Control[] { this.m_ebXpathPattern, this.m_bnXpathClear, this.m_bnSelectNodes, this.m_bnSelectSingleNode }); this.m_grpXpath.FlatStyle = System.Windows.Forms.FlatStyle.System; this.m_grpXpath.Location = new System.Drawing.Point(16, 488); this.m_grpXpath.Name = "m_grpXpath"; this.m_grpXpath.Size = new System.Drawing.Size(520, 88); this.m_grpXpath.TabIndex = 20; this.m_grpXpath.TabStop = false; this.m_grpXpath.Text = "XPath Expressions"; // // m_bnDocElem // this.m_bnDocElem.Anchor = (System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left); this.m_bnDocElem.FlatStyle = System.Windows.Forms.FlatStyle.System; this.m_bnDocElem.Location = new System.Drawing.Point(544, 448); this.m_bnDocElem.Name = "m_bnDocElem"; this.m_bnDocElem.Size = new System.Drawing.Size(80, 23); this.m_bnDocElem.TabIndex = 21; this.m_bnDocElem.Text = "Doc Element"; this.m_bnDocElem.Click += new System.EventHandler(this.OnBnDocElement); // // Dom // this.AcceptButton = this.m_bnOk; this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.CancelButton = this.m_bnOk; this.ClientSize = new System.Drawing.Size(800, 591); this.Controls.AddRange(new System.Windows.Forms.Control[] { this.m_bnDocElem, this.m_bnOk, this.m_txtXpathPattern, this.m_bnLastChild, this.m_bnFirstChild, this.m_bnNextSibling, this.m_bnPrevSibling, this.m_bnOwnerDoc, this.m_bnParent, this.m_grpNodeDisplay, this.m_rbNodeAndText, this.m_rbNodeNameOnly, this.m_lvData, this.m_tvDom, this.m_grpLabelDisplay, this.m_grpXpath }); this.MaximizeBox = false; this.MinimizeBox = false; this.MinimumSize = new System.Drawing.Size(650, 400); this.Name = "Dom"; this.Text = "XML DOM Tree"; this.m_grpNodeDisplay.ResumeLayout(false); this.m_grpXpath.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// 设计器支持所需的方法 - 不要使用代码编辑器修改 /// 此方法的内容。 /// </summary> private void InitializeComponent() { this.groupBox1 = new System.Windows.Forms.GroupBox(); this.btnEditName = new System.Windows.Forms.Button(); this.btnSendCard = new System.Windows.Forms.Button(); this.btnExit = new System.Windows.Forms.Button(); this.btnPrint = new System.Windows.Forms.Button(); this.btnDel = new System.Windows.Forms.Button(); this.btnEdit = new System.Windows.Forms.Button(); this.btnAdd = new System.Windows.Forms.Button(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.lsvWell = new System.Windows.Forms.ListView(); this.columnHeader1 = new System.Windows.Forms.ColumnHeader(); this.columnHeader2 = new System.Windows.Forms.ColumnHeader(); this.columnHeader3 = new System.Windows.Forms.ColumnHeader(); this.columnHeader4 = new System.Windows.Forms.ColumnHeader(); this.columnHeader5 = new System.Windows.Forms.ColumnHeader(); this.columnHeader7 = new System.Windows.Forms.ColumnHeader(); this.columnHeader8 = new System.Windows.Forms.ColumnHeader(); this.columnHeader6 = new System.Windows.Forms.ColumnHeader(); this.columnHeader9 = new System.Windows.Forms.ColumnHeader(); this.columnHeader10 = new System.Windows.Forms.ColumnHeader(); this.columnHeader11 = new System.Windows.Forms.ColumnHeader(); this.columnHeader13 = new System.Windows.Forms.ColumnHeader(); this.groupBox3 = new System.Windows.Forms.GroupBox(); this.trvDep = new System.Windows.Forms.TreeView(); this.groupBox4 = new System.Windows.Forms.GroupBox(); this.cmbCountry = new System.Windows.Forms.ComboBox(); this.label1 = new System.Windows.Forms.Label(); this.groupBox1.SuspendLayout(); this.groupBox2.SuspendLayout(); this.groupBox3.SuspendLayout(); this.groupBox4.SuspendLayout(); this.SuspendLayout(); // // groupBox1 // this.groupBox1.Controls.Add(this.btnEditName); this.groupBox1.Controls.Add(this.btnSendCard); this.groupBox1.Controls.Add(this.btnExit); this.groupBox1.Controls.Add(this.btnPrint); this.groupBox1.Controls.Add(this.btnDel); this.groupBox1.Controls.Add(this.btnEdit); this.groupBox1.Controls.Add(this.btnAdd); this.groupBox1.Location = new System.Drawing.Point(208, 0); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(448, 40); this.groupBox1.TabIndex = 0; this.groupBox1.TabStop = false; // // btnEditName // this.btnEditName.Location = new System.Drawing.Point(264, 16); this.btnEditName.Name = "btnEditName"; this.btnEditName.TabIndex = 6; this.btnEditName.Text = "修改名称"; this.btnEditName.Visible = false; this.btnEditName.Click += new System.EventHandler(this.btnEditName_Click); // // btnSendCard // this.btnSendCard.Location = new System.Drawing.Point(232, 24); this.btnSendCard.Name = "btnSendCard"; this.btnSendCard.TabIndex = 5; this.btnSendCard.Text = "发卡"; this.btnSendCard.Visible = false; this.btnSendCard.Click += new System.EventHandler(this.btnSendCard_Click); // // btnExit // this.btnExit.Location = new System.Drawing.Point(272, 12); this.btnExit.Name = "btnExit"; this.btnExit.Size = new System.Drawing.Size(72, 23); this.btnExit.TabIndex = 4; this.btnExit.Text = "退出"; this.btnExit.Click += new System.EventHandler(this.btnExit_Click); // // btnPrint // this.btnPrint.Location = new System.Drawing.Point(360, 8); this.btnPrint.Name = "btnPrint"; this.btnPrint.TabIndex = 3; this.btnPrint.Text = "打印"; this.btnPrint.Visible = false; this.btnPrint.Click += new System.EventHandler(this.btnPrint_Click); // // btnDel // this.btnDel.Location = new System.Drawing.Point(176, 12); this.btnDel.Name = "btnDel"; this.btnDel.TabIndex = 2; this.btnDel.Text = "删除"; this.btnDel.Click += new System.EventHandler(this.btnDel_Click); // // btnEdit // this.btnEdit.Location = new System.Drawing.Point(88, 12); this.btnEdit.Name = "btnEdit"; this.btnEdit.TabIndex = 1; this.btnEdit.Text = "修改"; this.btnEdit.Click += new System.EventHandler(this.btnEdit_Click); // // btnAdd // this.btnAdd.Location = new System.Drawing.Point(8, 12); this.btnAdd.Name = "btnAdd"; this.btnAdd.TabIndex = 0; this.btnAdd.Text = "添加"; this.btnAdd.Click += new System.EventHandler(this.btnAdd_Click); // // groupBox2 // this.groupBox2.Controls.Add(this.lsvWell); this.groupBox2.Location = new System.Drawing.Point(208, 40); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(800, 472); this.groupBox2.TabIndex = 1; this.groupBox2.TabStop = false; // // lsvWell // this.lsvWell.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.columnHeader1, this.columnHeader2, this.columnHeader3, this.columnHeader4, this.columnHeader5, this.columnHeader7, this.columnHeader8, this.columnHeader6, this.columnHeader9, this.columnHeader10, this.columnHeader11, this.columnHeader13 }); this.lsvWell.FullRowSelect = true; this.lsvWell.GridLines = true; this.lsvWell.Location = new System.Drawing.Point(8, 16); this.lsvWell.Name = "lsvWell"; this.lsvWell.Size = new System.Drawing.Size(784, 448); this.lsvWell.TabIndex = 0; this.lsvWell.View = System.Windows.Forms.View.Details; // // columnHeader1 // this.columnHeader1.Text = "站编号"; this.columnHeader1.Width = 92; // // columnHeader2 // this.columnHeader2.Text = "站名称"; this.columnHeader2.Width = 94; // // columnHeader3 // this.columnHeader3.Text = "所属管理处名称"; this.columnHeader3.Width = 126; // // columnHeader4 // this.columnHeader4.Text = "GPRS号"; this.columnHeader4.Width = 69; // // columnHeader5 // this.columnHeader5.Text = "设备地址"; this.columnHeader5.Width = 75; // // columnHeader7 // this.columnHeader7.Text = "x坐标"; this.columnHeader7.Width = 58; // // columnHeader8 // this.columnHeader8.Text = "y坐标"; this.columnHeader8.Width = 46; // // columnHeader6 // this.columnHeader6.Text = "水价"; this.columnHeader6.Width = 50; // // columnHeader9 // this.columnHeader9.Text = "初始计费值"; // // columnHeader10 // this.columnHeader10.Text = "控制器编号"; // // columnHeader11 // this.columnHeader11.Text = "脉冲系数"; // // columnHeader13 // this.columnHeader13.Text = "报警下限"; // // groupBox3 // this.groupBox3.Controls.Add(this.trvDep); this.groupBox3.Location = new System.Drawing.Point(8, 40); this.groupBox3.Name = "groupBox3"; this.groupBox3.Size = new System.Drawing.Size(200, 472); this.groupBox3.TabIndex = 2; this.groupBox3.TabStop = false; // // trvDep // this.trvDep.ImageIndex = -1; this.trvDep.Location = new System.Drawing.Point(8, 8); this.trvDep.Name = "trvDep"; this.trvDep.SelectedImageIndex = -1; this.trvDep.Size = new System.Drawing.Size(184, 456); this.trvDep.TabIndex = 0; this.trvDep.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.trvDep_AfterSelect); // // groupBox4 // this.groupBox4.Controls.Add(this.cmbCountry); this.groupBox4.Controls.Add(this.label1); this.groupBox4.Location = new System.Drawing.Point(8, 0); this.groupBox4.Name = "groupBox4"; this.groupBox4.Size = new System.Drawing.Size(200, 40); this.groupBox4.TabIndex = 3; this.groupBox4.TabStop = false; // // cmbCountry // this.cmbCountry.Location = new System.Drawing.Point(80, 14); this.cmbCountry.Name = "cmbCountry"; this.cmbCountry.Size = new System.Drawing.Size(112, 20); this.cmbCountry.TabIndex = 1; this.cmbCountry.SelectedIndexChanged += new System.EventHandler(this.cmbCountry_SelectedIndexChanged); // // label1 // this.label1.Location = new System.Drawing.Point(8, 16); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(64, 16); this.label1.TabIndex = 0; this.label1.Text = "管理局:"; this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // frmBengZhans // this.AutoScaleBaseSize = new System.Drawing.Size(6, 14); this.ClientSize = new System.Drawing.Size(1010, 520); this.Controls.Add(this.groupBox4); this.Controls.Add(this.groupBox3); this.Controls.Add(this.groupBox2); this.Controls.Add(this.groupBox1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "frmBengZhans"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "监测站信息"; this.Load += new System.EventHandler(this.frmBengZhans_Load); this.groupBox1.ResumeLayout(false); this.groupBox2.ResumeLayout(false); this.groupBox3.ResumeLayout(false); this.groupBox4.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.panel1 = new System.Windows.Forms.Panel(); this.label1 = new System.Windows.Forms.Label(); this.textBox_BARKOD = new System.Windows.Forms.TextBox(); this.label2 = new System.Windows.Forms.Label(); this.label_SECILEN = new System.Windows.Forms.Label(); this.button1 = new System.Windows.Forms.Button(); this.button2 = new System.Windows.Forms.Button(); this.panel2 = new System.Windows.Forms.Panel(); this.treeView1 = new System.Windows.Forms.TreeView(); this.panel3 = new System.Windows.Forms.Panel(); this.button_TAMAM = new System.Windows.Forms.Button(); this.button_IPTAL = new System.Windows.Forms.Button(); this.panel1.SuspendLayout(); this.panel2.SuspendLayout(); this.panel3.SuspendLayout(); this.SuspendLayout(); // // panel1 // this.panel1.BackColor = System.Drawing.Color.Silver; this.panel1.Controls.Add(this.label1); this.panel1.Controls.Add(this.textBox_BARKOD); this.panel1.Controls.Add(this.label2); this.panel1.Controls.Add(this.label_SECILEN); this.panel1.Controls.Add(this.button1); this.panel1.Controls.Add(this.button2); this.panel1.Location = new System.Drawing.Point(8, 8); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(224, 48); // // label1 // this.label1.Font = new System.Drawing.Font("Courier New", 9F, System.Drawing.FontStyle.Regular); this.label1.Location = new System.Drawing.Point(0, 8); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(48, 16); this.label1.Text = "Barkod"; // // textBox_BARKOD // this.textBox_BARKOD.BackColor = System.Drawing.Color.Orange; this.textBox_BARKOD.Font = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular); this.textBox_BARKOD.Location = new System.Drawing.Point(48, 0); this.textBox_BARKOD.Name = "textBox_BARKOD"; this.textBox_BARKOD.Size = new System.Drawing.Size(128, 21); this.textBox_BARKOD.TabIndex = 1; this.textBox_BARKOD.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox_BARKOD_KeyPress); // // label2 // this.label2.Font = new System.Drawing.Font("Courier New", 9F, System.Drawing.FontStyle.Regular); this.label2.Location = new System.Drawing.Point(0, 32); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(56, 16); this.label2.Text = "Secilen"; // // label_SECILEN // this.label_SECILEN.Font = new System.Drawing.Font("Courier New", 9F, System.Drawing.FontStyle.Regular); this.label_SECILEN.Location = new System.Drawing.Point(64, 32); this.label_SECILEN.Name = "label_SECILEN"; this.label_SECILEN.Size = new System.Drawing.Size(152, 16); this.label_SECILEN.Text = "????"; // // button1 // this.button1.Font = new System.Drawing.Font("Courier New", 9F, System.Drawing.FontStyle.Regular); this.button1.Location = new System.Drawing.Point(200, 0); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(24, 24); this.button1.TabIndex = 4; this.button1.Text = ">>"; this.button1.Click += new System.EventHandler(this.button1_Click); // // button2 // this.button2.Font = new System.Drawing.Font("Courier New", 9F, System.Drawing.FontStyle.Regular); this.button2.Location = new System.Drawing.Point(176, 0); this.button2.Name = "button2"; this.button2.Size = new System.Drawing.Size(24, 24); this.button2.TabIndex = 5; this.button2.Text = "T"; this.button2.Click += new System.EventHandler(this.button2_Click); // // panel2 // this.panel2.BackColor = System.Drawing.Color.Silver; this.panel2.Controls.Add(this.treeView1); this.panel2.Location = new System.Drawing.Point(8, 64); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(224, 192); // // treeView1 // this.treeView1.Location = new System.Drawing.Point(0, 8); this.treeView1.Name = "treeView1"; this.treeView1.Size = new System.Drawing.Size(224, 176); this.treeView1.TabIndex = 0; this.treeView1.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.treeView1_AfterSelect); // // panel3 // this.panel3.BackColor = System.Drawing.Color.Silver; this.panel3.Controls.Add(this.button_TAMAM); this.panel3.Controls.Add(this.button_IPTAL); this.panel3.Location = new System.Drawing.Point(8, 264); this.panel3.Name = "panel3"; this.panel3.Size = new System.Drawing.Size(224, 48); // // button_TAMAM // this.button_TAMAM.Font = new System.Drawing.Font("Courier New", 9F, System.Drawing.FontStyle.Regular); this.button_TAMAM.Location = new System.Drawing.Point(120, 8); this.button_TAMAM.Name = "button_TAMAM"; this.button_TAMAM.Size = new System.Drawing.Size(104, 32); this.button_TAMAM.TabIndex = 0; this.button_TAMAM.Text = "TAMAM"; this.button_TAMAM.Click += new System.EventHandler(this.button_TAMAM_Click); // // button_IPTAL // this.button_IPTAL.Font = new System.Drawing.Font("Courier New", 9F, System.Drawing.FontStyle.Regular); this.button_IPTAL.Location = new System.Drawing.Point(0, 8); this.button_IPTAL.Name = "button_IPTAL"; this.button_IPTAL.Size = new System.Drawing.Size(104, 32); this.button_IPTAL.TabIndex = 1; this.button_IPTAL.Text = "IPTAL"; this.button_IPTAL.Click += new System.EventHandler(this.button_IPTAL_Click); // // DepoSecimOzel // this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit; this.BackColor = System.Drawing.Color.White; this.ClientSize = new System.Drawing.Size(640, 480); this.ControlBox = false; this.Controls.Add(this.panel3); this.Controls.Add(this.panel2); this.Controls.Add(this.panel1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "DepoSecimOzel"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Load += new System.EventHandler(this.DepoSecimOzel_Load); this.panel1.ResumeLayout(false); this.panel2.ResumeLayout(false); this.panel3.ResumeLayout(false); this.ResumeLayout(false); }
private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.treeView1 = new System.Windows.Forms.TreeView(); this.propertyGrid1 = new System.Windows.Forms.PropertyGrid(); this.save = new System.Windows.Forms.Button(); this.cancel = new System.Windows.Forms.Button(); this.button3 = new System.Windows.Forms.Button(); this.delnode = new System.Windows.Forms.Button(); this.toolTip1 = new System.Windows.Forms.ToolTip(this.components); this.SuspendLayout(); // // treeView1 // this.treeView1.Location = new System.Drawing.Point(12, 44); this.treeView1.Name = "treeView1"; this.treeView1.Size = new System.Drawing.Size(307, 310); this.treeView1.TabIndex = 0; this.treeView1.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.treeView1_AfterSelect); // // propertyGrid1 // this.propertyGrid1.LineColor = System.Drawing.SystemColors.ScrollBar; this.propertyGrid1.Location = new System.Drawing.Point(336, 1); this.propertyGrid1.Name = "propertyGrid1"; this.propertyGrid1.Size = new System.Drawing.Size(326, 353); this.propertyGrid1.TabIndex = 1; this.propertyGrid1.PropertyValueChanged += new System.Windows.Forms.PropertyValueChangedEventHandler(this.propertyGrid1_ValueChanged); // // save // this.save.Location = new System.Drawing.Point(432, 371); this.save.Name = "save"; this.save.Size = new System.Drawing.Size(106, 25); this.save.TabIndex = 2; this.save.Text = " 保 存 "; this.save.Click += new System.EventHandler(this.save_Click); // // cancel // this.cancel.Location = new System.Drawing.Point(557, 371); this.cancel.Name = "cancel"; this.cancel.Size = new System.Drawing.Size(105, 25); this.cancel.TabIndex = 3; this.cancel.Text = " 取 消 "; this.cancel.Click += new System.EventHandler(this.cancel_Click); // // button3 // this.button3.Location = new System.Drawing.Point(12, 1); this.button3.Name = "button3"; this.button3.Size = new System.Drawing.Size(101, 34); this.button3.TabIndex = 4; this.button3.Text = "添加属性页"; this.toolTip1.SetToolTip(this.button3, "添加属性页"); this.button3.Click += new System.EventHandler(this.button3_Click); // // delnode // this.delnode.Location = new System.Drawing.Point(130, 1); this.delnode.Name = "delnode"; this.delnode.Size = new System.Drawing.Size(87, 34); this.delnode.TabIndex = 6; this.delnode.Text = "删除属性页"; this.toolTip1.SetToolTip(this.delnode, "删除属性页"); this.delnode.Click += new System.EventHandler(this.delnode_Click); // // TabEditorForm // this.AutoScaleBaseSize = new System.Drawing.Size(6, 14); this.ClientSize = new System.Drawing.Size(683, 398); this.Controls.Add(this.delnode); this.Controls.Add(this.button3); this.Controls.Add(this.cancel); this.Controls.Add(this.save); this.Controls.Add(this.propertyGrid1); this.Controls.Add(this.treeView1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; this.Name = "TabEditorForm"; this.Text = "DiscuzNT TabPage Designer"; this.ResumeLayout(false); }
public Mytree() { System.Windows.Forms.TreeNode treeNode44 = new System.Windows.Forms.TreeNode("directory"); System.Windows.Forms.TreeNode treeNode45 = new System.Windows.Forms.TreeNode("system"); System.Windows.Forms.TreeNode treeNode46 = new System.Windows.Forms.TreeNode("interfaces"); System.Windows.Forms.TreeNode treeNode47 = new System.Windows.Forms.TreeNode("at"); System.Windows.Forms.TreeNode treeNode48 = new System.Windows.Forms.TreeNode("ip"); System.Windows.Forms.TreeNode treeNode49 = new System.Windows.Forms.TreeNode("icmp"); System.Windows.Forms.TreeNode treeNode50 = new System.Windows.Forms.TreeNode("udp"); System.Windows.Forms.TreeNode treeNode51 = new System.Windows.Forms.TreeNode("egp"); System.Windows.Forms.TreeNode treeNode52 = new System.Windows.Forms.TreeNode("transmission"); System.Windows.Forms.TreeNode treeNode53 = new System.Windows.Forms.TreeNode("snmp"); System.Windows.Forms.TreeNode treeNode54 = new System.Windows.Forms.TreeNode("appletalk"); System.Windows.Forms.TreeNode treeNode55 = new System.Windows.Forms.TreeNode("ospf"); System.Windows.Forms.TreeNode treeNode56 = new System.Windows.Forms.TreeNode("host"); System.Windows.Forms.TreeNode treeNode57 = new System.Windows.Forms.TreeNode("mib2", new System.Windows.Forms.TreeNode[] { treeNode45, treeNode46, treeNode47, treeNode48, treeNode49, treeNode50, treeNode51, treeNode52, treeNode53, treeNode54, treeNode55, treeNode56 }); System.Windows.Forms.TreeNode treeNode58 = new System.Windows.Forms.TreeNode("mgmt", new System.Windows.Forms.TreeNode[] { treeNode57 }); System.Windows.Forms.TreeNode treeNode59 = new System.Windows.Forms.TreeNode("experimental"); System.Windows.Forms.TreeNode treeNode60 = new System.Windows.Forms.TreeNode("xHTimeLocalIPInfo"); System.Windows.Forms.TreeNode treeNode61 = new System.Windows.Forms.TreeNode("xHTimeLocalGWInfo"); System.Windows.Forms.TreeNode treeNode62 = new System.Windows.Forms.TreeNode("xHTimeLocalNMInfo"); System.Windows.Forms.TreeNode treeNode63 = new System.Windows.Forms.TreeNode("xHTimeNTPIPInfo"); System.Windows.Forms.TreeNode treeNode64 = new System.Windows.Forms.TreeNode("xHTimeNTPGWInfo"); System.Windows.Forms.TreeNode treeNode65 = new System.Windows.Forms.TreeNode("xHTimeNTPNMInfo"); System.Windows.Forms.TreeNode treeNode66 = new System.Windows.Forms.TreeNode("xHTimeUTCTimeInfo"); System.Windows.Forms.TreeNode treeNode67 = new System.Windows.Forms.TreeNode("xHTimePosInfo"); System.Windows.Forms.TreeNode treeNode68 = new System.Windows.Forms.TreeNode("xHTimeTameStateInfo"); System.Windows.Forms.TreeNode treeNode69 = new System.Windows.Forms.TreeNode("xHTimeTimeSourceInfo"); System.Windows.Forms.TreeNode treeNode70 = new System.Windows.Forms.TreeNode("xHTimePtpModeInfo"); System.Windows.Forms.TreeNode treeNode71 = new System.Windows.Forms.TreeNode("xHTimePtpStateInfo"); System.Windows.Forms.TreeNode treeNode72 = new System.Windows.Forms.TreeNode("xHTimePtpTimeInfo"); System.Windows.Forms.TreeNode treeNode73 = new System.Windows.Forms.TreeNode("xHTimeRemoteIpInfo"); System.Windows.Forms.TreeNode treeNode74 = new System.Windows.Forms.TreeNode("xHTimePtpE1ModeInfo"); System.Windows.Forms.TreeNode treeNode75 = new System.Windows.Forms.TreeNode("xHTimePtpE1StateInfo"); System.Windows.Forms.TreeNode treeNode76 = new System.Windows.Forms.TreeNode("xHTimePtpE1TimeInfo"); System.Windows.Forms.TreeNode treeNode77 = new System.Windows.Forms.TreeNode("xHTimeEntry", new System.Windows.Forms.TreeNode[] { treeNode60, treeNode61, treeNode62, treeNode63, treeNode64, treeNode65, treeNode66, treeNode67, treeNode68, treeNode69, treeNode70, treeNode71, treeNode72, treeNode73, treeNode74, treeNode75, treeNode76 }); System.Windows.Forms.TreeNode treeNode78 = new System.Windows.Forms.TreeNode("xHTimeTable", new System.Windows.Forms.TreeNode[] { treeNode77 }); System.Windows.Forms.TreeNode treeNode79 = new System.Windows.Forms.TreeNode("xHTime", new System.Windows.Forms.TreeNode[] { treeNode78 }); System.Windows.Forms.TreeNode treeNode80 = new System.Windows.Forms.TreeNode("private", new System.Windows.Forms.TreeNode[] { treeNode79 }); System.Windows.Forms.TreeNode treeNode81 = new System.Windows.Forms.TreeNode("security"); System.Windows.Forms.TreeNode treeNode82 = new System.Windows.Forms.TreeNode("snmpV2"); System.Windows.Forms.TreeNode treeNode83 = new System.Windows.Forms.TreeNode("internet", new System.Windows.Forms.TreeNode[] { treeNode44, treeNode58, treeNode59, treeNode80, treeNode81, treeNode82 }); System.Windows.Forms.TreeNode treeNode84 = new System.Windows.Forms.TreeNode("dod", new System.Windows.Forms.TreeNode[] { treeNode83 }); System.Windows.Forms.TreeNode treeNode85 = new System.Windows.Forms.TreeNode("org", new System.Windows.Forms.TreeNode[] { treeNode84 }); System.Windows.Forms.TreeNode treeNode86 = new System.Windows.Forms.TreeNode("iso", new System.Windows.Forms.TreeNode[] { treeNode85 }); this.treeView = new System.Windows.Forms.TreeView(); // // treeView1 // this.treeView.Location = new System.Drawing.Point(12, 12); this.treeView.Name = "treeView1"; treeNode44.Name = "directory"; treeNode44.Text = "directory"; treeNode45.Name = "system"; treeNode45.Text = "system"; treeNode46.Name = "interfaces"; treeNode46.Text = "interfaces"; treeNode47.Name = "at"; treeNode47.Text = "at"; treeNode48.Name = "ip"; treeNode48.Text = "ip"; treeNode49.Name = "icmp"; treeNode49.Text = "icmp"; treeNode50.Name = "tcp"; treeNode50.Text = "udp"; treeNode51.Name = "egp"; treeNode51.Text = "egp"; treeNode52.Name = "transmission"; treeNode52.Text = "transmission"; treeNode53.Name = "snmp"; treeNode53.Text = "snmp"; treeNode54.Name = "appletalk"; treeNode54.Text = "appletalk"; treeNode55.Name = "ospf"; treeNode55.Text = "ospf"; treeNode56.Name = "host"; treeNode56.Text = "host"; treeNode57.Name = "mib2"; treeNode57.Text = "mib2"; treeNode58.Name = "mgmt"; treeNode58.Text = "mgmt"; treeNode59.Name = "experimental"; treeNode59.Text = "experimental"; treeNode60.Name = "xHTimeLocalIPInfo"; treeNode60.Text = "xHTimeLocalIPInfo"; treeNode61.Name = "xHTimeLocalGWInfo"; treeNode61.Text = "xHTimeLocalGWInfo"; treeNode62.Name = "xHTimeLocalNMInfo"; treeNode62.Text = "xHTimeLocalNMInfo"; treeNode63.Name = "xHTimeNTPIPInfo"; treeNode63.Text = "xHTimeNTPIPInfo"; treeNode64.Name = "xHTimeNTPGWInfo"; treeNode64.Text = "xHTimeNTPGWInfo"; treeNode65.Name = "xHTimeNTPNMInfo"; treeNode65.Text = "xHTimeNTPNMInfo"; treeNode66.Name = "xHTimeUTCTimeInfo"; treeNode66.Text = "xHTimeUTCTimeInfo"; treeNode67.Name = "xHTimePosInfo"; treeNode67.Text = "xHTimePosInfo"; treeNode68.Name = "xHTimeTameStateInfo"; treeNode68.Text = "xHTimeTameStateInfo"; treeNode69.Name = "xHTimeTimeSourceInfo"; treeNode69.Text = "xHTimeTimeSourceInfo"; treeNode70.Name = "xHTimePtpModeInfo"; treeNode70.Text = "xHTimePtpModeInfo"; treeNode71.Name = "xHTimePtpStateInfo"; treeNode71.Text = "xHTimePtpStateInfo"; treeNode72.Name = "xHTimePtpTimeInfo"; treeNode72.Text = "xHTimePtpTimeInfo"; treeNode73.Name = "xHTimeRemoteIpInfo"; treeNode73.Text = "xHTimeRemoteIpInfo"; treeNode74.Name = "xHTimePtpE1ModeInfo"; treeNode74.Text = "xHTimePtpE1ModeInfo"; treeNode75.Name = "xHTimePtpE1StateInfo"; treeNode75.Text = "xHTimePtpE1StateInfo"; treeNode76.Name = "xHTimePtpE1TimeInfo"; treeNode76.Text = "xHTimePtpE1TimeInfo"; treeNode77.Name = "xHTimeEntry"; treeNode77.Text = "xHTimeEntry"; treeNode78.Name = "xHTimeTable"; treeNode78.Text = "xHTimeTable"; treeNode79.Name = "xHTime"; treeNode79.Text = "xHTime"; treeNode80.Name = "private"; treeNode80.Text = "private"; treeNode81.Name = "security"; treeNode81.Text = "security"; treeNode82.Name = "snmpV2"; treeNode82.Text = "snmpV2"; treeNode83.Name = "internet"; treeNode83.Text = "internet"; treeNode84.Name = "dod"; treeNode84.Text = "dod"; treeNode85.Name = "org"; treeNode85.Text = "org"; treeNode86.Name = "iso"; treeNode86.Text = "iso"; this.treeView.Nodes.AddRange(new System.Windows.Forms.TreeNode[] { treeNode86 }); this.treeView.Size = new System.Drawing.Size(139, 191); this.treeView.TabIndex = 0; }
private void InitializeComponent() { this._schemaLabel = new System.Windows.Forms.Label(); this._bindingsLabel = new System.Windows.Forms.Label(); this._bindingsListView = new System.Windows.Forms.ListBox(); this._addBindingButton = new System.Windows.Forms.Button(); this._propertiesLabel = new System.Windows.Forms.Label(); this._cancelButton = new System.Windows.Forms.Button(); this._propertyGrid = new VsPropertyGrid(base.ServiceProvider); this._schemaTreeView = new System.Windows.Forms.TreeView(); this._moveBindingUpButton = new System.Windows.Forms.Button(); this._moveBindingDownButton = new System.Windows.Forms.Button(); this._deleteBindingButton = new System.Windows.Forms.Button(); this._okButton = new System.Windows.Forms.Button(); this._applyButton = new System.Windows.Forms.Button(); base.SuspendLayout(); this._schemaLabel.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top; this._schemaLabel.Location = new Point(12, 12); this._schemaLabel.Name = "_schemaLabel"; this._schemaLabel.Size = new Size(0xc4, 14); this._schemaLabel.TabIndex = 10; this._bindingsLabel.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom; this._bindingsLabel.Location = new Point(12, 0xba); this._bindingsLabel.Name = "_bindingsLabel"; this._bindingsLabel.Size = new Size(0xc4, 14); this._bindingsLabel.TabIndex = 0x19; this._bindingsListView.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom; this._bindingsListView.Location = new Point(12, 0xca); this._bindingsListView.Name = "_bindingsListView"; this._bindingsListView.Size = new Size(0xa4, 0x87); this._bindingsListView.TabIndex = 30; this._bindingsListView.SelectedIndexChanged += new EventHandler(this.OnBindingsListViewSelectedIndexChanged); this._bindingsListView.GotFocus += new EventHandler(this.OnBindingsListViewGotFocus); this._addBindingButton.Anchor = AnchorStyles.Right | AnchorStyles.Bottom; this._addBindingButton.FlatStyle = FlatStyle.System; this._addBindingButton.Location = new Point(0x85, 0x9a); this._addBindingButton.Name = "_addBindingButton"; this._addBindingButton.Size = new Size(0x4b, 0x17); this._addBindingButton.TabIndex = 20; this._addBindingButton.Click += new EventHandler(this.OnAddBindingButtonClick); this._propertiesLabel.Anchor = AnchorStyles.Right | AnchorStyles.Top; this._propertiesLabel.Location = new Point(0xe5, 12); this._propertiesLabel.Name = "_propertiesLabel"; this._propertiesLabel.Size = new Size(0x10a, 14); this._propertiesLabel.TabIndex = 50; this._cancelButton.Anchor = AnchorStyles.Right | AnchorStyles.Bottom; this._cancelButton.FlatStyle = FlatStyle.System; this._cancelButton.Location = new Point(340, 0x15a); this._cancelButton.Name = "_cancelButton"; this._cancelButton.TabIndex = 0x41; this._cancelButton.Click += new EventHandler(this.OnCancelButtonClick); this._okButton.Anchor = AnchorStyles.Right | AnchorStyles.Bottom; this._okButton.FlatStyle = FlatStyle.System; this._okButton.Location = new Point(260, 0x15a); this._okButton.Name = "_okButton"; this._okButton.TabIndex = 60; this._okButton.Click += new EventHandler(this.OnOKButtonClick); this._applyButton.Anchor = AnchorStyles.Right | AnchorStyles.Bottom; this._applyButton.FlatStyle = FlatStyle.System; this._applyButton.Location = new Point(420, 0x15a); this._applyButton.Name = "_applyButton"; this._applyButton.TabIndex = 60; this._applyButton.Click += new EventHandler(this.OnApplyButtonClick); this._applyButton.Enabled = false; this._propertyGrid.Anchor = AnchorStyles.Right | AnchorStyles.Bottom | AnchorStyles.Top; this._propertyGrid.CommandsVisibleIfAvailable = true; this._propertyGrid.Cursor = Cursors.HSplit; this._propertyGrid.LargeButtons = false; this._propertyGrid.LineColor = SystemColors.ScrollBar; this._propertyGrid.Location = new Point(0xe5, 0x1c); this._propertyGrid.Name = "_propertyGrid"; this._propertyGrid.Size = new Size(0x10a, 0x135); this._propertyGrid.TabIndex = 0x37; this._propertyGrid.Text = System.Design.SR.GetString("MenuItemCollectionEditor_PropertyGrid"); this._propertyGrid.ToolbarVisible = true; this._propertyGrid.ViewBackColor = SystemColors.Window; this._propertyGrid.ViewForeColor = SystemColors.WindowText; this._propertyGrid.PropertyValueChanged += new PropertyValueChangedEventHandler(this.OnPropertyGridPropertyValueChanged); this._propertyGrid.Site = this._menu.Site; this._schemaTreeView.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top; this._schemaTreeView.HideSelection = false; this._schemaTreeView.ImageIndex = -1; this._schemaTreeView.Location = new Point(12, 0x1c); this._schemaTreeView.Name = "_schemaTreeView"; this._schemaTreeView.SelectedImageIndex = -1; this._schemaTreeView.Size = new Size(0xc4, 120); this._schemaTreeView.TabIndex = 15; this._schemaTreeView.AfterSelect += new TreeViewEventHandler(this.OnSchemaTreeViewAfterSelect); this._schemaTreeView.GotFocus += new EventHandler(this.OnSchemaTreeViewGotFocus); this._moveBindingUpButton.Anchor = AnchorStyles.Right | AnchorStyles.Bottom; this._moveBindingUpButton.Location = new Point(0xb6, 0xca); this._moveBindingUpButton.Name = "_moveBindingUpButton"; this._moveBindingUpButton.Size = new Size(0x1a, 0x17); this._moveBindingUpButton.TabIndex = 0x23; this._moveBindingUpButton.Click += new EventHandler(this.OnMoveBindingUpButtonClick); this._moveBindingDownButton.Anchor = AnchorStyles.Right | AnchorStyles.Bottom; this._moveBindingDownButton.Location = new Point(0xb6, 0xe2); this._moveBindingDownButton.Name = "_moveBindingDownButton"; this._moveBindingDownButton.Size = new Size(0x1a, 0x17); this._moveBindingDownButton.TabIndex = 40; this._moveBindingDownButton.Click += new EventHandler(this.OnMoveBindingDownButtonClick); this._deleteBindingButton.Anchor = AnchorStyles.Right | AnchorStyles.Bottom; this._deleteBindingButton.Location = new Point(0xb6, 0xff); this._deleteBindingButton.Name = "_deleteBindingButton"; this._deleteBindingButton.Size = new Size(0x1a, 0x17); this._deleteBindingButton.TabIndex = 0x2d; this._deleteBindingButton.Click += new EventHandler(this.OnDeleteBindingButtonClick); base.AcceptButton = this._okButton; base.CancelButton = this._cancelButton; base.ClientSize = new Size(0x1fb, 0x17d); base.Controls.Add(this._deleteBindingButton); base.Controls.Add(this._moveBindingDownButton); base.Controls.Add(this._moveBindingUpButton); base.Controls.Add(this._okButton); base.Controls.Add(this._cancelButton); base.Controls.Add(this._applyButton); base.Controls.Add(this._propertiesLabel); base.Controls.Add(this._addBindingButton); base.Controls.Add(this._bindingsListView); base.Controls.Add(this._bindingsLabel); base.Controls.Add(this._schemaTreeView); base.Controls.Add(this._schemaLabel); base.Controls.Add(this._propertyGrid); this.MinimumSize = new Size(0x1fb, 0x17d); base.FormBorderStyle = FormBorderStyle.FixedDialog; base.Name = "MenuBindingsEditor"; base.SizeGripStyle = SizeGripStyle.Hide; base.InitializeForm(); base.ResumeLayout(false); }
/// <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.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(TreeBasedSettingsDialog)); this.treeView1 = new System.Windows.Forms.TreeView(); this.imageList1 = new System.Windows.Forms.ImageList(this.components); this.panel1 = new System.Windows.Forms.Panel(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.SuspendLayout(); // // cancelButton // this.cancelButton.Location = new System.Drawing.Point(592, 392); this.cancelButton.Name = "cancelButton"; // // okButton // this.okButton.Location = new System.Drawing.Point(504, 392); this.okButton.Name = "okButton"; // // treeView1 // this.treeView1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.treeView1.HideSelection = false; this.treeView1.ImageList = this.imageList1; this.treeView1.Location = new System.Drawing.Point(16, 16); this.treeView1.Name = "treeView1"; this.treeView1.PathSeparator = "."; this.treeView1.Size = new System.Drawing.Size(176, 350); this.treeView1.TabIndex = 19; this.treeView1.AfterExpand += new System.Windows.Forms.TreeViewEventHandler(this.treeView1_AfterExpand); this.treeView1.AfterCollapse += new System.Windows.Forms.TreeViewEventHandler(this.treeView1_AfterCollapse); this.treeView1.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.treeView1_AfterSelect); // // imageList1 // this.imageList1.ImageSize = new System.Drawing.Size(16, 16); this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream"))); this.imageList1.TransparentColor = System.Drawing.Color.Transparent; // // panel1 // this.panel1.Location = new System.Drawing.Point(208, 16); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(456, 336); this.panel1.TabIndex = 20; // // groupBox1 // this.groupBox1.Location = new System.Drawing.Point(208, 360); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(456, 8); this.groupBox1.TabIndex = 21; this.groupBox1.TabStop = false; // // TreeBasedSettingsDialog // this.ClientSize = new System.Drawing.Size(682, 426); this.Controls.Add(this.groupBox1); this.Controls.Add(this.panel1); this.Controls.Add(this.treeView1); this.Name = "TreeBasedSettingsDialog"; this.Load += new System.EventHandler(this.TreeBasedSettingsDialog_Load); this.Controls.SetChildIndex(this.treeView1, 0); this.Controls.SetChildIndex(this.okButton, 0); this.Controls.SetChildIndex(this.cancelButton, 0); this.Controls.SetChildIndex(this.panel1, 0); this.Controls.SetChildIndex(this.groupBox1, 0); this.ResumeLayout(false); }
/// <summary> /// 设计器支持所需的方法 - 不要使用代码编辑器修改 /// 此方法的内容。 /// </summary> private void InitializeComponent() { this.m_lsvBedInfo = new System.Windows.Forms.ListView(); this.columnHeader1 = new System.Windows.Forms.ColumnHeader(); this.columnHeader2 = new System.Windows.Forms.ColumnHeader(); this.m_ctmMain = new System.Windows.Forms.ContextMenu(); this.mniAdd = new System.Windows.Forms.MenuItem(); this.mniDelete = new System.Windows.Forms.MenuItem(); this.mniClear = new System.Windows.Forms.MenuItem(); this.m_cmdAddBed = new PinkieControls.ButtonXP(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.m_chkDoc = new System.Windows.Forms.CheckedListBox(); this.m_trvResult = new System.Windows.Forms.TreeView(); this.m_cmdAddDoc = new PinkieControls.ButtonXP(); this.m_cmdSave = new PinkieControls.ButtonXP(); this.m_cmdReturn = new PinkieControls.ButtonXP(); this.groupBox1.SuspendLayout(); this.SuspendLayout(); // // m_lsvBedInfo // this.m_lsvBedInfo.CheckBoxes = true; this.m_lsvBedInfo.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.columnHeader1, this.columnHeader2 }); this.m_lsvBedInfo.ContextMenu = this.m_ctmMain; this.m_lsvBedInfo.FullRowSelect = true; this.m_lsvBedInfo.GridLines = true; this.m_lsvBedInfo.Location = new System.Drawing.Point(4, 8); this.m_lsvBedInfo.Name = "m_lsvBedInfo"; this.m_lsvBedInfo.Size = new System.Drawing.Size(160, 396); this.m_lsvBedInfo.TabIndex = 0; this.m_lsvBedInfo.View = System.Windows.Forms.View.Details; this.m_lsvBedInfo.DoubleClick += new System.EventHandler(this.m_lsvBedInfo_DoubleClick); // // columnHeader1 // this.columnHeader1.Text = "床位名称"; this.columnHeader1.Width = 69; // // columnHeader2 // this.columnHeader2.Text = "在床患者"; this.columnHeader2.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.columnHeader2.Width = 75; // // m_ctmMain // this.m_ctmMain.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.mniAdd, this.mniDelete, this.mniClear }); // // mniAdd // this.mniAdd.Index = 0; this.mniAdd.Text = "添加(&A)"; this.mniAdd.Click += new System.EventHandler(this.mniAdd_Click); // // mniDelete // this.mniDelete.Index = 1; this.mniDelete.Text = "删除(&D)"; this.mniDelete.Click += new System.EventHandler(this.mniDelete_Click); // // mniClear // this.mniClear.Index = 2; this.mniClear.Text = "清除(&C)"; this.mniClear.Click += new System.EventHandler(this.mniClear_Click); // // m_cmdAddBed // this.m_cmdAddBed.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(0)), ((System.Byte)(212)), ((System.Byte)(208)), ((System.Byte)(200))); this.m_cmdAddBed.DefaultScheme = true; this.m_cmdAddBed.DialogResult = System.Windows.Forms.DialogResult.None; this.m_cmdAddBed.Hint = ""; this.m_cmdAddBed.Location = new System.Drawing.Point(168, 104); this.m_cmdAddBed.Name = "m_cmdAddBed"; this.m_cmdAddBed.Scheme = PinkieControls.ButtonXP.Schemes.Blue; this.m_cmdAddBed.Size = new System.Drawing.Size(24, 124); this.m_cmdAddBed.TabIndex = 1; this.m_cmdAddBed.Text = ">>"; this.m_cmdAddBed.Click += new System.EventHandler(this.m_cmdAddBed_Click); // // groupBox1 // this.groupBox1.Controls.Add(this.m_chkDoc); this.groupBox1.Controls.Add(this.m_trvResult); this.groupBox1.Controls.Add(this.m_lsvBedInfo); this.groupBox1.Controls.Add(this.m_cmdAddBed); this.groupBox1.Controls.Add(this.m_cmdAddDoc); this.groupBox1.Controls.Add(this.m_cmdSave); this.groupBox1.Controls.Add(this.m_cmdReturn); this.groupBox1.Dock = System.Windows.Forms.DockStyle.Fill; this.groupBox1.Location = new System.Drawing.Point(0, 0); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(550, 411); this.groupBox1.TabIndex = 3; this.groupBox1.TabStop = false; // // m_chkDoc // this.m_chkDoc.CheckOnClick = true; this.m_chkDoc.Location = new System.Drawing.Point(388, 8); this.m_chkDoc.Name = "m_chkDoc"; this.m_chkDoc.Size = new System.Drawing.Size(160, 400); this.m_chkDoc.TabIndex = 4; this.m_chkDoc.DoubleClick += new System.EventHandler(this.m_chkDoc_DoubleClick); // // m_trvResult // this.m_trvResult.CheckBoxes = true; this.m_trvResult.ContextMenu = this.m_ctmMain; this.m_trvResult.ImageIndex = -1; this.m_trvResult.Location = new System.Drawing.Point(196, 8); this.m_trvResult.Name = "m_trvResult"; this.m_trvResult.SelectedImageIndex = -1; this.m_trvResult.Size = new System.Drawing.Size(160, 360); this.m_trvResult.TabIndex = 3; this.m_trvResult.AfterCheck += new System.Windows.Forms.TreeViewEventHandler(this.m_trvResult_AfterCheck); this.m_trvResult.DoubleClick += new System.EventHandler(this.m_trvResult_DoubleClick); // // m_cmdAddDoc // this.m_cmdAddDoc.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(0)), ((System.Byte)(212)), ((System.Byte)(208)), ((System.Byte)(200))); this.m_cmdAddDoc.DefaultScheme = true; this.m_cmdAddDoc.DialogResult = System.Windows.Forms.DialogResult.None; this.m_cmdAddDoc.Hint = ""; this.m_cmdAddDoc.Location = new System.Drawing.Point(360, 104); this.m_cmdAddDoc.Name = "m_cmdAddDoc"; this.m_cmdAddDoc.Scheme = PinkieControls.ButtonXP.Schemes.Blue; this.m_cmdAddDoc.Size = new System.Drawing.Size(24, 124); this.m_cmdAddDoc.TabIndex = 1; this.m_cmdAddDoc.Text = "<<"; this.m_cmdAddDoc.Click += new System.EventHandler(this.m_cmdAddDoc_Click); // // m_cmdSave // this.m_cmdSave.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(0)), ((System.Byte)(212)), ((System.Byte)(208)), ((System.Byte)(200))); this.m_cmdSave.DefaultScheme = true; this.m_cmdSave.DialogResult = System.Windows.Forms.DialogResult.None; this.m_cmdSave.Hint = ""; this.m_cmdSave.Location = new System.Drawing.Point(196, 376); this.m_cmdSave.Name = "m_cmdSave"; this.m_cmdSave.Scheme = PinkieControls.ButtonXP.Schemes.Blue; this.m_cmdSave.Size = new System.Drawing.Size(64, 28); this.m_cmdSave.TabIndex = 1; this.m_cmdSave.Text = "保 存"; this.m_cmdSave.Click += new System.EventHandler(this.m_cmdSave_Click); // // m_cmdReturn // this.m_cmdReturn.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(0)), ((System.Byte)(212)), ((System.Byte)(208)), ((System.Byte)(200))); this.m_cmdReturn.DefaultScheme = true; this.m_cmdReturn.DialogResult = System.Windows.Forms.DialogResult.Abort; this.m_cmdReturn.Hint = ""; this.m_cmdReturn.Location = new System.Drawing.Point(292, 376); this.m_cmdReturn.Name = "m_cmdReturn"; this.m_cmdReturn.Scheme = PinkieControls.ButtonXP.Schemes.Blue; this.m_cmdReturn.Size = new System.Drawing.Size(64, 28); this.m_cmdReturn.TabIndex = 1; this.m_cmdReturn.Text = "返 回"; this.m_cmdReturn.Click += new System.EventHandler(this.m_cmdReturn_Click); // // frmSetBed_Doctor // this.AutoScaleBaseSize = new System.Drawing.Size(7, 16); this.CancelButton = this.m_cmdReturn; this.ClientSize = new System.Drawing.Size(550, 411); this.Controls.Add(this.groupBox1); this.Font = new System.Drawing.Font("宋体", 10.5F); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D; this.Name = "frmSetBed_Doctor"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "管床设置"; this.groupBox1.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { subscriptionTv_ = new System.Windows.Forms.TreeView(); serverPopupMenu_ = new System.Windows.Forms.ContextMenuStrip(); serverViewStatusMi_ = new System.Windows.Forms.ToolStripMenuItem(); editOptionsMi_ = new System.Windows.Forms.ToolStripMenuItem(); serverDisconnectMi_ = new System.Windows.Forms.ToolStripMenuItem(); separator01_ = new System.Windows.Forms.ToolStripMenuItem(); serverBrowseItemsMi_ = new System.Windows.Forms.ToolStripMenuItem(); subscriptionCreateMi_ = new System.Windows.Forms.ToolStripMenuItem(); separator02_ = new System.Windows.Forms.ToolStripMenuItem(); serverReadItemsMi_ = new System.Windows.Forms.ToolStripMenuItem(); serverWriteItemsMi_ = new System.Windows.Forms.ToolStripMenuItem(); subscriptionPopupMenu_ = new System.Windows.Forms.ContextMenuStrip(); subscriptionEditMi_ = new System.Windows.Forms.ToolStripMenuItem(); subscriptionDeleteMi_ = new System.Windows.Forms.ToolStripMenuItem(); subscriptionAddItemsMi_ = new System.Windows.Forms.ToolStripMenuItem(); subscriptionEditItemsMi_ = new System.Windows.Forms.ToolStripMenuItem(); separatorS1_ = new System.Windows.Forms.ToolStripMenuItem(); subscriptionActiveMi_ = new System.Windows.Forms.ToolStripMenuItem(); subscriptionEnabledMi_ = new System.Windows.Forms.ToolStripMenuItem(); separatorS2_ = new System.Windows.Forms.ToolStripMenuItem(); subscriptionReadMi_ = new System.Windows.Forms.ToolStripMenuItem(); subscriptionWriteMi_ = new System.Windows.Forms.ToolStripMenuItem(); separatorS3_ = new System.Windows.Forms.ToolStripMenuItem(); subscriptionAsyncReadMi_ = new System.Windows.Forms.ToolStripMenuItem(); subscriptionAsyncWriteMi_ = new System.Windows.Forms.ToolStripMenuItem(); subscriptionRefreshMi_ = new System.Windows.Forms.ToolStripMenuItem(); itemPopupMenu_ = new System.Windows.Forms.ContextMenuStrip(); itemEditMi_ = new System.Windows.Forms.ToolStripMenuItem(); itemRemoveMi_ = new System.Windows.Forms.ToolStripMenuItem(); separatorI1_ = new System.Windows.Forms.ToolStripMenuItem(); itemActiveMi_ = new System.Windows.Forms.ToolStripMenuItem(); subscriptionEditOptionsMi_ = new System.Windows.Forms.ToolStripMenuItem(); SuspendLayout(); // // SubscriptionTV // subscriptionTv_.ContextMenuStrip = serverPopupMenu_; subscriptionTv_.Dock = System.Windows.Forms.DockStyle.Fill; subscriptionTv_.ImageIndex = -1; subscriptionTv_.Location = new System.Drawing.Point(0, 0); subscriptionTv_.Name = "subscriptionTv_"; subscriptionTv_.SelectedImageIndex = -1; subscriptionTv_.Size = new System.Drawing.Size(360, 400); subscriptionTv_.TabIndex = 0; subscriptionTv_.MouseDown += new System.Windows.Forms.MouseEventHandler(SubscriptionTV_MouseDown); // // Server_PopupMenu // serverPopupMenu_.Items.AddRange(new System.Windows.Forms.ToolStripMenuItem[] { serverViewStatusMi_, editOptionsMi_, serverDisconnectMi_, separator01_, serverBrowseItemsMi_, subscriptionCreateMi_, separator02_, serverReadItemsMi_, serverWriteItemsMi_ }); // // ServerViewStatusMI // serverViewStatusMi_.ImageIndex = 0; serverViewStatusMi_.Text = "&View Status..."; serverViewStatusMi_.Click += new System.EventHandler(ServerViewStatusMI_Click); // // EditOptionsMI // editOptionsMi_.ImageIndex = 1; editOptionsMi_.Text = "Edit &Options..."; editOptionsMi_.Click += new System.EventHandler(EditOptionsMI_Click); // // ServerDisconnectMI // serverDisconnectMi_.ImageIndex = 2; serverDisconnectMi_.Text = "&Disconnect"; serverDisconnectMi_.Click += new System.EventHandler(ServerDisconnectMI_Click); // // Separator01 // separator01_.ImageIndex = 3; separator01_.Text = "-"; // // ServerBrowseItemsMI // serverBrowseItemsMi_.ImageIndex = 4; serverBrowseItemsMi_.Text = "&Browse Items..."; serverBrowseItemsMi_.Click += new System.EventHandler(ServerBrowseItemsMI_Click); // // SubscriptionCreateMI // subscriptionCreateMi_.ImageIndex = 5; subscriptionCreateMi_.Text = "&Create Subscription..."; subscriptionCreateMi_.Click += new System.EventHandler(CreateSubscriptionMI_Click); // // Separator02 // separator02_.ImageIndex = 6; separator02_.Text = "-"; // // ServerReadItemsMI // serverReadItemsMi_.ImageIndex = 7; serverReadItemsMi_.Text = "&Read..."; serverReadItemsMi_.Click += new System.EventHandler(ServerReadItemsMI_Click); // // ServerWriteItemsMI // serverWriteItemsMi_.ImageIndex = 8; serverWriteItemsMi_.Text = "&Write..."; serverWriteItemsMi_.Click += new System.EventHandler(ServerWriteItemsMI_Click); // // Subscription_PopupMenu // subscriptionPopupMenu_.Items.AddRange(new System.Windows.Forms.ToolStripMenuItem[] { subscriptionEditMi_, subscriptionEditOptionsMi_, subscriptionDeleteMi_, subscriptionAddItemsMi_, subscriptionEditItemsMi_, separatorS1_, subscriptionActiveMi_, subscriptionEnabledMi_, separatorS2_, subscriptionReadMi_, subscriptionWriteMi_, separatorS3_, subscriptionAsyncReadMi_, subscriptionAsyncWriteMi_, subscriptionRefreshMi_ }); // // SubscriptionEditMI // subscriptionEditMi_.ImageIndex = 0; subscriptionEditMi_.Text = "&Edit State..."; subscriptionEditMi_.Click += new System.EventHandler(SubscriptionEditMI_Click); // // SubscriptionDeleteMI // subscriptionDeleteMi_.ImageIndex = 2; subscriptionDeleteMi_.Text = "&Delete"; subscriptionDeleteMi_.Click += new System.EventHandler(SubscriptionDeleteMI_Click); // // SubscriptionAddItemsMI // subscriptionAddItemsMi_.ImageIndex = 3; subscriptionAddItemsMi_.Text = "&Add Items.."; subscriptionAddItemsMi_.Click += new System.EventHandler(SubscriptionAddItemsMI_Click); // // SubscriptionEditItemsMI // subscriptionEditItemsMi_.ImageIndex = 4; subscriptionEditItemsMi_.Text = "E&dit Items..."; subscriptionEditItemsMi_.Click += new System.EventHandler(SubscriptionEditItemsMI_Click); // // SeparatorS1 // separatorS1_.ImageIndex = 5; separatorS1_.Text = "-"; // // SubscriptionActiveMI // subscriptionActiveMi_.ImageIndex = 6; subscriptionActiveMi_.Text = "Acti&ve"; subscriptionActiveMi_.Click += new System.EventHandler(SubscriptionActiveMI_Click); // // SubscriptionEnabledMI // subscriptionEnabledMi_.ImageIndex = 7; subscriptionEnabledMi_.Text = "E&nabled"; subscriptionEnabledMi_.Click += new System.EventHandler(SubscriptionEnabledMI_Click); // // SeparatorS2 // separatorS2_.ImageIndex = 8; separatorS2_.Text = "-"; // // SubscriptionReadMI // subscriptionReadMi_.ImageIndex = 9; subscriptionReadMi_.Text = "&Read..."; subscriptionReadMi_.Click += new System.EventHandler(SubscriptionReadMI_Click); // // SubscriptionWriteMI // subscriptionWriteMi_.ImageIndex = 10; subscriptionWriteMi_.Text = "&Write..."; subscriptionWriteMi_.Click += new System.EventHandler(SubscriptionWriteMI_Click); // // SeparatorS3 // separatorS3_.ImageIndex = 11; separatorS3_.Text = "-"; // // SubscriptionAsyncReadMI // subscriptionAsyncReadMi_.ImageIndex = 12; subscriptionAsyncReadMi_.Text = "Async Read..."; subscriptionAsyncReadMi_.Click += new System.EventHandler(SubscriptionAsyncReadMI_Click); // // SubscriptionAsyncWriteMI // subscriptionAsyncWriteMi_.ImageIndex = 13; subscriptionAsyncWriteMi_.Text = "Async Write..."; subscriptionAsyncWriteMi_.Click += new System.EventHandler(SubscriptionAsyncWriteMI_Click); // // SubscriptionRefreshMI // subscriptionRefreshMi_.ImageIndex = 14; subscriptionRefreshMi_.Text = "Refre&sh"; subscriptionRefreshMi_.Click += new System.EventHandler(SubscriptionRefreshMI_Click); // // Item_PopupMenu // itemPopupMenu_.Items.AddRange(new System.Windows.Forms.ToolStripMenuItem[] { itemEditMi_, itemRemoveMi_, separatorI1_, itemActiveMi_ }); // // ItemEditMI // itemEditMi_.ImageIndex = 0; itemEditMi_.Text = "&Edit..."; itemEditMi_.Click += new System.EventHandler(ItemEditMI_Click); // // ItemRemoveMI // itemRemoveMi_.ImageIndex = 1; itemRemoveMi_.Text = "&Delete"; itemRemoveMi_.Click += new System.EventHandler(ItemRemoveMI_Click); // // SeparatorI1 // separatorI1_.ImageIndex = 2; separatorI1_.Text = "-"; // // ItemActiveMI // itemActiveMi_.ImageIndex = 3; itemActiveMi_.Text = "&Active"; itemActiveMi_.Click += new System.EventHandler(ItemActiveMI_Click); // // SubscriptionEditOptionsMI // subscriptionEditOptionsMi_.ImageIndex = 1; subscriptionEditOptionsMi_.Text = "Edit &Options..."; subscriptionEditOptionsMi_.Click += new System.EventHandler(SubscriptionEditOptionsMI_Click); // // SubscriptionsTreeCtrl // Controls.Add(subscriptionTv_); Name = "SubscriptionsTreeCtrl"; Size = new System.Drawing.Size(360, 400); ResumeLayout(false); }
/// <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.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(NewDocumentDialogClass)); this.fileNameTextBox = new System.Windows.Forms.TextBox(); this.typeList = new System.Windows.Forms.ListView(); this.largeIconsImageList = new System.Windows.Forms.ImageList(this.components); this.smallIconsImageList = new System.Windows.Forms.ImageList(this.components); this.categoryTree = new System.Windows.Forms.TreeView(); this.treeImageList = new System.Windows.Forms.ImageList(this.components); this.nameLabel = new System.Windows.Forms.Label(); this.locationLabel = new System.Windows.Forms.Label(); this.browseButton = new System.Windows.Forms.Button(); this.okButton = new System.Windows.Forms.Button(); this.cancelButton = new System.Windows.Forms.Button(); this.buttonsGroup = new System.Windows.Forms.GroupBox(); this.isSeperateDirectory = new System.Windows.Forms.CheckBox(); this.smallIconButton = new System.Windows.Forms.Button(); this.largeIconButton = new System.Windows.Forms.Button(); this.categoryLabel = new System.Windows.Forms.Label(); this.typeLabel = new System.Windows.Forms.Label(); this.folderBrowserDialog = new System.Windows.Forms.FolderBrowserDialog(); this.fileLocationCombo = new NETXP.Controls.ComboBoxEx(); this.buttonsGroup.SuspendLayout(); this.SuspendLayout(); // // fileNameTextBox // this.fileNameTextBox.Location = new System.Drawing.Point(64, 184); this.fileNameTextBox.Name = "fileNameTextBox"; this.fileNameTextBox.Size = new System.Drawing.Size(392, 20); this.fileNameTextBox.TabIndex = 3; this.fileNameTextBox.Text = ""; // // typeList // this.typeList.Alignment = System.Windows.Forms.ListViewAlignment.SnapToGrid; this.typeList.AllowColumnReorder = true; this.typeList.AutoArrange = false; this.typeList.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.typeList.GridLines = true; this.typeList.HideSelection = false; this.typeList.LargeImageList = this.largeIconsImageList; this.typeList.Location = new System.Drawing.Point(232, 32); this.typeList.MultiSelect = false; this.typeList.Name = "typeList"; this.typeList.Size = new System.Drawing.Size(224, 144); this.typeList.SmallImageList = this.smallIconsImageList; this.typeList.TabIndex = 2; this.typeList.View = System.Windows.Forms.View.SmallIcon; this.typeList.SelectedIndexChanged += new System.EventHandler(this.typeList_SelectedIndexChanged); // // largeIconsImageList // this.largeIconsImageList.ColorDepth = System.Windows.Forms.ColorDepth.Depth32Bit; this.largeIconsImageList.ImageSize = new System.Drawing.Size(32, 32); this.largeIconsImageList.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("largeIconsImageList.ImageStream"))); this.largeIconsImageList.TransparentColor = System.Drawing.Color.Transparent; // // smallIconsImageList // this.smallIconsImageList.ColorDepth = System.Windows.Forms.ColorDepth.Depth32Bit; this.smallIconsImageList.ImageSize = new System.Drawing.Size(18, 18); this.smallIconsImageList.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("smallIconsImageList.ImageStream"))); this.smallIconsImageList.TransparentColor = System.Drawing.Color.Transparent; // // categoryTree // this.categoryTree.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.categoryTree.ImageList = this.treeImageList; this.categoryTree.Location = new System.Drawing.Point(8, 32); this.categoryTree.Name = "categoryTree"; this.categoryTree.SelectedImageIndex = 1; this.categoryTree.ShowRootLines = false; this.categoryTree.Size = new System.Drawing.Size(216, 144); this.categoryTree.TabIndex = 1; this.categoryTree.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.categoryTree_AfterSelect); // // treeImageList // this.treeImageList.ColorDepth = System.Windows.Forms.ColorDepth.Depth32Bit; this.treeImageList.ImageSize = new System.Drawing.Size(20, 20); this.treeImageList.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("treeImageList.ImageStream"))); this.treeImageList.TransparentColor = System.Drawing.Color.Transparent; // // nameLabel // this.nameLabel.FlatStyle = System.Windows.Forms.FlatStyle.System; this.nameLabel.Location = new System.Drawing.Point(8, 184); this.nameLabel.Name = "nameLabel"; this.nameLabel.Size = new System.Drawing.Size(56, 23); this.nameLabel.TabIndex = 4; this.nameLabel.Text = "Name :"; // // locationLabel // this.locationLabel.FlatStyle = System.Windows.Forms.FlatStyle.System; this.locationLabel.Location = new System.Drawing.Point(8, 224); this.locationLabel.Name = "locationLabel"; this.locationLabel.Size = new System.Drawing.Size(56, 23); this.locationLabel.TabIndex = 5; this.locationLabel.Text = "Location :"; // // browseButton // this.browseButton.FlatStyle = System.Windows.Forms.FlatStyle.System; this.browseButton.Location = new System.Drawing.Point(384, 224); this.browseButton.Name = "browseButton"; this.browseButton.Size = new System.Drawing.Size(72, 23); this.browseButton.TabIndex = 5; this.browseButton.Text = "Browse..."; this.browseButton.Click += new System.EventHandler(this.browseButton_Click); // // okButton // this.okButton.FlatStyle = System.Windows.Forms.FlatStyle.System; this.okButton.Location = new System.Drawing.Point(288, 16); this.okButton.Name = "okButton"; this.okButton.Size = new System.Drawing.Size(80, 23); this.okButton.TabIndex = 7; this.okButton.Text = "OK"; this.okButton.Click += new System.EventHandler(this.okButton_Click); // // cancelButton // this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.cancelButton.FlatStyle = System.Windows.Forms.FlatStyle.System; this.cancelButton.Location = new System.Drawing.Point(376, 16); this.cancelButton.Name = "cancelButton"; this.cancelButton.Size = new System.Drawing.Size(80, 23); this.cancelButton.TabIndex = 8; this.cancelButton.Text = "Cancel"; this.cancelButton.Click += new System.EventHandler(this.cancelButton_Click); // // buttonsGroup // this.buttonsGroup.Controls.Add(this.isSeperateDirectory); this.buttonsGroup.Controls.Add(this.okButton); this.buttonsGroup.Controls.Add(this.cancelButton); this.buttonsGroup.Dock = System.Windows.Forms.DockStyle.Bottom; this.buttonsGroup.FlatStyle = System.Windows.Forms.FlatStyle.System; this.buttonsGroup.Location = new System.Drawing.Point(0, 254); this.buttonsGroup.Name = "buttonsGroup"; this.buttonsGroup.Size = new System.Drawing.Size(466, 48); this.buttonsGroup.TabIndex = 6; this.buttonsGroup.TabStop = false; // // isSeperateDirectory // this.isSeperateDirectory.Enabled = false; this.isSeperateDirectory.FlatStyle = System.Windows.Forms.FlatStyle.System; this.isSeperateDirectory.Location = new System.Drawing.Point(24, 16); this.isSeperateDirectory.Name = "isSeperateDirectory"; this.isSeperateDirectory.Size = new System.Drawing.Size(168, 24); this.isSeperateDirectory.TabIndex = 8; this.isSeperateDirectory.Text = "Create directory for Project"; this.isSeperateDirectory.Visible = false; // // smallIconButton // this.smallIconButton.FlatStyle = System.Windows.Forms.FlatStyle.Popup; this.smallIconButton.Image = ((System.Drawing.Image)(resources.GetObject("smallIconButton.Image"))); this.smallIconButton.Location = new System.Drawing.Point(408, 8); this.smallIconButton.Name = "smallIconButton"; this.smallIconButton.Size = new System.Drawing.Size(24, 23); this.smallIconButton.TabIndex = 9; this.smallIconButton.Click += new System.EventHandler(this.smallIconButton_Click); // // largeIconButton // this.largeIconButton.FlatStyle = System.Windows.Forms.FlatStyle.Popup; this.largeIconButton.Image = ((System.Drawing.Image)(resources.GetObject("largeIconButton.Image"))); this.largeIconButton.Location = new System.Drawing.Point(432, 8); this.largeIconButton.Name = "largeIconButton"; this.largeIconButton.Size = new System.Drawing.Size(24, 23); this.largeIconButton.TabIndex = 10; this.largeIconButton.Click += new System.EventHandler(this.largeIconButton_Click); // // categoryLabel // this.categoryLabel.Location = new System.Drawing.Point(8, 16); this.categoryLabel.Name = "categoryLabel"; this.categoryLabel.Size = new System.Drawing.Size(100, 16); this.categoryLabel.TabIndex = 13; this.categoryLabel.Text = "Category :"; // // typeLabel // this.typeLabel.Location = new System.Drawing.Point(232, 16); this.typeLabel.Name = "typeLabel"; this.typeLabel.Size = new System.Drawing.Size(100, 16); this.typeLabel.TabIndex = 14; this.typeLabel.Text = "Type :"; // // fileLocationCombo // this.fileLocationCombo.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; this.fileLocationCombo.Flags = ((NETXP.Controls.AutoCompleteFlags)((NETXP.Controls.AutoCompleteFlags.FileSystemDirs | NETXP.Controls.AutoCompleteFlags.AutoSuggestForceOn))); this.fileLocationCombo.Location = new System.Drawing.Point(64, 224); this.fileLocationCombo.MRUHive = NETXP.Controls.MRUKeyHive.LocalMachine; this.fileLocationCombo.MRUKey = "Software\\RoboAntz Labs\\MegaIDE\\Recent Documents\\RecentRecentlyTyped"; this.fileLocationCombo.Name = "fileLocationCombo"; this.fileLocationCombo.Size = new System.Drawing.Size(304, 21); this.fileLocationCombo.TabIndex = 15; // // NewDocumentDialogClass // this.AcceptButton = this.okButton; this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.CancelButton = this.cancelButton; this.ClientSize = new System.Drawing.Size(466, 302); this.Controls.Add(this.fileLocationCombo); this.Controls.Add(this.typeLabel); this.Controls.Add(this.categoryLabel); this.Controls.Add(this.largeIconButton); this.Controls.Add(this.smallIconButton); this.Controls.Add(this.buttonsGroup); this.Controls.Add(this.browseButton); this.Controls.Add(this.locationLabel); this.Controls.Add(this.nameLabel); this.Controls.Add(this.categoryTree); this.Controls.Add(this.typeList); this.Controls.Add(this.fileNameTextBox); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "NewDocumentDialogClass"; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.buttonsGroup.ResumeLayout(false); this.ResumeLayout(false); }
public AutomationIsOffscreenPropertyEvent(TreeNodeProvider nodeProvider) : base(nodeProvider, AutomationElementIdentifiers.IsOffscreenProperty) { treeView = nodeProvider.TreeNode.TreeView; }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.PODMainMenu = new System.Windows.Forms.MainMenu(); this.ShipmentMenuItem = new System.Windows.Forms.MenuItem(); this.AddShipmentMenuItem = new System.Windows.Forms.MenuItem(); this.ImportShipmentMenuItem = new System.Windows.Forms.MenuItem(); this.ExportShipmentMenuItem = new System.Windows.Forms.MenuItem(); this.ShipmentSearchMenuItem = new System.Windows.Forms.MenuItem(); this.ExitMenuItem = new System.Windows.Forms.MenuItem(); this.ToolsMenuItem = new System.Windows.Forms.MenuItem(); this.ManagePhonesMenuItem = new System.Windows.Forms.MenuItem(); this.InstallPhoneAppMenuItem = new System.Windows.Forms.MenuItem(); this.HelpMenuItem = new System.Windows.Forms.MenuItem(); this.AboutPODMenuItem = new System.Windows.Forms.MenuItem(); this.ShipmentsBuckets = new System.Windows.Forms.TreeView(); this.ShipmentDetails = new System.Windows.Forms.ListBox(); this.DeliveryDetails = new System.Windows.Forms.ListBox(); this.PODMainToolBar = new System.Windows.Forms.ToolBar(); this.StatusBarMain = new System.Windows.Forms.StatusBar(); this.AllocateButton = new System.Windows.Forms.Button(); this.SendButton = new System.Windows.Forms.Button(); this.SuspendLayout(); // // PODMainMenu // this.PODMainMenu.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.ShipmentMenuItem, this.ToolsMenuItem, this.HelpMenuItem }); // // ShipmentMenuItem // this.ShipmentMenuItem.Index = 0; this.ShipmentMenuItem.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.AddShipmentMenuItem, this.ImportShipmentMenuItem, this.ExportShipmentMenuItem, this.ShipmentSearchMenuItem, this.ExitMenuItem }); this.ShipmentMenuItem.Text = "Shipments"; // // AddShipmentMenuItem // this.AddShipmentMenuItem.Index = 0; this.AddShipmentMenuItem.Text = "Add"; // // ImportShipmentMenuItem // this.ImportShipmentMenuItem.Index = 1; this.ImportShipmentMenuItem.Text = "Import"; // // ExportShipmentMenuItem // this.ExportShipmentMenuItem.Index = 2; this.ExportShipmentMenuItem.Text = "Export"; // // ShipmentSearchMenuItem // this.ShipmentSearchMenuItem.Index = 3; this.ShipmentSearchMenuItem.Text = "Search"; // // ExitMenuItem // this.ExitMenuItem.Index = 4; this.ExitMenuItem.Text = "Exit"; // // ToolsMenuItem // this.ToolsMenuItem.Index = 1; this.ToolsMenuItem.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.ManagePhonesMenuItem, this.InstallPhoneAppMenuItem }); this.ToolsMenuItem.Text = "Tools"; // // ManagePhonesMenuItem // this.ManagePhonesMenuItem.Index = 0; this.ManagePhonesMenuItem.Text = "Manage Phones"; this.ManagePhonesMenuItem.Click += new System.EventHandler(this.ManagePhonesMenuItem_Click); // // InstallPhoneAppMenuItem // this.InstallPhoneAppMenuItem.Index = 1; this.InstallPhoneAppMenuItem.Text = "Install Phone App"; this.InstallPhoneAppMenuItem.Click += new System.EventHandler(this.InstallPhoneAppMenuItem_Click); // // HelpMenuItem // this.HelpMenuItem.Index = 2; this.HelpMenuItem.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.AboutPODMenuItem }); this.HelpMenuItem.Text = "Help"; // // AboutPODMenuItem // this.AboutPODMenuItem.Index = 0; this.AboutPODMenuItem.Text = "About POD Manager"; // // ShipmentsBuckets // this.ShipmentsBuckets.ImageIndex = -1; this.ShipmentsBuckets.Location = new System.Drawing.Point(5, 48); this.ShipmentsBuckets.Name = "ShipmentsBuckets"; this.ShipmentsBuckets.SelectedImageIndex = -1; this.ShipmentsBuckets.Size = new System.Drawing.Size(144, 256); this.ShipmentsBuckets.TabIndex = 0; this.ShipmentsBuckets.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.ShipmentsBuckets_AfterSelect); // // ShipmentDetails // this.ShipmentDetails.Location = new System.Drawing.Point(152, 48); this.ShipmentDetails.Name = "ShipmentDetails"; this.ShipmentDetails.Size = new System.Drawing.Size(536, 95); this.ShipmentDetails.TabIndex = 1; this.ShipmentDetails.SelectedIndexChanged += new System.EventHandler(this.ShipmentDetails_SelectedIndexChanged); // // DeliveryDetails // this.DeliveryDetails.Location = new System.Drawing.Point(152, 160); this.DeliveryDetails.Name = "DeliveryDetails"; this.DeliveryDetails.Size = new System.Drawing.Size(536, 147); this.DeliveryDetails.TabIndex = 2; // // PODMainToolBar // this.PODMainToolBar.DropDownArrows = true; this.PODMainToolBar.Location = new System.Drawing.Point(0, 0); this.PODMainToolBar.Name = "PODMainToolBar"; this.PODMainToolBar.ShowToolTips = true; this.PODMainToolBar.Size = new System.Drawing.Size(704, 42); this.PODMainToolBar.TabIndex = 3; // // StatusBarMain // this.StatusBarMain.Location = new System.Drawing.Point(0, 371); this.StatusBarMain.Name = "StatusBarMain"; this.StatusBarMain.Size = new System.Drawing.Size(704, 22); this.StatusBarMain.TabIndex = 4; this.StatusBarMain.Text = "Status"; // // AllocateButton // this.AllocateButton.Location = new System.Drawing.Point(152, 328); this.AllocateButton.Name = "AllocateButton"; this.AllocateButton.Size = new System.Drawing.Size(96, 23); this.AllocateButton.TabIndex = 5; this.AllocateButton.Text = "Allocate"; // // SendButton // this.SendButton.Location = new System.Drawing.Point(272, 328); this.SendButton.Name = "SendButton"; this.SendButton.Size = new System.Drawing.Size(104, 23); this.SendButton.TabIndex = 6; this.SendButton.Text = "Send Allocations"; this.SendButton.Click += new System.EventHandler(this.SendButton_Click); // // PODMainForm // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(704, 393); this.Controls.Add(this.SendButton); this.Controls.Add(this.AllocateButton); this.Controls.Add(this.StatusBarMain); this.Controls.Add(this.PODMainToolBar); this.Controls.Add(this.DeliveryDetails); this.Controls.Add(this.ShipmentDetails); this.Controls.Add(this.ShipmentsBuckets); this.Menu = this.PODMainMenu; this.Name = "PODMainForm"; this.Text = "Shipment Delivery Manager"; this.ResumeLayout(false); }
/// <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(frmHoantra)); this.label1 = new System.Windows.Forms.Label(); this.mabn = new System.Windows.Forms.ComboBox(); this.label2 = new System.Windows.Forms.Label(); this.hoten = new System.Windows.Forms.TextBox(); this.label3 = new System.Windows.Forms.Label(); this.label4 = new System.Windows.Forms.Label(); this.label5 = new System.Windows.Forms.Label(); this.ngay = new System.Windows.Forms.TextBox(); this.phieu = new System.Windows.Forms.ComboBox(); this.makp = new System.Windows.Forms.ComboBox(); this.treeView1 = new System.Windows.Forms.TreeView(); this.butKetthuc = new System.Windows.Forms.Button(); this.dataGrid1 = new System.Windows.Forms.DataGrid(); this.butChoduyet = new System.Windows.Forms.Button(); this.butDuyet = new System.Windows.Forms.Button(); this.butThuhoi = new System.Windows.Forms.Button(); this.butIn = new System.Windows.Forms.Button(); this.butTim = new System.Windows.Forms.Button(); ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).BeginInit(); this.SuspendLayout(); // // label1 // this.label1.Location = new System.Drawing.Point(0, 3); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(48, 23); this.label1.TabIndex = 0; this.label1.Text = "Mã BN :"; this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // mabn // this.mabn.BackColor = System.Drawing.SystemColors.HighlightText; this.mabn.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.mabn.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.mabn.Location = new System.Drawing.Point(48, 3); this.mabn.Name = "mabn"; this.mabn.Size = new System.Drawing.Size(88, 21); this.mabn.TabIndex = 1; this.mabn.SelectedIndexChanged += new System.EventHandler(this.mabn_SelectedIndexChanged); this.mabn.KeyDown += new System.Windows.Forms.KeyEventHandler(this.mabn_KeyDown); // // label2 // this.label2.Location = new System.Drawing.Point(136, 3); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(48, 23); this.label2.TabIndex = 2; this.label2.Text = "Họ tên :"; this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // hoten // this.hoten.BackColor = System.Drawing.SystemColors.HighlightText; this.hoten.Enabled = false; this.hoten.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.hoten.Location = new System.Drawing.Point(184, 3); this.hoten.Name = "hoten"; this.hoten.Size = new System.Drawing.Size(160, 21); this.hoten.TabIndex = 3; // // label3 // this.label3.Location = new System.Drawing.Point(344, 3); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(40, 23); this.label3.TabIndex = 4; this.label3.Text = "Ngày :"; this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label4 // this.label4.Location = new System.Drawing.Point(452, 3); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(40, 23); this.label4.TabIndex = 5; this.label4.Text = "Phiếu :"; this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label5 // this.label5.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.label5.Location = new System.Drawing.Point(598, 3); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(44, 23); this.label5.TabIndex = 6; this.label5.Text = "Khoa :"; this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // ngay // this.ngay.BackColor = System.Drawing.SystemColors.HighlightText; this.ngay.Enabled = false; this.ngay.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.ngay.Location = new System.Drawing.Point(384, 3); this.ngay.Name = "ngay"; this.ngay.Size = new System.Drawing.Size(68, 21); this.ngay.TabIndex = 7; // // phieu // this.phieu.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.phieu.BackColor = System.Drawing.SystemColors.HighlightText; this.phieu.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.phieu.Enabled = false; this.phieu.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.phieu.Location = new System.Drawing.Point(492, 3); this.phieu.Name = "phieu"; this.phieu.Size = new System.Drawing.Size(112, 21); this.phieu.TabIndex = 8; // // makp // this.makp.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.makp.BackColor = System.Drawing.SystemColors.HighlightText; this.makp.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.makp.Enabled = false; this.makp.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.makp.Location = new System.Drawing.Point(640, 3); this.makp.Name = "makp"; this.makp.Size = new System.Drawing.Size(144, 21); this.makp.TabIndex = 9; // // treeView1 // this.treeView1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Right))); this.treeView1.Location = new System.Drawing.Point(640, 25); this.treeView1.Name = "treeView1"; this.treeView1.Size = new System.Drawing.Size(144, 499); this.treeView1.TabIndex = 10; // // butKetthuc // this.butKetthuc.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.butKetthuc.Image = global::Duoc.Properties.Resources.close_r; this.butKetthuc.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.butKetthuc.Location = new System.Drawing.Point(503, 526); this.butKetthuc.Name = "butKetthuc"; this.butKetthuc.Size = new System.Drawing.Size(70, 25); this.butKetthuc.TabIndex = 27; this.butKetthuc.Text = "&Kết thúc"; this.butKetthuc.TextAlign = System.Drawing.ContentAlignment.MiddleRight; this.butKetthuc.Click += new System.EventHandler(this.butKetthuc_Click); // // dataGrid1 // this.dataGrid1.AlternatingBackColor = System.Drawing.Color.Lavender; this.dataGrid1.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.dataGrid1.BackColor = System.Drawing.Color.WhiteSmoke; this.dataGrid1.BackgroundColor = System.Drawing.SystemColors.Control; this.dataGrid1.BorderStyle = System.Windows.Forms.BorderStyle.None; this.dataGrid1.CaptionBackColor = System.Drawing.SystemColors.Control; this.dataGrid1.CaptionFont = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.dataGrid1.CaptionForeColor = System.Drawing.Color.MidnightBlue; this.dataGrid1.DataMember = ""; this.dataGrid1.FlatMode = true; this.dataGrid1.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.dataGrid1.ForeColor = System.Drawing.Color.MidnightBlue; this.dataGrid1.GridLineColor = System.Drawing.Color.Gainsboro; this.dataGrid1.GridLineStyle = System.Windows.Forms.DataGridLineStyle.None; this.dataGrid1.HeaderFont = new System.Drawing.Font("Tahoma", 8F, System.Drawing.FontStyle.Bold); this.dataGrid1.HeaderForeColor = System.Drawing.Color.WhiteSmoke; this.dataGrid1.LinkColor = System.Drawing.Color.Teal; this.dataGrid1.Location = new System.Drawing.Point(8, 8); this.dataGrid1.Name = "dataGrid1"; this.dataGrid1.ParentRowsBackColor = System.Drawing.Color.Gainsboro; this.dataGrid1.ParentRowsForeColor = System.Drawing.Color.MidnightBlue; this.dataGrid1.ReadOnly = true; this.dataGrid1.RowHeaderWidth = 5; this.dataGrid1.SelectionBackColor = System.Drawing.Color.CadetBlue; this.dataGrid1.SelectionForeColor = System.Drawing.Color.WhiteSmoke; this.dataGrid1.Size = new System.Drawing.Size(624, 511); this.dataGrid1.TabIndex = 101; // // butChoduyet // this.butChoduyet.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.butChoduyet.Image = global::Duoc.Properties.Resources.chonkhoa; this.butChoduyet.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.butChoduyet.Location = new System.Drawing.Point(640, 526); this.butChoduyet.Name = "butChoduyet"; this.butChoduyet.Size = new System.Drawing.Size(144, 25); this.butChoduyet.TabIndex = 102; this.butChoduyet.Text = " Danh sách chờ duyệt"; this.butChoduyet.Click += new System.EventHandler(this.butChoduyet_Click); // // butDuyet // this.butDuyet.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.butDuyet.Image = global::Duoc.Properties.Resources.Export; this.butDuyet.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.butDuyet.Location = new System.Drawing.Point(223, 526); this.butDuyet.Name = "butDuyet"; this.butDuyet.Size = new System.Drawing.Size(70, 25); this.butDuyet.TabIndex = 103; this.butDuyet.Text = "&Duyệt"; this.butDuyet.TextAlign = System.Drawing.ContentAlignment.MiddleRight; this.butDuyet.Click += new System.EventHandler(this.butDuyet_Click); // // butThuhoi // this.butThuhoi.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.butThuhoi.Image = global::Duoc.Properties.Resources.delete_enabled; this.butThuhoi.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.butThuhoi.Location = new System.Drawing.Point(293, 526); this.butThuhoi.Name = "butThuhoi"; this.butThuhoi.Size = new System.Drawing.Size(70, 25); this.butThuhoi.TabIndex = 104; this.butThuhoi.Text = "&Thu hồi"; this.butThuhoi.TextAlign = System.Drawing.ContentAlignment.MiddleRight; this.butThuhoi.Click += new System.EventHandler(this.butThuhoi_Click); // // butIn // this.butIn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.butIn.Image = global::Duoc.Properties.Resources.Print1; this.butIn.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.butIn.Location = new System.Drawing.Point(363, 526); this.butIn.Name = "butIn"; this.butIn.Size = new System.Drawing.Size(70, 25); this.butIn.TabIndex = 106; this.butIn.Text = " &In"; this.butIn.Click += new System.EventHandler(this.butIn_Click); // // butTim // this.butTim.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.butTim.Image = global::Duoc.Properties.Resources.search; this.butTim.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.butTim.Location = new System.Drawing.Point(433, 526); this.butTim.Name = "butTim"; this.butTim.Size = new System.Drawing.Size(70, 25); this.butTim.TabIndex = 108; this.butTim.Text = " Tìm"; this.butTim.Click += new System.EventHandler(this.butTim_Click); // // frmHoantra // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(792, 573); this.Controls.Add(this.butTim); this.Controls.Add(this.butIn); this.Controls.Add(this.butThuhoi); this.Controls.Add(this.butDuyet); this.Controls.Add(this.butChoduyet); this.Controls.Add(this.makp); this.Controls.Add(this.phieu); this.Controls.Add(this.ngay); this.Controls.Add(this.label5); this.Controls.Add(this.label4); this.Controls.Add(this.label3); this.Controls.Add(this.hoten); this.Controls.Add(this.label2); this.Controls.Add(this.mabn); this.Controls.Add(this.label1); this.Controls.Add(this.dataGrid1); this.Controls.Add(this.butKetthuc); this.Controls.Add(this.treeView1); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Name = "frmHoantra"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "frmHoantra"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Load += new System.EventHandler(this.frmHoantra_Load); ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
/// <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.Windows.Forms.TreeNode treeNode1 = new System.Windows.Forms.TreeNode("To load-> Double Click"); this.QueryButton = new System.Windows.Forms.Button(); this.progressBar1 = new System.Windows.Forms.ProgressBar(); this.StopButton = new System.Windows.Forms.Button(); this.QueryTextBox = new System.Windows.Forms.ComboBox(); this.mainMenu1 = new System.Windows.Forms.MainMenu(this.components); this.menuItem1 = new System.Windows.Forms.MenuItem(); this.LoginMenuItem = new System.Windows.Forms.MenuItem(); this.menuItem2 = new System.Windows.Forms.MenuItem(); this.SavemenuItem = new System.Windows.Forms.MenuItem(); this.LoadmenuItem = new System.Windows.Forms.MenuItem(); this.ClearmenuItem = new System.Windows.Forms.MenuItem(); this.BasicTreemenuItem = new System.Windows.Forms.MenuItem(); this.ExitmenuItem = new System.Windows.Forms.MenuItem(); this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog(); this.treeView1 = new System.Windows.Forms.TreeView(); this.treeView2 = new System.Windows.Forms.TreeView(); this.ConnectButton = new System.Windows.Forms.Button(); this.splitContainer1 = new System.Windows.Forms.SplitContainer(); this.panel1 = new System.Windows.Forms.Panel(); this.ConnectionLabel = new System.Windows.Forms.Label(); this.splitContainer2 = new System.Windows.Forms.SplitContainer(); ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit(); this.splitContainer1.Panel1.SuspendLayout(); this.splitContainer1.Panel2.SuspendLayout(); this.splitContainer1.SuspendLayout(); this.panel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).BeginInit(); this.splitContainer2.Panel1.SuspendLayout(); this.splitContainer2.Panel2.SuspendLayout(); this.splitContainer2.SuspendLayout(); this.SuspendLayout(); // // QueryButton // this.QueryButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.QueryButton.Location = new System.Drawing.Point(592, 7); this.QueryButton.Name = "QueryButton"; this.QueryButton.Size = new System.Drawing.Size(67, 24); this.QueryButton.TabIndex = 1; this.QueryButton.Text = "&Query"; this.QueryButton.Click += new System.EventHandler(this.QueryButton_Click); // // progressBar1 // this.progressBar1.Dock = System.Windows.Forms.DockStyle.Bottom; this.progressBar1.Location = new System.Drawing.Point(0, 81); this.progressBar1.Name = "progressBar1"; this.progressBar1.Size = new System.Drawing.Size(753, 10); this.progressBar1.TabIndex = 5; // // StopButton // this.StopButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.StopButton.Enabled = false; this.StopButton.Location = new System.Drawing.Point(667, 7); this.StopButton.Name = "StopButton"; this.StopButton.Size = new System.Drawing.Size(67, 24); this.StopButton.TabIndex = 2; this.StopButton.Text = "Stop!"; this.StopButton.Click += new System.EventHandler(this.button1_Click); // // QueryTextBox // this.QueryTextBox.Dock = System.Windows.Forms.DockStyle.Top; this.QueryTextBox.Location = new System.Drawing.Point(0, 0); this.QueryTextBox.Name = "QueryTextBox"; this.QueryTextBox.Size = new System.Drawing.Size(753, 24); this.QueryTextBox.TabIndex = 0; this.QueryTextBox.Text = "select * from CIM_System"; this.QueryTextBox.KeyUp += new System.Windows.Forms.KeyEventHandler(this.QueryTextBox_KeyUp); // // mainMenu1 // this.mainMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuItem1 }); // // menuItem1 // this.menuItem1.Index = 0; this.menuItem1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.LoginMenuItem, this.menuItem2, this.BasicTreemenuItem, this.ExitmenuItem }); this.menuItem1.Text = "&Options"; // // LoginMenuItem // this.LoginMenuItem.Index = 0; this.LoginMenuItem.Text = "&Login"; this.LoginMenuItem.Click += new System.EventHandler(this.LoginMenuItem_Click); // // menuItem2 // this.menuItem2.Index = 1; this.menuItem2.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.SavemenuItem, this.LoadmenuItem, this.ClearmenuItem }); this.menuItem2.Text = "&History"; // // SavemenuItem // this.SavemenuItem.Index = 0; this.SavemenuItem.Text = "&Save"; this.SavemenuItem.Click += new System.EventHandler(this.SavemenuItem_Click); // // LoadmenuItem // this.LoadmenuItem.Index = 1; this.LoadmenuItem.Text = "L&oad"; this.LoadmenuItem.Click += new System.EventHandler(this.LoadmenuItem_Click); // // ClearmenuItem // this.ClearmenuItem.Index = 2; this.ClearmenuItem.Text = "&Clear"; this.ClearmenuItem.Click += new System.EventHandler(this.ClearmenuItem_Click); // // BasicTreemenuItem // this.BasicTreemenuItem.Index = 2; this.BasicTreemenuItem.Text = "Load Static Class Tree"; this.BasicTreemenuItem.Click += new System.EventHandler(this.BasicTreemenuItem_Click); // // ExitmenuItem // this.ExitmenuItem.Index = 3; this.ExitmenuItem.Text = "E&xit"; this.ExitmenuItem.Click += new System.EventHandler(this.ExitmenuItem_Click); // // 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(399, 374); this.treeView1.TabIndex = 3; this.treeView1.DoubleClick += new System.EventHandler(this.treeView1_DoubleClick); // // treeView2 // this.treeView2.Dock = System.Windows.Forms.DockStyle.Fill; this.treeView2.Location = new System.Drawing.Point(0, 0); this.treeView2.Name = "treeView2"; treeNode1.Name = ""; treeNode1.Text = "To load-> Double Click"; this.treeView2.Nodes.AddRange(new System.Windows.Forms.TreeNode[] { treeNode1 }); this.treeView2.Size = new System.Drawing.Size(350, 374); this.treeView2.TabIndex = 4; this.treeView2.Click += new System.EventHandler(this.treeView2_Click); this.treeView2.DoubleClick += new System.EventHandler(this.treeView2_DoubleClick); // // ConnectButton // this.ConnectButton.Location = new System.Drawing.Point(4, 7); this.ConnectButton.Name = "ConnectButton"; this.ConnectButton.Size = new System.Drawing.Size(67, 24); this.ConnectButton.TabIndex = 3; this.ConnectButton.Text = "Connect..."; this.ConnectButton.UseVisualStyleBackColor = true; this.ConnectButton.Click += new System.EventHandler(this.ConnectButton_Click); // // splitContainer1 // this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill; this.splitContainer1.FixedPanel = System.Windows.Forms.FixedPanel.Panel1; this.splitContainer1.Location = new System.Drawing.Point(0, 0); this.splitContainer1.Name = "splitContainer1"; this.splitContainer1.Orientation = System.Windows.Forms.Orientation.Horizontal; // // splitContainer1.Panel1 // this.splitContainer1.Panel1.Controls.Add(this.panel1); this.splitContainer1.Panel1.Controls.Add(this.QueryTextBox); this.splitContainer1.Panel1.Controls.Add(this.progressBar1); // // splitContainer1.Panel2 // this.splitContainer1.Panel2.Controls.Add(this.splitContainer2); this.splitContainer1.Size = new System.Drawing.Size(753, 469); this.splitContainer1.SplitterDistance = 91; this.splitContainer1.TabIndex = 7; // // panel1 // this.panel1.Controls.Add(this.ConnectionLabel); this.panel1.Controls.Add(this.QueryButton); this.panel1.Controls.Add(this.StopButton); this.panel1.Controls.Add(this.ConnectButton); this.panel1.Dock = System.Windows.Forms.DockStyle.Fill; this.panel1.Location = new System.Drawing.Point(0, 24); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(753, 57); this.panel1.TabIndex = 7; // // ConnectionLabel // this.ConnectionLabel.AutoSize = true; this.ConnectionLabel.Location = new System.Drawing.Point(88, 13); this.ConnectionLabel.Name = "ConnectionLabel"; this.ConnectionLabel.Size = new System.Drawing.Size(141, 17); this.ConnectionLabel.TabIndex = 7; this.ConnectionLabel.Text = "\\\\localhost\\root\\cimv2"; // // splitContainer2 // this.splitContainer2.Dock = System.Windows.Forms.DockStyle.Fill; this.splitContainer2.Location = new System.Drawing.Point(0, 0); this.splitContainer2.Name = "splitContainer2"; // // splitContainer2.Panel1 // this.splitContainer2.Panel1.Controls.Add(this.treeView2); // // splitContainer2.Panel2 // this.splitContainer2.Panel2.Controls.Add(this.treeView1); this.splitContainer2.Size = new System.Drawing.Size(753, 374); this.splitContainer2.SplitterDistance = 350; this.splitContainer2.TabIndex = 5; // // WMIControl // this.Controls.Add(this.splitContainer1); this.Name = "WMIControl"; this.Size = new System.Drawing.Size(753, 469); this.Load += new System.EventHandler(this.Form1_Load); this.Resize += new System.EventHandler(this.Form1_Resize); this.splitContainer1.Panel1.ResumeLayout(false); this.splitContainer1.Panel2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit(); this.splitContainer1.ResumeLayout(false); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); this.splitContainer2.Panel1.ResumeLayout(false); this.splitContainer2.Panel2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).EndInit(); this.splitContainer2.ResumeLayout(false); this.ResumeLayout(false); }
public TreeIteratorMatchTag(System.Windows.Forms.TreeView tree, object tag) : base(tree, null) { m_tagToMatch = tag; m_callback = nodeCallback; }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.panelDescription = new System.Windows.Forms.Panel(); this.DescriptionLabel = new System.Windows.Forms.Label(); this.lowerSplitter = new System.Windows.Forms.Splitter(); this.panelButtons = new System.Windows.Forms.Panel(); this.ShowTree = new System.Windows.Forms.Button(); this.ShowListView = new System.Windows.Forms.Button(); this.MainPanel = new System.Windows.Forms.Panel(); this.treeView = new System.Windows.Forms.TreeView(); this.tabControl = new System.Windows.Forms.TabControl(); this.panelDescription.SuspendLayout(); this.panelButtons.SuspendLayout(); this.MainPanel.SuspendLayout(); this.SuspendLayout(); // // panelDescription // this.panelDescription.Controls.Add(this.DescriptionLabel); this.panelDescription.Dock = System.Windows.Forms.DockStyle.Bottom; this.panelDescription.Location = new System.Drawing.Point(0, 416); this.panelDescription.Name = "panelDescription"; this.panelDescription.Size = new System.Drawing.Size(304, 80); this.panelDescription.TabIndex = 1; // // DescriptionLabel // this.DescriptionLabel.BackColor = System.Drawing.SystemColors.Control; this.DescriptionLabel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.DescriptionLabel.Dock = System.Windows.Forms.DockStyle.Fill; this.DescriptionLabel.Location = new System.Drawing.Point(0, 0); this.DescriptionLabel.Name = "DescriptionLabel"; this.DescriptionLabel.Size = new System.Drawing.Size(304, 80); this.DescriptionLabel.TabIndex = 2; // // lowerSplitter // this.lowerSplitter.Cursor = System.Windows.Forms.Cursors.HSplit; this.lowerSplitter.Dock = System.Windows.Forms.DockStyle.Bottom; this.lowerSplitter.Location = new System.Drawing.Point(0, 413); this.lowerSplitter.Name = "lowerSplitter"; this.lowerSplitter.Size = new System.Drawing.Size(304, 3); this.lowerSplitter.TabIndex = 2; this.lowerSplitter.TabStop = false; // // panelButtons // this.panelButtons.Controls.Add(this.ShowTree); this.panelButtons.Controls.Add(this.ShowListView); this.panelButtons.Dock = System.Windows.Forms.DockStyle.Top; this.panelButtons.Location = new System.Drawing.Point(0, 0); this.panelButtons.Name = "panelButtons"; this.panelButtons.Size = new System.Drawing.Size(304, 32); this.panelButtons.TabIndex = 3; // // ShowTree // this.ShowTree.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.ShowTree.Location = new System.Drawing.Point(88, 4); this.ShowTree.Name = "ShowTree"; this.ShowTree.TabIndex = 1; this.ShowTree.Text = "Tree View"; this.ShowTree.Click += new System.EventHandler(this.ShowTree_Click); // // ShowListView // this.ShowListView.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.ShowListView.Location = new System.Drawing.Point(8, 4); this.ShowListView.Name = "ShowListView"; this.ShowListView.TabIndex = 0; this.ShowListView.Text = "List View"; this.ShowListView.Click += new System.EventHandler(this.ShowListView_Click); // // MainPanel // this.MainPanel.Controls.Add(this.treeView); this.MainPanel.Controls.Add(this.tabControl); this.MainPanel.Dock = System.Windows.Forms.DockStyle.Fill; this.MainPanel.Location = new System.Drawing.Point(0, 32); this.MainPanel.Name = "MainPanel"; this.MainPanel.Size = new System.Drawing.Size(304, 381); this.MainPanel.TabIndex = 4; // // treeView // this.treeView.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.treeView.Dock = System.Windows.Forms.DockStyle.Fill; this.treeView.HotTracking = true; this.treeView.ImageIndex = -1; this.treeView.Location = new System.Drawing.Point(0, 0); this.treeView.Name = "treeView"; this.treeView.SelectedImageIndex = -1; this.treeView.Size = new System.Drawing.Size(304, 381); this.treeView.TabIndex = 7; this.treeView.MouseDown += new System.Windows.Forms.MouseEventHandler(this.TreeMouseDown); this.treeView.MouseMove += new System.Windows.Forms.MouseEventHandler(this.TreeMouseMove); // // tabControl // this.tabControl.Dock = System.Windows.Forms.DockStyle.Fill; this.tabControl.Location = new System.Drawing.Point(0, 0); this.tabControl.Name = "tabControl"; this.tabControl.SelectedIndex = 0; this.tabControl.Size = new System.Drawing.Size(304, 381); this.tabControl.TabIndex = 6; this.tabControl.Visible = false; // // GraphShapesView // this.Controls.Add(this.MainPanel); this.Controls.Add(this.panelButtons); this.Controls.Add(this.lowerSplitter); this.Controls.Add(this.panelDescription); this.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.Name = "GraphShapesView"; this.Size = new System.Drawing.Size(304, 496); this.panelDescription.ResumeLayout(false); this.panelButtons.ResumeLayout(false); this.MainPanel.ResumeLayout(false); this.ResumeLayout(false); }
public TreeIterator(System.Windows.Forms.TreeView tree, NodeCallback cb) { m_tree = tree; m_callback = cb; }
[System.Diagnostics.DebuggerStepThrough()] private void InitializeComponent() { this.components = new System.ComponentModel.Container(); base.Load += new System.EventHandler(frmAddSuitFood_Load); System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(frmAddSuitFood)); this.TreeView1 = new System.Windows.Forms.TreeView(); this.TreeView1.ItemDrag += new System.Windows.Forms.ItemDragEventHandler(this.TreeView1_ItemDrag); this.TreeView1.DoubleClick += new System.EventHandler(this.TreeView1_DoubleClick); this.ImageList1 = new System.Windows.Forms.ImageList(this.components); this.dgSuitFoods = new System.Windows.Forms.DataGrid(); this.dgSuitFoods.DragEnter += new System.Windows.Forms.DragEventHandler(this.DataGrid1_DragEnter); this.dgSuitFoods.DragDrop += new System.Windows.Forms.DragEventHandler(this.DataGrid1_DragDrop); this.DataGridTableStyle1 = new System.Windows.Forms.DataGridTableStyle(); this.DataGridTextBoxColumn3 = new System.Windows.Forms.DataGridTextBoxColumn(); this.DataGridTextBoxColumn2 = new System.Windows.Forms.DataGridTextBoxColumn(); this.DataGridTextBoxColumn4 = new System.Windows.Forms.DataGridTextBoxColumn(); this.DataGridTextBoxColumn5 = new System.Windows.Forms.DataGridTextBoxColumn(); this.DataGridTextBoxColumn6 = new System.Windows.Forms.DataGridTextBoxColumn(); this.Button1 = new System.Windows.Forms.Button(); this.Button1.Click += new System.EventHandler(this.Button1_Click); this.Button2 = new System.Windows.Forms.Button(); this.Button2.Click += new System.EventHandler(this.Button2_Click); this.Label1 = new System.Windows.Forms.Label(); this.Button3 = new System.Windows.Forms.Button(); this.Button3.Click += new System.EventHandler(this.Button3_Click); this.Button4 = new System.Windows.Forms.Button(); this.Button4.Click += new System.EventHandler(this.Button4_Click); this.GroupBox1 = new System.Windows.Forms.GroupBox(); this.Label2 = new System.Windows.Forms.Label(); this.Label3 = new System.Windows.Forms.Label(); ((System.ComponentModel.ISupportInitialize) this.dgSuitFoods).BeginInit(); this.GroupBox1.SuspendLayout(); this.SuspendLayout(); // //TreeView1 // this.TreeView1.HideSelection = false; this.TreeView1.ImageList = this.ImageList1; this.TreeView1.Location = new System.Drawing.Point(8, 16); this.TreeView1.Name = "TreeView1"; this.TreeView1.Size = new System.Drawing.Size(200, 336); this.TreeView1.TabIndex = 0; // //ImageList1 // this.ImageList1.ImageSize = new System.Drawing.Size(16, 16); this.ImageList1.ImageStream = (System.Windows.Forms.ImageListStreamer)(resources.GetObject("ImageList1.ImageStream")); this.ImageList1.TransparentColor = System.Drawing.Color.Transparent; // //dgSuitFoods // this.dgSuitFoods.AllowDrop = true; this.dgSuitFoods.AlternatingBackColor = System.Drawing.Color.GhostWhite; this.dgSuitFoods.BackColor = System.Drawing.Color.GhostWhite; this.dgSuitFoods.BackgroundColor = System.Drawing.Color.Lavender; this.dgSuitFoods.CaptionBackColor = System.Drawing.Color.RoyalBlue; this.dgSuitFoods.CaptionForeColor = System.Drawing.Color.White; this.dgSuitFoods.CaptionVisible = false; this.dgSuitFoods.DataMember = ""; this.dgSuitFoods.FlatMode = true; this.dgSuitFoods.Font = new System.Drawing.Font("Tahoma", 8.0F); this.dgSuitFoods.ForeColor = System.Drawing.Color.MidnightBlue; this.dgSuitFoods.GridLineColor = System.Drawing.Color.RoyalBlue; this.dgSuitFoods.HeaderBackColor = System.Drawing.Color.MidnightBlue; this.dgSuitFoods.HeaderFont = new System.Drawing.Font("Tahoma", 8.0F, System.Drawing.FontStyle.Bold); this.dgSuitFoods.HeaderForeColor = System.Drawing.Color.Lavender; this.dgSuitFoods.LinkColor = System.Drawing.Color.Teal; this.dgSuitFoods.Location = new System.Drawing.Point(216, 48); this.dgSuitFoods.Name = "dgSuitFoods"; this.dgSuitFoods.ParentRowsBackColor = System.Drawing.Color.Lavender; this.dgSuitFoods.ParentRowsForeColor = System.Drawing.Color.MidnightBlue; this.dgSuitFoods.ReadOnly = true; this.dgSuitFoods.SelectionBackColor = System.Drawing.Color.Teal; this.dgSuitFoods.SelectionForeColor = System.Drawing.Color.PaleGreen; this.dgSuitFoods.Size = new System.Drawing.Size(432, 240); this.dgSuitFoods.TabIndex = 1; this.dgSuitFoods.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] { this.DataGridTableStyle1 }); // //DataGridTableStyle1 // this.DataGridTableStyle1.DataGrid = this.dgSuitFoods; this.DataGridTableStyle1.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] { this.DataGridTextBoxColumn3, this.DataGridTextBoxColumn2, this.DataGridTextBoxColumn4, this.DataGridTextBoxColumn5, this.DataGridTextBoxColumn6 }); this.DataGridTableStyle1.HeaderFont = new System.Drawing.Font("宋体", 9.0F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.DataGridTableStyle1.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.DataGridTableStyle1.MappingName = "SuitFoodsList"; // //DataGridTextBoxColumn3 // this.DataGridTextBoxColumn3.Alignment = System.Windows.Forms.HorizontalAlignment.Center; this.DataGridTextBoxColumn3.Format = ""; this.DataGridTextBoxColumn3.FormatInfo = null; this.DataGridTextBoxColumn3.HeaderText = "菜品编码"; this.DataGridTextBoxColumn3.MappingName = "foodcode"; this.DataGridTextBoxColumn3.Width = 75; // //DataGridTextBoxColumn2 // this.DataGridTextBoxColumn2.Alignment = System.Windows.Forms.HorizontalAlignment.Center; this.DataGridTextBoxColumn2.Format = ""; this.DataGridTextBoxColumn2.FormatInfo = null; this.DataGridTextBoxColumn2.HeaderText = "菜品名称"; this.DataGridTextBoxColumn2.MappingName = "foodname"; this.DataGridTextBoxColumn2.Width = 75; // //DataGridTextBoxColumn4 // this.DataGridTextBoxColumn4.Alignment = System.Windows.Forms.HorizontalAlignment.Center; this.DataGridTextBoxColumn4.Format = ""; this.DataGridTextBoxColumn4.FormatInfo = null; this.DataGridTextBoxColumn4.HeaderText = "单位"; this.DataGridTextBoxColumn4.MappingName = "unit"; this.DataGridTextBoxColumn4.Width = 75; // //DataGridTextBoxColumn5 // this.DataGridTextBoxColumn5.Alignment = System.Windows.Forms.HorizontalAlignment.Center; this.DataGridTextBoxColumn5.Format = ""; this.DataGridTextBoxColumn5.FormatInfo = null; this.DataGridTextBoxColumn5.HeaderText = "单价"; this.DataGridTextBoxColumn5.MappingName = "price"; this.DataGridTextBoxColumn5.Width = 75; // //DataGridTextBoxColumn6 // this.DataGridTextBoxColumn6.Alignment = System.Windows.Forms.HorizontalAlignment.Center; this.DataGridTextBoxColumn6.Format = ""; this.DataGridTextBoxColumn6.FormatInfo = null; this.DataGridTextBoxColumn6.HeaderText = "数量"; this.DataGridTextBoxColumn6.MappingName = "foodqty"; this.DataGridTextBoxColumn6.Width = 75; // //Button1 // this.Button1.Location = new System.Drawing.Point(336, 368); this.Button1.Name = "Button1"; this.Button1.TabIndex = 2; this.Button1.Text = "删除(&D)"; // //Button2 // this.Button2.Location = new System.Drawing.Point(416, 368); this.Button2.Name = "Button2"; this.Button2.TabIndex = 3; this.Button2.Text = "清空(&L)"; // //Label1 // this.Label1.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.Label1.ForeColor = System.Drawing.Color.Navy; this.Label1.Location = new System.Drawing.Point(216, 16); this.Label1.Name = "Label1"; this.Label1.Size = new System.Drawing.Size(432, 32); this.Label1.TabIndex = 4; // //Button3 // this.Button3.Location = new System.Drawing.Point(552, 368); this.Button3.Name = "Button3"; this.Button3.TabIndex = 5; this.Button3.Text = "确定(&O)"; // //Button4 // this.Button4.Location = new System.Drawing.Point(256, 368); this.Button4.Name = "Button4"; this.Button4.TabIndex = 6; this.Button4.Text = "添加(&A)"; // //GroupBox1 // this.GroupBox1.Controls.Add(this.Label2); this.GroupBox1.Location = new System.Drawing.Point(216, 296); this.GroupBox1.Name = "GroupBox1"; this.GroupBox1.Size = new System.Drawing.Size(432, 56); this.GroupBox1.TabIndex = 7; this.GroupBox1.TabStop = false; this.GroupBox1.Text = "信息"; // //Label2 // this.Label2.Font = new System.Drawing.Font("宋体", 9.0F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.Label2.ForeColor = System.Drawing.Color.Navy; this.Label2.Location = new System.Drawing.Point(8, 21); this.Label2.Name = "Label2"; this.Label2.Size = new System.Drawing.Size(408, 23); this.Label2.TabIndex = 0; this.Label2.Text = "菜品数量:0 菜品合计金额:0 优惠了:0"; this.Label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // //Label3 // this.Label3.Dock = System.Windows.Forms.DockStyle.Bottom; this.Label3.Location = new System.Drawing.Point(0, 391); this.Label3.Name = "Label3"; this.Label3.Size = new System.Drawing.Size(656, 23); this.Label3.TabIndex = 8; this.Label3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // //frmAddSuitFood // this.AcceptButton = this.Button3; this.AutoScaleBaseSize = new System.Drawing.Size(6, 14); this.ClientSize = new System.Drawing.Size(656, 414); this.Controls.Add(this.GroupBox1); this.Controls.Add(this.Button4); this.Controls.Add(this.Button3); this.Controls.Add(this.Label1); this.Controls.Add(this.Button2); this.Controls.Add(this.Button1); this.Controls.Add(this.dgSuitFoods); this.Controls.Add(this.TreeView1); this.Controls.Add(this.Label3); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; this.Icon = (System.Drawing.Icon)(resources.GetObject("$this.Icon")); this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "frmAddSuitFood"; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Text = "套餐菜品"; ((System.ComponentModel.ISupportInitialize) this.dgSuitFoods).EndInit(); this.GroupBox1.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(RelatedBooks)); this.groupBox_RelatedBooks = new System.Windows.Forms.GroupBox(); this.treeView_RB = new System.Windows.Forms.TreeView(); this.label_RB = new System.Windows.Forms.Label(); this.button_View = new System.Windows.Forms.Button(); this.button_Save = new System.Windows.Forms.Button(); this.button_Cancel = new System.Windows.Forms.Button(); this.groupBox_RelatedBooks.SuspendLayout(); this.SuspendLayout(); // // groupBox_RelatedBooks // this.groupBox_RelatedBooks.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.groupBox_RelatedBooks.Controls.Add(this.treeView_RB); this.groupBox_RelatedBooks.Controls.Add(this.label_RB); this.groupBox_RelatedBooks.Location = new System.Drawing.Point(11, 12); this.groupBox_RelatedBooks.Name = "groupBox_RelatedBooks"; this.groupBox_RelatedBooks.Size = new System.Drawing.Size(280, 376); this.groupBox_RelatedBooks.TabIndex = 1; this.groupBox_RelatedBooks.TabStop = false; this.groupBox_RelatedBooks.Text = "Related books for :"; // // treeView_RB // this.treeView_RB.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_RB.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.treeView_RB.CheckBoxes = true; this.treeView_RB.ImageIndex = -1; this.treeView_RB.Location = new System.Drawing.Point(12, 64); this.treeView_RB.Name = "treeView_RB"; this.treeView_RB.SelectedImageIndex = -1; this.treeView_RB.Size = new System.Drawing.Size(256, 296); this.treeView_RB.TabIndex = 1; this.treeView_RB.AfterCheck += new System.Windows.Forms.TreeViewEventHandler(this.treeView_RB_AfterCheck); this.treeView_RB.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.treeView_RB_AfterSelect); // // label_RB // this.label_RB.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.label_RB.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label_RB.Location = new System.Drawing.Point(12, 28); this.label_RB.Name = "label_RB"; this.label_RB.Size = new System.Drawing.Size(256, 24); this.label_RB.TabIndex = 0; this.label_RB.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // button_View // this.button_View.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.button_View.Enabled = false; this.button_View.Location = new System.Drawing.Point(111, 398); this.button_View.Name = "button_View"; this.button_View.Size = new System.Drawing.Size(52, 24); this.button_View.TabIndex = 6; this.button_View.Text = "View"; this.button_View.Click += new System.EventHandler(this.button_View_Click); // // button_Save // this.button_Save.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.button_Save.Location = new System.Drawing.Point(175, 398); this.button_Save.Name = "button_Save"; this.button_Save.Size = new System.Drawing.Size(52, 24); this.button_Save.TabIndex = 5; this.button_Save.Text = "Save"; this.button_Save.Click += new System.EventHandler(this.button_Save_Click); // // button_Cancel // this.button_Cancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.button_Cancel.Location = new System.Drawing.Point(239, 398); this.button_Cancel.Name = "button_Cancel"; this.button_Cancel.Size = new System.Drawing.Size(52, 24); this.button_Cancel.TabIndex = 4; this.button_Cancel.Text = "Cancel"; this.button_Cancel.Click += new System.EventHandler(this.button_Cancel_Click); // // RooBooks_RelatedBooks // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(302, 431); this.Controls.Add(this.button_View); this.Controls.Add(this.button_Save); this.Controls.Add(this.button_Cancel); this.Controls.Add(this.groupBox_RelatedBooks); this.Font = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(204))); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "RooBooks_RelatedBooks"; this.ShowInTaskbar = false; this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Text = "Related Books"; this.Load += new System.EventHandler(this.RooBooks_RelatedBooks_Load); this.groupBox_RelatedBooks.ResumeLayout(false); this.ResumeLayout(false); }
internal EditableTreeList(bool showAddButton, bool caseSensitive, int Y) { this.TvList = new System.Windows.Forms.TreeView(); this.BtnAdd = new System.Windows.Forms.Button(); this.BtnDown = new System.Windows.Forms.Button(); this.LblTitle = new System.Windows.Forms.Label(); this.BtnUp = new System.Windows.Forms.Button(); this.BtnRemove = new System.Windows.Forms.Button(); this.CntxtMenuItem = new System.Windows.Forms.MenuItem(); this.CntxtMenu = new System.Windows.Forms.ContextMenu(); LblTitle.Size = new System.Drawing.Size(210, 16); LblTitle.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;; TvList.Location = new System.Drawing.Point(0, 16); TvList.Size = new System.Drawing.Size(178, 148); TvList.ForeColor = System.Drawing.SystemColors.WindowText; TvList.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right; TvList.LabelEdit = true; TvList.ShowPlusMinus = false; TvList.HideSelection = false; TvList.Indent = 15; TvList.ShowRootLines = false; TvList.ShowLines = false; TvList.ContextMenu = CntxtMenu; BtnUp.Location = new System.Drawing.Point(182, 16); BtnUp.Size = new System.Drawing.Size(28, 27); BtnUp.Anchor = AnchorStyles.Top | AnchorStyles.Right;; BtnDown.Location = new System.Drawing.Point(182, 48); BtnDown.Size = new System.Drawing.Size(28, 27); BtnDown.Anchor = AnchorStyles.Top | AnchorStyles.Right; BtnRemove.Location = new System.Drawing.Point(182, 136); BtnRemove.Size = new System.Drawing.Size(28, 27); BtnRemove.Anchor = AnchorStyles.Bottom | AnchorStyles.Right; BtnAdd.Location = new System.Drawing.Point(0, 168); BtnAdd.Size = new System.Drawing.Size(178, 25); BtnAdd.Anchor = AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right; CntxtMenuItem.Text = SR.GetString(SR.EditableTreeList_Rename); CntxtMenu.MenuItems.Add(CntxtMenuItem); this.Location = new System.Drawing.Point(8, Y); this.Size = new System.Drawing.Size(210, 196); this.Controls.Add(LblTitle); this.Controls.Add(TvList); this.Controls.Add(BtnUp); this.Controls.Add(BtnDown); this.Controls.Add(BtnRemove); this.Controls.Add(BtnAdd); BtnDown.Image = GenericUI.SortDownIcon; BtnUp.Image = GenericUI.SortUpIcon; BtnRemove.Image = GenericUI.DeleteIcon; BtnUp.Click += new EventHandler(MoveSelectedItemUp); BtnDown.Click += new EventHandler(MoveSelectedItemDown); RemoveHandler = new EventHandler(OnRemove); BtnRemove.Click += RemoveHandler; TvList.AfterSelect += new TreeViewEventHandler(OnListSelect); TvList.KeyDown += new KeyEventHandler(OnKeyDown); TvList.MouseUp += new MouseEventHandler(OnListMouseUp); TvList.MouseDown += new MouseEventHandler(OnListMouseDown); CntxtMenu.Popup += new EventHandler(OnPopup); CntxtMenuItem.Click += new EventHandler(OnContextMenuItemClick); UpdateButtonsEnabling(); if (!showAddButton) { // stretch UI to occupy space where add button was. BtnAdd.Visible = false; int offset = 4 + BtnAdd.Height; TvList.Height += offset; BtnRemove.Top += offset; } _caseSensitive = caseSensitive; }
/// <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(frmMain)); this.statbarMain = new System.Windows.Forms.StatusBar(); this.statbarpnlMain = new System.Windows.Forms.StatusBarPanel(); this.pnlConnectTo = new System.Windows.Forms.Panel(); this.cmdConnect = new System.Windows.Forms.Button(); this.txtPassword = new System.Windows.Forms.TextBox(); this.txtUser = new System.Windows.Forms.TextBox(); this.selServers = new System.Windows.Forms.ComboBox(); this.tvwServerExplorer = new System.Windows.Forms.TreeView(); this.imglstMain = new System.Windows.Forms.ImageList(this.components); this.spltrMain = new System.Windows.Forms.Splitter(); this.label1 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.txtphysicalPath = new System.Windows.Forms.TextBox(); this.txtSiteName = new System.Windows.Forms.TextBox(); this.txtServerName = new System.Windows.Forms.TextBox(); this.cbCreateSecurityModel = new System.Windows.Forms.CheckBox(); this.btnGenerateSimpleOperation = new System.Windows.Forms.Button(); this.cbHasMasterBox = new System.Windows.Forms.CheckBox(); this.selProjectType = new System.Windows.Forms.ComboBox(); this.txtProjectPort = new System.Windows.Forms.TextBox(); this.label4 = new System.Windows.Forms.Label(); ((System.ComponentModel.ISupportInitialize)(this.statbarpnlMain)).BeginInit(); this.pnlConnectTo.SuspendLayout(); this.SuspendLayout(); // // statbarMain // this.statbarMain.Location = new System.Drawing.Point(0, 325); this.statbarMain.Name = "statbarMain"; this.statbarMain.Panels.AddRange(new System.Windows.Forms.StatusBarPanel[] { this.statbarpnlMain }); this.statbarMain.ShowPanels = true; this.statbarMain.Size = new System.Drawing.Size(608, 22); this.statbarMain.TabIndex = 5; // // statbarpnlMain // this.statbarpnlMain.AutoSize = System.Windows.Forms.StatusBarPanelAutoSize.Spring; this.statbarpnlMain.Name = "statbarpnlMain"; this.statbarpnlMain.Text = "Awaiting your orders..."; this.statbarpnlMain.Width = 592; // // pnlConnectTo // this.pnlConnectTo.Controls.Add(this.cmdConnect); this.pnlConnectTo.Controls.Add(this.txtPassword); this.pnlConnectTo.Controls.Add(this.txtUser); this.pnlConnectTo.Controls.Add(this.selServers); this.pnlConnectTo.Dock = System.Windows.Forms.DockStyle.Top; this.pnlConnectTo.Location = new System.Drawing.Point(0, 0); this.pnlConnectTo.Name = "pnlConnectTo"; this.pnlConnectTo.Size = new System.Drawing.Size(608, 42); this.pnlConnectTo.TabIndex = 9; // // cmdConnect // this.cmdConnect.FlatStyle = System.Windows.Forms.FlatStyle.Popup; this.cmdConnect.Location = new System.Drawing.Point(528, 16); this.cmdConnect.Name = "cmdConnect"; this.cmdConnect.Size = new System.Drawing.Size(64, 21); this.cmdConnect.TabIndex = 7; this.cmdConnect.Text = "Connect"; this.cmdConnect.Click += new System.EventHandler(this.cmdConnect_Click); // // txtPassword // this.txtPassword.Location = new System.Drawing.Point(352, 16); this.txtPassword.Name = "txtPassword"; this.txtPassword.Size = new System.Drawing.Size(160, 20); this.txtPassword.TabIndex = 6; this.txtPassword.Text = "Password"; this.txtPassword.Enter += new System.EventHandler(this.txtPassword_Enter); this.txtPassword.Leave += new System.EventHandler(this.txtPassword_Leave); this.txtPassword.TextChanged += new System.EventHandler(this.txtPassword_TextChanged); // // txtUser // this.txtUser.Location = new System.Drawing.Point(184, 16); this.txtUser.Name = "txtUser"; this.txtUser.Size = new System.Drawing.Size(160, 20); this.txtUser.TabIndex = 5; this.txtUser.Text = "User"; this.txtUser.Enter += new System.EventHandler(this.txtUser_Enter); this.txtUser.Leave += new System.EventHandler(this.txtUser_Leave); this.txtUser.TextChanged += new System.EventHandler(this.txtUser_TextChanged); // // selServers // this.selServers.Location = new System.Drawing.Point(8, 16); this.selServers.Name = "selServers"; this.selServers.Size = new System.Drawing.Size(160, 21); this.selServers.TabIndex = 4; this.selServers.Text = "Server Name"; this.selServers.Leave += new System.EventHandler(this.selServers_Leave); // // tvwServerExplorer // this.tvwServerExplorer.Dock = System.Windows.Forms.DockStyle.Left; this.tvwServerExplorer.FullRowSelect = true; this.tvwServerExplorer.ImageIndex = 0; this.tvwServerExplorer.ImageList = this.imglstMain; this.tvwServerExplorer.Location = new System.Drawing.Point(0, 42); this.tvwServerExplorer.Name = "tvwServerExplorer"; this.tvwServerExplorer.SelectedImageIndex = 0; this.tvwServerExplorer.Size = new System.Drawing.Size(208, 283); this.tvwServerExplorer.TabIndex = 10; this.tvwServerExplorer.BeforeExpand += new System.Windows.Forms.TreeViewCancelEventHandler(this.tvwServerExplorer_BeforeExpand); this.tvwServerExplorer.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.tvwServerExplorer_AfterSelect); // // imglstMain // this.imglstMain.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imglstMain.ImageStream"))); this.imglstMain.TransparentColor = System.Drawing.Color.Transparent; this.imglstMain.Images.SetKeyName(0, ""); this.imglstMain.Images.SetKeyName(1, ""); this.imglstMain.Images.SetKeyName(2, ""); // // spltrMain // this.spltrMain.Location = new System.Drawing.Point(208, 42); this.spltrMain.Name = "spltrMain"; this.spltrMain.Size = new System.Drawing.Size(3, 283); this.spltrMain.TabIndex = 11; this.spltrMain.TabStop = false; // // label1 // this.label1.Location = new System.Drawing.Point(232, 56); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(100, 23); this.label1.TabIndex = 12; this.label1.Text = "physicalPath"; // // label2 // this.label2.Location = new System.Drawing.Point(232, 120); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(100, 23); this.label2.TabIndex = 13; this.label2.Text = "App Name"; // // label3 // this.label3.Location = new System.Drawing.Point(240, 88); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(112, 23); this.label3.TabIndex = 14; this.label3.Text = "Server Name"; // // txtphysicalPath // this.txtphysicalPath.Location = new System.Drawing.Point(352, 56); this.txtphysicalPath.Name = "txtphysicalPath"; this.txtphysicalPath.Size = new System.Drawing.Size(100, 20); this.txtphysicalPath.TabIndex = 15; this.txtphysicalPath.Text = "C:\\"; // // txtSiteName // this.txtSiteName.Location = new System.Drawing.Point(352, 120); this.txtSiteName.Name = "txtSiteName"; this.txtSiteName.Size = new System.Drawing.Size(100, 20); this.txtSiteName.TabIndex = 16; this.txtSiteName.Text = "ProjectBuilder"; // // txtServerName // this.txtServerName.Location = new System.Drawing.Point(352, 88); this.txtServerName.Name = "txtServerName"; this.txtServerName.Size = new System.Drawing.Size(100, 20); this.txtServerName.TabIndex = 17; this.txtServerName.Text = "localhost"; // // cbCreateSecurityModel // this.cbCreateSecurityModel.AutoSize = true; this.cbCreateSecurityModel.Checked = true; this.cbCreateSecurityModel.CheckState = System.Windows.Forms.CheckState.Checked; this.cbCreateSecurityModel.Enabled = false; this.cbCreateSecurityModel.Location = new System.Drawing.Point(356, 168); this.cbCreateSecurityModel.Name = "cbCreateSecurityModel"; this.cbCreateSecurityModel.Size = new System.Drawing.Size(96, 17); this.cbCreateSecurityModel.TabIndex = 18; this.cbCreateSecurityModel.Text = "Security Model"; this.cbCreateSecurityModel.UseVisualStyleBackColor = true; // // btnGenerateSimpleOperation // this.btnGenerateSimpleOperation.Location = new System.Drawing.Point(344, 262); this.btnGenerateSimpleOperation.Name = "btnGenerateSimpleOperation"; this.btnGenerateSimpleOperation.Size = new System.Drawing.Size(147, 23); this.btnGenerateSimpleOperation.TabIndex = 19; this.btnGenerateSimpleOperation.Text = "Generate Simple Operation"; this.btnGenerateSimpleOperation.UseVisualStyleBackColor = true; this.btnGenerateSimpleOperation.Click += new System.EventHandler(this.btnGenerateSimpleOperation_Click); // // cbHasMasterBox // this.cbHasMasterBox.AutoSize = true; this.cbHasMasterBox.Checked = true; this.cbHasMasterBox.CheckState = System.Windows.Forms.CheckState.Checked; this.cbHasMasterBox.Location = new System.Drawing.Point(356, 191); this.cbHasMasterBox.Name = "cbHasMasterBox"; this.cbHasMasterBox.Size = new System.Drawing.Size(202, 17); this.cbHasMasterBox.TabIndex = 21; this.cbHasMasterBox.Text = "Applay Master Box on User Controls"; this.cbHasMasterBox.UseVisualStyleBackColor = true; // // selProjectType // this.selProjectType.FormattingEnabled = true; this.selProjectType.Items.AddRange(new object[] { "Simple", "All" }); this.selProjectType.Location = new System.Drawing.Point(356, 214); this.selProjectType.Name = "selProjectType"; this.selProjectType.Size = new System.Drawing.Size(121, 21); this.selProjectType.TabIndex = 22; // // txtProjectPort // this.txtProjectPort.Location = new System.Drawing.Point(352, 142); this.txtProjectPort.Name = "txtProjectPort"; this.txtProjectPort.Size = new System.Drawing.Size(100, 20); this.txtProjectPort.TabIndex = 23; // // label4 // this.label4.AutoSize = true; this.label4.Location = new System.Drawing.Point(235, 147); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(64, 13); this.label4.TabIndex = 24; this.label4.Text = "Project Port"; // // frmMain // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(608, 347); this.Controls.Add(this.label4); this.Controls.Add(this.txtProjectPort); this.Controls.Add(this.selProjectType); this.Controls.Add(this.cbHasMasterBox); this.Controls.Add(this.btnGenerateSimpleOperation); this.Controls.Add(this.cbCreateSecurityModel); this.Controls.Add(this.txtServerName); this.Controls.Add(this.txtSiteName); this.Controls.Add(this.txtphysicalPath); this.Controls.Add(this.label3); this.Controls.Add(this.label2); this.Controls.Add(this.label1); this.Controls.Add(this.spltrMain); this.Controls.Add(this.tvwServerExplorer); this.Controls.Add(this.pnlConnectTo); this.Controls.Add(this.statbarMain); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Name = "frmMain"; this.Text = "SPGen: Stored Procedure Generator"; this.Load += new System.EventHandler(this.frmMain_Load); ((System.ComponentModel.ISupportInitialize)(this.statbarpnlMain)).EndInit(); this.pnlConnectTo.ResumeLayout(false); this.pnlConnectTo.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// 设计器支持所需的方法 - 不要使用代码编辑器修改 /// 此方法的内容。 /// </summary> private void InitializeComponent() { this.grp1 = new System.Windows.Forms.GroupBox(); this.trvWel = new System.Windows.Forms.TreeView(); this.crpvWater = new CrystalDecisions.Windows.Forms.CrystalReportViewer(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.btnStastic = new System.Windows.Forms.Button(); this.btnExit = new System.Windows.Forms.Button(); this.btnDis = new System.Windows.Forms.Button(); this.dtpTo = new System.Windows.Forms.DateTimePicker(); this.label1 = new System.Windows.Forms.Label(); this.dtpFrom = new System.Windows.Forms.DateTimePicker(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.cmbCountry = new System.Windows.Forms.ComboBox(); this.label2 = new System.Windows.Forms.Label(); this.grp1.SuspendLayout(); this.groupBox1.SuspendLayout(); this.groupBox2.SuspendLayout(); this.SuspendLayout(); // // grp1 // this.grp1.Controls.Add(this.trvWel); this.grp1.Location = new System.Drawing.Point(8, 56); this.grp1.Name = "grp1"; this.grp1.Size = new System.Drawing.Size(240, 456); this.grp1.TabIndex = 0; this.grp1.TabStop = false; // // trvWel // this.trvWel.ImageIndex = -1; this.trvWel.Location = new System.Drawing.Point(8, 16); this.trvWel.Name = "trvWel"; this.trvWel.SelectedImageIndex = -1; this.trvWel.Size = new System.Drawing.Size(224, 432); this.trvWel.TabIndex = 0; this.trvWel.Click += new System.EventHandler(this.trvWel_Click); this.trvWel.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.trvWel_AfterSelect); // // crpvWater // this.crpvWater.ActiveViewIndex = -1; this.crpvWater.Location = new System.Drawing.Point(264, 64); this.crpvWater.Name = "crpvWater"; this.crpvWater.ReportSource = null; this.crpvWater.ShowExportButton = false; this.crpvWater.Size = new System.Drawing.Size(472, 456); this.crpvWater.TabIndex = 1; // // groupBox1 // this.groupBox1.Controls.Add(this.btnStastic); this.groupBox1.Controls.Add(this.btnExit); this.groupBox1.Controls.Add(this.btnDis); this.groupBox1.Controls.Add(this.dtpTo); this.groupBox1.Controls.Add(this.label1); this.groupBox1.Controls.Add(this.dtpFrom); this.groupBox1.Location = new System.Drawing.Point(256, 8); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(552, 48); this.groupBox1.TabIndex = 2; this.groupBox1.TabStop = false; // // btnStastic // this.btnStastic.Location = new System.Drawing.Point(384, 16); this.btnStastic.Name = "btnStastic"; this.btnStastic.Size = new System.Drawing.Size(88, 23); this.btnStastic.TabIndex = 5; this.btnStastic.Text = "日统计"; this.btnStastic.Click += new System.EventHandler(this.btnStastic_Click); // // btnExit // this.btnExit.Location = new System.Drawing.Point(472, 16); this.btnExit.Name = "btnExit"; this.btnExit.TabIndex = 4; this.btnExit.Text = "退出"; this.btnExit.Click += new System.EventHandler(this.btnExit_Click); // // btnDis // this.btnDis.Location = new System.Drawing.Point(296, 15); this.btnDis.Name = "btnDis"; this.btnDis.Size = new System.Drawing.Size(88, 23); this.btnDis.TabIndex = 3; this.btnDis.Text = "明细显示"; this.btnDis.Click += new System.EventHandler(this.btnDis_Click); // // dtpTo // this.dtpTo.Location = new System.Drawing.Point(176, 16); this.dtpTo.Name = "dtpTo"; this.dtpTo.Size = new System.Drawing.Size(112, 21); this.dtpTo.TabIndex = 2; this.dtpTo.ValueChanged += new System.EventHandler(this.dtpTo_ValueChanged); // // label1 // this.label1.Location = new System.Drawing.Point(128, 16); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(40, 23); this.label1.TabIndex = 1; this.label1.Text = "至:"; this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // dtpFrom // this.dtpFrom.Location = new System.Drawing.Point(8, 16); this.dtpFrom.Name = "dtpFrom"; this.dtpFrom.Size = new System.Drawing.Size(112, 21); this.dtpFrom.TabIndex = 0; this.dtpFrom.ValueChanged += new System.EventHandler(this.dtpFrom_ValueChanged); // // groupBox2 // this.groupBox2.Controls.Add(this.cmbCountry); this.groupBox2.Controls.Add(this.label2); this.groupBox2.Location = new System.Drawing.Point(8, 8); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(240, 48); this.groupBox2.TabIndex = 3; this.groupBox2.TabStop = false; // // cmbCountry // this.cmbCountry.Location = new System.Drawing.Point(88, 16); this.cmbCountry.Name = "cmbCountry"; this.cmbCountry.Size = new System.Drawing.Size(136, 20); this.cmbCountry.TabIndex = 1; this.cmbCountry.SelectedIndexChanged += new System.EventHandler(this.cmbCountry_SelectedIndexChanged); // // label2 // this.label2.Location = new System.Drawing.Point(8, 16); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(72, 23); this.label2.TabIndex = 0; this.label2.Text = "所属乡镇:"; this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // frmWatAmoutRep // this.AutoScaleBaseSize = new System.Drawing.Size(6, 14); this.ClientSize = new System.Drawing.Size(832, 534); this.Controls.Add(this.groupBox2); this.Controls.Add(this.groupBox1); this.Controls.Add(this.crpvWater); this.Controls.Add(this.grp1); this.Name = "frmWatAmoutRep"; this.Resize += new System.EventHandler(this.frmWatAmoutRep_Resize); this.Load += new System.EventHandler(this.frmWatAmoutRep_Load); this.grp1.ResumeLayout(false); this.groupBox1.ResumeLayout(false); this.groupBox2.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// デザイナ サポートに必要なメソッドです。このメソッドの内容を /// コード エディタで変更しないでください。 /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(DicMain)); this.text1 = new System.Windows.Forms.TextBox(); this.tabMain = new System.Windows.Forms.TabControl(); this.tabView = new System.Windows.Forms.TabPage(); this.treeView1 = new System.Windows.Forms.TreeView(); this.tabEdit = new System.Windows.Forms.TabPage(); this.mwgWebView1 = new mwg.Controls.WebBrowser.WebView(); this.splitter1 = new System.Windows.Forms.Splitter(); this.imageList1 = new System.Windows.Forms.ImageList(this.components); this.mainMenu1 = new System.Windows.Forms.MainMenu(); this.menuItem1 = new System.Windows.Forms.MenuItem(); this.menuItem2 = new System.Windows.Forms.MenuItem(); this.menuItem3 = new System.Windows.Forms.MenuItem(); this.tabMain.SuspendLayout(); this.tabView.SuspendLayout(); this.tabEdit.SuspendLayout(); this.SuspendLayout(); // // text1 // this.text1.Dock = System.Windows.Forms.DockStyle.Left; this.text1.Font = new System.Drawing.Font("MS ゴシック", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(128))); this.text1.Location = new System.Drawing.Point(0, 0); this.text1.Multiline = true; this.text1.Name = "text1"; this.text1.ScrollBars = System.Windows.Forms.ScrollBars.Both; this.text1.Size = new System.Drawing.Size(360, 322); this.text1.TabIndex = 2; this.text1.Text = "<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<HTML>\r\n<HEAD>\r\n<TITLE></TITLE>\r\n</HEAD>\r" + "\n<BODY>\r\n</BODY>\r\n</HTML>"; this.text1.WordWrap = false; this.text1.Leave += new System.EventHandler(this.text1_Leave); // // tabMain // this.tabMain.Controls.Add(this.tabView); this.tabMain.Controls.Add(this.tabEdit); this.tabMain.Dock = System.Windows.Forms.DockStyle.Fill; this.tabMain.ImageList = this.imageList1; this.tabMain.Location = new System.Drawing.Point(0, 0); this.tabMain.Name = "tabMain"; this.tabMain.SelectedIndex = 0; this.tabMain.Size = new System.Drawing.Size(880, 349); this.tabMain.TabIndex = 5; // // tabView // this.tabView.Controls.Add(this.treeView1); this.tabView.ImageIndex = 0; this.tabView.Location = new System.Drawing.Point(4, 23); this.tabView.Name = "tabView"; this.tabView.Size = new System.Drawing.Size(872, 322); this.tabView.TabIndex = 1; this.tabView.Text = "検索"; // // treeView1 // this.treeView1.Dock = System.Windows.Forms.DockStyle.Left; this.treeView1.ImageIndex = -1; this.treeView1.Location = new System.Drawing.Point(0, 0); this.treeView1.Name = "treeView1"; this.treeView1.SelectedImageIndex = -1; this.treeView1.Size = new System.Drawing.Size(184, 322); this.treeView1.TabIndex = 0; // // tabEdit // this.tabEdit.Controls.Add(this.mwgWebView1); this.tabEdit.Controls.Add(this.splitter1); this.tabEdit.Controls.Add(this.text1); this.tabEdit.ImageIndex = 1; this.tabEdit.Location = new System.Drawing.Point(4, 23); this.tabEdit.Name = "tabEdit"; this.tabEdit.Size = new System.Drawing.Size(872, 322); this.tabEdit.TabIndex = 0; this.tabEdit.Text = "編集"; // // mwgWebView1 // //this.mwgWebView1.bodyInnerHTML = null; this.mwgWebView1.Dock = System.Windows.Forms.DockStyle.Fill; this.mwgWebView1.LocationUrl = "about:blank"; this.mwgWebView1.Location = new System.Drawing.Point(368, 0); this.mwgWebView1.Name = "mwgWebView1"; this.mwgWebView1.ShowStatusBar = false; this.mwgWebView1.ShowTitleBar = false; this.mwgWebView1.ShowToolBar = false; this.mwgWebView1.Size = new System.Drawing.Size(504, 322); this.mwgWebView1.StatusText = null; this.mwgWebView1.TabIndex = 6; this.mwgWebView1.DocumentTitle = ""; //this.mwgWebView1.BeforeRefresh += new mwg.Controls.WebBrowser.BeforeRefreshEventHandler(this.mwgWebView1_BeforeRefresh); // // splitter1 // this.splitter1.Location = new System.Drawing.Point(360, 0); this.splitter1.Name = "splitter1"; this.splitter1.Size = new System.Drawing.Size(8, 322); this.splitter1.TabIndex = 5; this.splitter1.TabStop = false; // // imageList1 // this.imageList1.ColorDepth = System.Windows.Forms.ColorDepth.Depth24Bit; this.imageList1.ImageSize = new System.Drawing.Size(16, 16); this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream"))); this.imageList1.TransparentColor = System.Drawing.Color.Empty; // // mainMenu1 // this.mainMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuItem1 }); // // menuItem1 // this.menuItem1.Index = 0; this.menuItem1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuItem2, this.menuItem3 }); this.menuItem1.Text = "ファイル(&F)"; // // menuItem2 // this.menuItem2.Index = 0; this.menuItem2.Text = "印刷(&P)"; this.menuItem2.Click += new System.EventHandler(this.menuItem2_Click); // // menuItem3 // this.menuItem3.Index = 1; this.menuItem3.Text = "言語(&V)"; this.menuItem3.Click += new System.EventHandler(this.menuItem3_Click); // // DicMain // this.AutoScaleBaseSize = new System.Drawing.Size(5, 12); this.ClientSize = new System.Drawing.Size(880, 349); this.Controls.Add(this.tabMain); this.Menu = this.mainMenu1; this.Name = "DicMain"; this.Text = "茗荷事典:mwgDictionary"; this.Load += new System.EventHandler(this.Form1_Load); this.tabMain.ResumeLayout(false); this.tabView.ResumeLayout(false); this.tabEdit.ResumeLayout(false); this.ResumeLayout(false); }