private void axTOCControl_OnMouseDown(object sender, ITOCControlEvents_OnMouseDownEvent e) { //if (e.button == 1) //{ // esriTOCControlItem pItem = new esriTOCControlItem(); // IBasicMap pMap = new MapClass(); // ILayer pLayer = new FeatureLayerClass(); // object other = new object(); // object index = new object(); // ILegendGroup pLegendGroup; // _SelSymLayer = null; // axTOCControl.HitTest(e.x, e.y, ref pItem, ref pMap, ref pLayer, ref other, ref index); // if (pLayer == null) // return; // if (pItem == esriTOCControlItem.esriTOCControlItemLayer) // { // if (pLayer.GetType() is IAnnotationSublayer) return; // else // { // _SelSymLayer = pLayer; // } // } //} IBasicMap pMap = null; ILayer pLayer = null; System.Object other = null; System.Object LayerIndex = null; System.Drawing.Point pPoint = new System.Drawing.Point(e.x, e.y); esriTOCControlItem TOCItem = esriTOCControlItem.esriTOCControlItemNone; ITOCControl2 tocControl = (ITOCControl2)axTOCControl.Object; tocControl.HitTest(e.x, e.y, ref TOCItem, ref pMap, ref pLayer, ref other, ref LayerIndex); if (e.button == 2 && GeoDBIntegration.ModuleData.v_AppDBIntegra.DicContextMenu != null) { DevComponents.DotNetBar.ButtonItem item = null; DevComponents.DotNetBar.ContextMenuBar menuBar = GeoDBIntegration.ModuleData.v_AppDBIntegra.DicContextMenu["TOCContextMenu2"]; DevComponents.DotNetBar.ContextMenuBar menuBarLayer = GeoDBIntegration.ModuleData.v_AppDBIntegra.DicContextMenu["TOCLayerContextMenu2"]; this.Controls.Add(menuBar); this.Controls.Add(menuBarLayer); switch (TOCItem) { case esriTOCControlItem.esriTOCControlItemMap: if (GeoDBIntegration.ModuleData.v_AppDBIntegra.DicContextMenu.ContainsKey("TOCContextMenu2")) { if (GeoDBIntegration.ModuleData.v_AppDBIntegra.DicContextMenu["TOCContextMenu2"] != null) { if (GeoDBIntegration.ModuleData.v_AppDBIntegra.DicContextMenu["TOCContextMenu2"].Items.Count > 0) { item = GeoDBIntegration.ModuleData.v_AppDBIntegra.DicContextMenu["TOCContextMenu2"].Items[0] as DevComponents.DotNetBar.ButtonItem; if (item != null) { item.Popup(axTOCControl.PointToScreen(pPoint)); } } } } break; case esriTOCControlItem.esriTOCControlItemLayer: if (!(pLayer is IGroupLayer || pLayer is IFeatureLayer || pLayer is IDataLayer)) { return; } if (pLayer is IFeatureLayer || pLayer is IDataLayer) { IFeatureLayer pFeatureLayer = pLayer as IFeatureLayer; if (GeoDBIntegration.ModuleData.v_AppDBIntegra.DicContextMenu.ContainsKey("TOCLayerContextMenu2")) { if (GeoDBIntegration.ModuleData.v_AppDBIntegra.DicContextMenu["TOCLayerContextMenu2"] != null) { if (GeoDBIntegration.ModuleData.v_AppDBIntegra.DicContextMenu["TOCLayerContextMenu2"].Items.Count > 0) { item = GeoDBIntegration.ModuleData.v_AppDBIntegra.DicContextMenu["TOCLayerContextMenu2"].Items[0] as DevComponents.DotNetBar.ButtonItem; if (item != null) { item.Popup(axTOCControl.PointToScreen(pPoint)); } } } } if (axTOCControl.Buddy is IPageLayoutControl2) { IPageLayoutControl2 pPageLayoutControl = axTOCControl.Buddy as IPageLayoutControl2; pPageLayoutControl.CustomProperty = pLayer; } else if (axTOCControl.Buddy is IMapControl3) { IMapControl3 pMapcontrol = axTOCControl.Buddy as IMapControl3; pMapcontrol.CustomProperty = pLayer; } } break; } } }
private void InitializeComponent() { var resources = new System.ComponentModel.ComponentResourceManager(typeof(ScrollTexEditor)); _ListViewEx_LM_ScrollTexList = new DevComponents.DotNetBar.Controls.ListViewEx(); _ListViewEx_LM_ScrollTexList.SelectedIndexChanged += new EventHandler(ListViewEx_LM_ScrollTexList_SelectedIndexChanged); _ListViewEx_LM_ScrollTexList.MouseUp += new MouseEventHandler(ListViewEx_LM_ScrollTexList_MouseClick); _ColumnHeader8 = new ColumnHeader(); _ColumnHeader9 = new ColumnHeader(); _ColumnHeader10 = new ColumnHeader(); _ColumnHeader11 = new ColumnHeader(); _ColumnHeader12 = new ColumnHeader(); _ColumnHeader1 = new ColumnHeader(); _ColumnHeader2 = new ColumnHeader(); _AdvPropertyGrid1 = new DevComponents.DotNetBar.AdvPropertyGrid(); _AdvPropertyGrid1.ConvertFromStringToPropertyValue += new DevComponents.DotNetBar.ConvertValueEventHandler(AdvPropertyGrid1_ConvertFromStringToPropertyValue); _AdvPropertyGrid1.ConvertPropertyValueToString += new DevComponents.DotNetBar.ConvertValueEventHandler(AdvPropertyGrid1_ConvertPropertyValueToString); _AdvPropertyGrid1.PropertyValueChanged += new System.ComponentModel.PropertyChangedEventHandler(AdvPropertyGrid1_PropertyValueChanged); _ContextMenuBar1 = new DevComponents.DotNetBar.ContextMenuBar(); _ButtonItem_CM = new DevComponents.DotNetBar.ButtonItem(); _ButtonItem44 = new DevComponents.DotNetBar.ButtonItem(); _ButtonItem44.Click += new EventHandler(ButtonItem44_Click); _ButtonItem43 = new DevComponents.DotNetBar.ButtonItem(); _ButtonItem43.Click += new EventHandler(ButtonItem43_Click); _SplitContainer1 = new SplitContainer(); ((System.ComponentModel.ISupportInitialize)_AdvPropertyGrid1).BeginInit(); ((System.ComponentModel.ISupportInitialize)_ContextMenuBar1).BeginInit(); ((System.ComponentModel.ISupportInitialize)_SplitContainer1).BeginInit(); _SplitContainer1.Panel1.SuspendLayout(); _SplitContainer1.Panel2.SuspendLayout(); _SplitContainer1.SuspendLayout(); SuspendLayout(); // // ListViewEx_LM_ScrollTexList // _ListViewEx_LM_ScrollTexList.BackColor = Color.White; // // // _ListViewEx_LM_ScrollTexList.Border.Class = "ListViewBorder"; _ListViewEx_LM_ScrollTexList.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square; _ListViewEx_LM_ScrollTexList.Columns.AddRange(new ColumnHeader[] { _ColumnHeader8, _ColumnHeader9, _ColumnHeader10, _ColumnHeader11, _ColumnHeader12, _ColumnHeader1, _ColumnHeader2 }); _ListViewEx_LM_ScrollTexList.DisabledBackColor = Color.Empty; _ListViewEx_LM_ScrollTexList.Dock = DockStyle.Fill; _ListViewEx_LM_ScrollTexList.FocusCuesEnabled = false; _ListViewEx_LM_ScrollTexList.ForeColor = Color.Black; _ListViewEx_LM_ScrollTexList.FullRowSelect = true; _ListViewEx_LM_ScrollTexList.GridLines = true; _ListViewEx_LM_ScrollTexList.HeaderStyle = ColumnHeaderStyle.Nonclickable; _ListViewEx_LM_ScrollTexList.HideSelection = false; _ListViewEx_LM_ScrollTexList.Location = new Point(0, 0); _ListViewEx_LM_ScrollTexList.MultiSelect = false; _ListViewEx_LM_ScrollTexList.Name = "ListViewEx_LM_ScrollTexList"; _ListViewEx_LM_ScrollTexList.Size = new Size(583, 633); _ListViewEx_LM_ScrollTexList.TabIndex = 2; _ListViewEx_LM_ScrollTexList.UseCompatibleStateImageBehavior = false; _ListViewEx_LM_ScrollTexList.View = View.Details; // // ColumnHeader8 // _ColumnHeader8.Text = "#"; _ColumnHeader8.Width = 30; // // ColumnHeader9 // _ColumnHeader9.Text = "Behavior"; _ColumnHeader9.Width = 100; // // ColumnHeader10 // _ColumnHeader10.Text = "Type"; _ColumnHeader10.Width = 100; // // ColumnHeader11 // _ColumnHeader11.Text = "Duration"; // // ColumnHeader12 // _ColumnHeader12.Text = "Speed"; // // ColumnHeader1 // _ColumnHeader1.Text = "Vertex Pointer"; _ColumnHeader1.Width = 100; // // ColumnHeader2 // _ColumnHeader2.Text = "Vertices"; _ColumnHeader2.Width = 100; // // AdvPropertyGrid1 // _AdvPropertyGrid1.Dock = DockStyle.Fill; _AdvPropertyGrid1.GridLinesColor = Color.WhiteSmoke; _AdvPropertyGrid1.Location = new Point(0, 0); _AdvPropertyGrid1.Name = "AdvPropertyGrid1"; _AdvPropertyGrid1.Size = new Size(315, 633); _AdvPropertyGrid1.TabIndex = 8; _AdvPropertyGrid1.Text = "AdvPropertyGrid1"; // // ContextMenuBar1 // _ContextMenuBar1.AntiAlias = true; _ContextMenuBar1.Font = new Font("Segoe UI", 9.0F); _ContextMenuBar1.IsMaximized = false; _ContextMenuBar1.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] { _ButtonItem_CM }); _ContextMenuBar1.Location = new Point(787, 0); _ContextMenuBar1.Name = "ContextMenuBar1"; _ContextMenuBar1.Size = new Size(78, 25); _ContextMenuBar1.Stretch = true; _ContextMenuBar1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; _ContextMenuBar1.TabIndex = 9; _ContextMenuBar1.TabStop = false; _ContextMenuBar1.Text = "ContextMenuBar1"; // // ButtonItem_CM // _ButtonItem_CM.AutoExpandOnClick = true; _ButtonItem_CM.Name = "ButtonItem_CM"; _ButtonItem_CM.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] { _ButtonItem44, _ButtonItem43 }); _ButtonItem_CM.Text = "ContextMenu"; // // ButtonItem44 // _ButtonItem44.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; _ButtonItem44.Image = My.Resources.MyIcons.icons8_plus_math_16px; _ButtonItem44.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top; _ButtonItem44.Name = "ButtonItem44"; _ButtonItem44.Shortcuts.Add(DevComponents.DotNetBar.eShortcut.CtrlN); _ButtonItem44.SubItemsExpandWidth = 14; _ButtonItem44.SymbolColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(82)), Conversions.ToInteger(Conversions.ToByte(124)), Conversions.ToInteger(Conversions.ToByte(64))); _ButtonItem44.SymbolSet = DevComponents.DotNetBar.eSymbolSet.Material; _ButtonItem44.SymbolSize = 12.0F; _ButtonItem44.Text = "Add New"; // // ButtonItem43 // _ButtonItem43.BeginGroup = true; _ButtonItem43.Image = My.Resources.MyIcons.icons8_delete_sign_16px; _ButtonItem43.Name = "ButtonItem43"; _ButtonItem43.Shortcuts.Add(DevComponents.DotNetBar.eShortcut.Del); _ButtonItem43.SymbolColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(150)), Conversions.ToInteger(Conversions.ToByte(0)), Conversions.ToInteger(Conversions.ToByte(0))); _ButtonItem43.SymbolSet = DevComponents.DotNetBar.eSymbolSet.Material; _ButtonItem43.SymbolSize = 12.0F; _ButtonItem43.Text = "Remove"; // // SplitContainer1 // _SplitContainer1.BackColor = Color.Transparent; _SplitContainer1.Dock = DockStyle.Fill; _SplitContainer1.FixedPanel = FixedPanel.Panel2; _SplitContainer1.Location = new Point(0, 0); _SplitContainer1.Name = "SplitContainer1"; // // SplitContainer1.Panel1 // _SplitContainer1.Panel1.Controls.Add(_ListViewEx_LM_ScrollTexList); // // SplitContainer1.Panel2 // _SplitContainer1.Panel2.Controls.Add(_AdvPropertyGrid1); _SplitContainer1.Size = new Size(902, 633); _SplitContainer1.SplitterDistance = 583; _SplitContainer1.TabIndex = 9; // // ScrollTexEditor // AutoScaleDimensions = new SizeF(6.0F, 13.0F); AutoScaleMode = AutoScaleMode.Font; ClientSize = new Size(902, 633); Controls.Add(_ContextMenuBar1); Controls.Add(_SplitContainer1); FormBorderStyle = FormBorderStyle.FixedSingle; Icon = (Icon)resources.GetObject("$this.Icon"); MaximizeBox = false; Name = "ScrollTexEditor"; StartPosition = FormStartPosition.CenterScreen; Text = "Texture Animation Editor"; TopLeftCornerSize = 0; TopRightCornerSize = 0; ((System.ComponentModel.ISupportInitialize)_AdvPropertyGrid1).EndInit(); ((System.ComponentModel.ISupportInitialize)_ContextMenuBar1).EndInit(); _SplitContainer1.Panel1.ResumeLayout(false); _SplitContainer1.Panel2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)_SplitContainer1).EndInit(); _SplitContainer1.ResumeLayout(false); ResumeLayout(false); }
/// <summary> /// 此為設計工具支援所需的方法 - 請勿使用程式碼編輯器修改這個方法的內容。 /// /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Student_Brief)); this.label77 = new System.Windows.Forms.Label(); this.label76 = new System.Windows.Forms.Label(); this.txtIDNumber = new DevComponents.DotNetBar.Controls.TextBoxX(); this.label78 = new System.Windows.Forms.Label(); this.label82 = new System.Windows.Forms.Label(); this.txtName = new DevComponents.DotNetBar.Controls.TextBoxX(); this.label81 = new System.Windows.Forms.Label(); this.txtEngName = new DevComponents.DotNetBar.Controls.TextBoxX(); this.label80 = new System.Windows.Forms.Label(); this.contextMenuBar1 = new DevComponents.DotNetBar.ContextMenuBar(); this.ctxChange1 = new DevComponents.DotNetBar.ButtonItem(); this.buttonItem1 = new DevComponents.DotNetBar.ButtonItem(); this.buttonItem2 = new DevComponents.DotNetBar.ButtonItem(); this.buttonItem5 = new DevComponents.DotNetBar.ButtonItem(); this.ctxChange2 = new DevComponents.DotNetBar.ButtonItem(); this.buttonItem3 = new DevComponents.DotNetBar.ButtonItem(); this.buttonItem4 = new DevComponents.DotNetBar.ButtonItem(); this.buttonItem6 = new DevComponents.DotNetBar.ButtonItem(); this.pic1 = new System.Windows.Forms.PictureBox(); this.pic2 = new System.Windows.Forms.PictureBox(); this.od = new System.Windows.Forms.OpenFileDialog(); this.comboItem1 = new DevComponents.Editors.ComboItem(); this.comboItem2 = new DevComponents.Editors.ComboItem(); this.comboItem3 = new DevComponents.Editors.ComboItem(); this.txtBirthPlace = new DevComponents.DotNetBar.Controls.TextBoxX(); this.label79 = new System.Windows.Forms.Label(); this.errorProvider1 = new System.Windows.Forms.ErrorProvider(this.components); this.txtBirthDate = new Campus.Windows.DateTimeTextBox(); this.label1 = new System.Windows.Forms.Label(); this.txtLoginID = new DevComponents.DotNetBar.Controls.TextBoxX(); this.label2 = new System.Windows.Forms.Label(); this.txtLoginPwd = new DevComponents.DotNetBar.Controls.TextBoxX(); this.label3 = new System.Windows.Forms.Label(); this.cboGender = new DevComponents.DotNetBar.Controls.ComboBoxEx(); this.cboNationality = new DevComponents.DotNetBar.Controls.ComboBoxEx(); this.cboAccountType = new DevComponents.DotNetBar.Controls.ComboBoxEx(); this.comboItem6 = new DevComponents.Editors.ComboItem(); this.comboItem4 = new DevComponents.Editors.ComboItem(); this.comboItem5 = new DevComponents.Editors.ComboItem(); ((System.ComponentModel.ISupportInitialize)(this.contextMenuBar1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pic1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pic2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.errorProvider1)).BeginInit(); this.SuspendLayout(); // // label77 // this.label77.AutoSize = true; this.label77.BackColor = System.Drawing.Color.White; this.label77.Location = new System.Drawing.Point(294, 21); this.label77.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.label77.Name = "label77"; this.label77.Size = new System.Drawing.Size(60, 17); this.label77.TabIndex = 205; this.label77.Text = "姓 名"; // // label76 // this.label76.AutoSize = true; this.label76.BackColor = System.Drawing.Color.PaleGreen; this.label76.Location = new System.Drawing.Point(293, 168); this.label76.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.label76.Name = "label76"; this.label76.Size = new System.Drawing.Size(60, 17); this.label76.TabIndex = 207; this.label76.Text = "英文姓名"; // // txtIDNumber // this.txtIDNumber.BackColor = System.Drawing.Color.White; // // // this.txtIDNumber.Border.Class = "TextBoxBorder"; this.txtIDNumber.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.txtIDNumber.Location = new System.Drawing.Point(366, 48); this.txtIDNumber.Margin = new System.Windows.Forms.Padding(4); this.txtIDNumber.MaxLength = 20; this.txtIDNumber.Name = "txtIDNumber"; this.txtIDNumber.Size = new System.Drawing.Size(138, 25); this.txtIDNumber.TabIndex = 2; // // label78 // this.label78.AutoSize = true; this.label78.BackColor = System.Drawing.Color.PaleGreen; this.label78.Location = new System.Drawing.Point(294, 83); this.label78.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.label78.Name = "label78"; this.label78.Size = new System.Drawing.Size(60, 17); this.label78.TabIndex = 195; this.label78.Text = "生 日"; this.label78.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label82 // this.label82.AutoSize = true; this.label82.BackColor = System.Drawing.Color.PaleGreen; this.label82.Location = new System.Drawing.Point(294, 112); this.label82.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.label82.Name = "label82"; this.label82.Size = new System.Drawing.Size(60, 17); this.label82.TabIndex = 194; this.label82.Text = "性 別"; this.label82.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // txtName // // // // this.txtName.Border.Class = "TextBoxBorder"; this.txtName.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.txtName.Location = new System.Drawing.Point(366, 17); this.txtName.Margin = new System.Windows.Forms.Padding(4); this.txtName.MaxLength = 10; this.txtName.Name = "txtName"; this.txtName.Size = new System.Drawing.Size(138, 25); this.txtName.TabIndex = 1; // // label81 // this.label81.AutoSize = true; this.label81.BackColor = System.Drawing.Color.White; this.label81.Location = new System.Drawing.Point(294, 51); this.label81.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.label81.Name = "label81"; this.label81.Size = new System.Drawing.Size(60, 17); this.label81.TabIndex = 192; this.label81.Text = "身分證號"; this.label81.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // txtEngName // // // // this.txtEngName.Border.Class = "TextBoxBorder"; this.txtEngName.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.txtEngName.Enabled = false; this.txtEngName.Location = new System.Drawing.Point(366, 166); this.txtEngName.Margin = new System.Windows.Forms.Padding(4); this.txtEngName.MaxLength = 30; this.txtEngName.Name = "txtEngName"; this.txtEngName.ReadOnly = true; this.txtEngName.Size = new System.Drawing.Size(138, 25); this.txtEngName.TabIndex = 8; // // label80 // this.label80.AutoSize = true; this.label80.BackColor = System.Drawing.Color.Transparent; this.label80.Location = new System.Drawing.Point(293, 203); this.label80.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.label80.Name = "label80"; this.label80.Size = new System.Drawing.Size(59, 17); this.label80.TabIndex = 191; this.label80.Text = "出 生 地"; this.label80.TextAlign = System.Drawing.ContentAlignment.MiddleRight; this.label80.Visible = false; // // contextMenuBar1 // this.contextMenuBar1.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.ctxChange1, this.ctxChange2}); this.contextMenuBar1.Location = new System.Drawing.Point(65, 69); this.contextMenuBar1.Margin = new System.Windows.Forms.Padding(4); this.contextMenuBar1.Name = "contextMenuBar1"; this.contextMenuBar1.Size = new System.Drawing.Size(239, 26); this.contextMenuBar1.Stretch = true; this.contextMenuBar1.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2003; this.contextMenuBar1.TabIndex = 210; this.contextMenuBar1.TabStop = false; this.contextMenuBar1.Text = "contextMenuBar1"; // // ctxChange1 // this.ctxChange1.AutoExpandOnClick = true; this.ctxChange1.Name = "ctxChange1"; this.ctxChange1.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.buttonItem1, this.buttonItem2, this.buttonItem5}); this.ctxChange1.Text = "Change 1"; // // buttonItem1 // this.buttonItem1.Name = "buttonItem1"; this.buttonItem1.Text = "變更照片"; this.buttonItem1.Click += new System.EventHandler(this.buttonItem1_Click); // // buttonItem2 // this.buttonItem2.Name = "buttonItem2"; this.buttonItem2.Text = "另存照片"; this.buttonItem2.Click += new System.EventHandler(this.buttonItem2_Click); // // buttonItem5 // this.buttonItem5.Name = "buttonItem5"; this.buttonItem5.Text = "清除照片"; this.buttonItem5.Click += new System.EventHandler(this.buttonItem5_Click); // // ctxChange2 // this.ctxChange2.AutoExpandOnClick = true; this.ctxChange2.Name = "ctxChange2"; this.ctxChange2.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.buttonItem3, this.buttonItem4, this.buttonItem6}); this.ctxChange2.Text = "Change 2"; // // buttonItem3 // this.buttonItem3.Name = "buttonItem3"; this.buttonItem3.Text = "變更照片"; this.buttonItem3.Click += new System.EventHandler(this.buttonItem3_Click); // // buttonItem4 // this.buttonItem4.Name = "buttonItem4"; this.buttonItem4.Text = "另存照片"; this.buttonItem4.Click += new System.EventHandler(this.buttonItem4_Click); // // buttonItem6 // this.buttonItem6.Name = "buttonItem6"; this.buttonItem6.Text = "清除照片"; this.buttonItem6.Click += new System.EventHandler(this.buttonItem6_Click); // // pic1 // this.contextMenuBar1.SetContextMenuEx(this.pic1, this.ctxChange1); this.pic1.Image = ((System.Drawing.Image)(resources.GetObject("pic1.Image"))); this.pic1.InitialImage = ((System.Drawing.Image)(resources.GetObject("pic1.InitialImage"))); this.pic1.Location = new System.Drawing.Point(58, 21); this.pic1.Margin = new System.Windows.Forms.Padding(4); this.pic1.Name = "pic1"; this.pic1.Size = new System.Drawing.Size(90, 100); this.pic1.TabIndex = 208; this.pic1.TabStop = false; // // pic2 // this.contextMenuBar1.SetContextMenuEx(this.pic2, this.ctxChange2); this.pic2.Image = ((System.Drawing.Image)(resources.GetObject("pic2.Image"))); this.pic2.InitialImage = ((System.Drawing.Image)(resources.GetObject("pic2.InitialImage"))); this.pic2.Location = new System.Drawing.Point(156, 21); this.pic2.Margin = new System.Windows.Forms.Padding(4); this.pic2.Name = "pic2"; this.pic2.Size = new System.Drawing.Size(90, 100); this.pic2.TabIndex = 209; this.pic2.TabStop = false; // // comboItem1 // this.comboItem1.Text = "comboItem1"; // // comboItem2 // this.comboItem2.Text = "comboItem2"; // // comboItem3 // this.comboItem3.Text = "comboItem3"; // // txtBirthPlace // // // // this.txtBirthPlace.Border.Class = "TextBoxBorder"; this.txtBirthPlace.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.txtBirthPlace.Location = new System.Drawing.Point(365, 200); this.txtBirthPlace.Margin = new System.Windows.Forms.Padding(4); this.txtBirthPlace.MaxLength = 30; this.txtBirthPlace.Name = "txtBirthPlace"; this.txtBirthPlace.Size = new System.Drawing.Size(138, 25); this.txtBirthPlace.TabIndex = 5; this.txtBirthPlace.Visible = false; // // label79 // this.label79.AutoSize = true; this.label79.BackColor = System.Drawing.Color.PaleGreen; this.label79.Location = new System.Drawing.Point(294, 140); this.label79.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.label79.Name = "label79"; this.label79.Size = new System.Drawing.Size(61, 17); this.label79.TabIndex = 193; this.label79.Text = "國 籍"; this.label79.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // errorProvider1 // this.errorProvider1.ContainerControl = this; // // txtBirthDate // this.txtBirthDate.AllowNull = true; // // // this.txtBirthDate.Border.Class = "TextBoxBorder"; this.txtBirthDate.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.txtBirthDate.EmptyString = ""; this.txtBirthDate.Enabled = false; this.txtBirthDate.Location = new System.Drawing.Point(366, 79); this.txtBirthDate.Name = "txtBirthDate"; this.txtBirthDate.ReadOnly = true; this.txtBirthDate.Size = new System.Drawing.Size(138, 25); this.txtBirthDate.TabIndex = 3; this.txtBirthDate.WatermarkText = "yyyy/mm/dd"; this.txtBirthDate.TextChanged += new System.EventHandler(this.txtBirthDate_TextChanged); this.txtBirthDate.Validated += new System.EventHandler(this.txtBirthDate_Validated); // // label1 // this.label1.AutoSize = true; this.label1.BackColor = System.Drawing.Color.Transparent; this.label1.Location = new System.Drawing.Point(36, 141); this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(60, 17); this.label1.TabIndex = 191; this.label1.Text = "登入帳號"; this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // txtLoginID // // // // this.txtLoginID.Border.Class = "TextBoxBorder"; this.txtLoginID.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.txtLoginID.Location = new System.Drawing.Point(108, 137); this.txtLoginID.Margin = new System.Windows.Forms.Padding(4); this.txtLoginID.MaxLength = 50; this.txtLoginID.Name = "txtLoginID"; this.txtLoginID.Size = new System.Drawing.Size(138, 25); this.txtLoginID.TabIndex = 5; // // label2 // this.label2.AutoSize = true; this.label2.BackColor = System.Drawing.Color.Transparent; this.label2.Location = new System.Drawing.Point(36, 202); this.label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(60, 17); this.label2.TabIndex = 191; this.label2.Text = "登入密碼"; this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight; this.label2.Visible = false; // // txtLoginPwd // // // // this.txtLoginPwd.Border.Class = "TextBoxBorder"; this.txtLoginPwd.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.txtLoginPwd.Location = new System.Drawing.Point(108, 202); this.txtLoginPwd.Margin = new System.Windows.Forms.Padding(4); this.txtLoginPwd.MaxLength = 50; this.txtLoginPwd.Name = "txtLoginPwd"; this.txtLoginPwd.PasswordChar = '●'; this.txtLoginPwd.Size = new System.Drawing.Size(138, 25); this.txtLoginPwd.TabIndex = 8; this.txtLoginPwd.Visible = false; // // label3 // this.label3.AutoSize = true; this.label3.BackColor = System.Drawing.Color.Transparent; this.label3.Location = new System.Drawing.Point(36, 168); this.label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(60, 17); this.label3.TabIndex = 193; this.label3.Text = "帳號類型"; this.label3.Visible = false; // // cboGender // this.cboGender.DisplayMember = "Text"; this.cboGender.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; this.cboGender.Enabled = false; this.cboGender.Font = new System.Drawing.Font("微軟正黑體", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(136))); this.cboGender.FormattingEnabled = true; this.cboGender.ItemHeight = 16; this.cboGender.Location = new System.Drawing.Point(366, 110); this.cboGender.Name = "cboGender"; this.cboGender.Size = new System.Drawing.Size(138, 22); this.cboGender.TabIndex = 4; this.cboGender.TextChanged += new System.EventHandler(this.cboGender_TextChanged); // // cboNationality // this.cboNationality.DisplayMember = "Text"; this.cboNationality.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; this.cboNationality.Enabled = false; this.cboNationality.Font = new System.Drawing.Font("微軟正黑體", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(136))); this.cboNationality.FormattingEnabled = true; this.cboNationality.ItemHeight = 16; this.cboNationality.Location = new System.Drawing.Point(365, 138); this.cboNationality.Margin = new System.Windows.Forms.Padding(4); this.cboNationality.Name = "cboNationality"; this.cboNationality.Size = new System.Drawing.Size(139, 22); this.cboNationality.TabIndex = 6; // // cboAccountType // this.cboAccountType.DisplayMember = "Text"; this.cboAccountType.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; this.cboAccountType.FormattingEnabled = true; this.cboAccountType.ItemHeight = 19; this.cboAccountType.Items.AddRange(new object[] { this.comboItem6, this.comboItem4, this.comboItem5}); this.cboAccountType.Location = new System.Drawing.Point(108, 168); this.cboAccountType.Name = "cboAccountType"; this.cboAccountType.Size = new System.Drawing.Size(138, 25); this.cboAccountType.TabIndex = 7; this.cboAccountType.Visible = false; // // comboItem4 // this.comboItem4.Text = "Greening"; // // comboItem5 // this.comboItem5.Text = "自定帳號"; // // Student_Brief // this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; this.BackColor = System.Drawing.Color.Transparent; this.Controls.Add(this.contextMenuBar1); this.Controls.Add(this.label76); this.Controls.Add(this.txtBirthDate); this.Controls.Add(this.cboAccountType); this.Controls.Add(this.cboGender); this.Controls.Add(this.txtBirthPlace); this.Controls.Add(this.txtIDNumber); this.Controls.Add(this.label77); this.Controls.Add(this.cboNationality); this.Controls.Add(this.txtLoginID); this.Controls.Add(this.txtName); this.Controls.Add(this.pic2); this.Controls.Add(this.pic1); this.Controls.Add(this.txtEngName); this.Controls.Add(this.txtLoginPwd); this.Controls.Add(this.label81); this.Controls.Add(this.label79); this.Controls.Add(this.label78); this.Controls.Add(this.label80); this.Controls.Add(this.label82); this.Controls.Add(this.label3); this.Controls.Add(this.label2); this.Controls.Add(this.label1); this.Margin = new System.Windows.Forms.Padding(5, 6, 5, 6); this.Name = "Student_Brief"; this.Size = new System.Drawing.Size(550, 210); this.Load += new System.EventHandler(this.Student_Brief_Load); ((System.ComponentModel.ISupportInitialize)(this.contextMenuBar1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pic1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pic2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.errorProvider1)).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.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(CalendarControl)); this.dateNavigator = new DevComponents.DotNetBar.Schedule.DateNavigator(); this.calendarView = new DevComponents.DotNetBar.Schedule.CalendarView(); this.imageList = new System.Windows.Forms.ImageList(this.components); this.barView = new DevComponents.DotNetBar.Bar(); this.btnDayView = new DevComponents.DotNetBar.ButtonItem(); this.btnWeekView = new DevComponents.DotNetBar.ButtonItem(); this.btnMonthView = new DevComponents.DotNetBar.ButtonItem(); this.panelCalendar = new System.Windows.Forms.Panel(); this.contextMenuBar1 = new DevComponents.DotNetBar.ContextMenuBar(); this.InContentContextMenu = new DevComponents.DotNetBar.ButtonItem(); this.btnAddAppointment = new DevComponents.DotNetBar.ButtonItem(); this.buttonItemBuscar = new DevComponents.DotNetBar.ButtonItem(); this.buttonItemNotificar = new DevComponents.DotNetBar.ButtonItem(); this.InTabContextMenu = new DevComponents.DotNetBar.ButtonItem(); this.InTabOcultar = new DevComponents.DotNetBar.ButtonItem(); this.InTabAddNewTab = new DevComponents.DotNetBar.LabelItem(); this.InTabReplaceTab = new DevComponents.DotNetBar.LabelItem(); this.InAppointment = new DevComponents.DotNetBar.ButtonItem(); this.buttonItemVerAppointment = new DevComponents.DotNetBar.ButtonItem(); this.buttonItemDeleteAppointment = new DevComponents.DotNetBar.ButtonItem(); this.buttonItemBorrarSerie = new DevComponents.DotNetBar.ButtonItem(); this.checkBoxItemReprogramada = new DevComponents.DotNetBar.CheckBoxItem(); this.barStatus = new DevComponents.DotNetBar.Bar(); this.buttonItemMultiUser = new DevComponents.DotNetBar.ButtonItem(); this.buttonItemSingleUser = new DevComponents.DotNetBar.ButtonItem(); this.tableLayoutPanel = new System.Windows.Forms.TableLayoutPanel(); this.styleManager1 = new DevComponents.DotNetBar.StyleManager(this.components); this.superTooltip1 = new DevComponents.DotNetBar.SuperTooltip(); ((System.ComponentModel.ISupportInitialize)(this.barView)).BeginInit(); this.panelCalendar.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.contextMenuBar1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.barStatus)).BeginInit(); this.tableLayoutPanel.SuspendLayout(); this.SuspendLayout(); // // dateNavigator // this.dateNavigator.CalendarView = this.calendarView; this.dateNavigator.CanvasColor = System.Drawing.SystemColors.Control; this.dateNavigator.Dock = System.Windows.Forms.DockStyle.Top; this.dateNavigator.Location = new System.Drawing.Point(0, 0); this.dateNavigator.Name = "dateNavigator"; this.dateNavigator.Size = new System.Drawing.Size(694, 30); this.dateNavigator.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(239)))), ((int)(((byte)(255))))); this.dateNavigator.TabIndex = 5; this.dateNavigator.Text = "dateNavigator"; // // calendarView // this.calendarView.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(239)))), ((int)(((byte)(255))))); // // // this.calendarView.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.calendarView.ContainerControlProcessDialogKey = true; this.calendarView.Dock = System.Windows.Forms.DockStyle.Fill; this.calendarView.HighlightCurrentDay = true; this.calendarView.Images = this.imageList; this.calendarView.LabelTimeSlots = true; this.calendarView.LicenseKey = "F962CEC7-CD8F-4911-A9E9-CAB39962FC1F"; this.calendarView.Location = new System.Drawing.Point(0, 30); this.calendarView.MinimumTimeSlotHeight = 30; this.calendarView.MultiUserTabHeight = 19; this.calendarView.Name = "calendarView"; this.calendarView.ShowOnlyWorkDayHours = true; this.calendarView.Size = new System.Drawing.Size(694, 271); this.calendarView.TabIndex = 4; this.calendarView.Text = "calendarView"; this.calendarView.TimeIndicator.BorderColor = System.Drawing.Color.Empty; this.calendarView.TimeIndicator.IndicatorArea = DevComponents.DotNetBar.Schedule.eTimeIndicatorArea.Content; this.calendarView.TimeIndicator.Tag = null; this.calendarView.TimeIndicator.Visibility = DevComponents.DotNetBar.Schedule.eTimeIndicatorVisibility.AllResources; this.calendarView.TimeSlotDuration = 30; this.calendarView.MouseUp += new System.Windows.Forms.MouseEventHandler(this.calendarView_MouseUp); // // imageList // this.imageList.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList.ImageStream"))); this.imageList.TransparentColor = System.Drawing.Color.Transparent; this.imageList.Images.SetKeyName(0, "disabled"); // // barView // this.barView.AntiAlias = true; this.barView.Dock = System.Windows.Forms.DockStyle.Top; this.barView.Font = new System.Drawing.Font("Segoe UI", 9F); this.barView.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.btnDayView, this.btnWeekView, this.btnMonthView}); this.barView.Location = new System.Drawing.Point(0, 0); this.barView.Name = "barView"; this.barView.RoundCorners = false; this.barView.Size = new System.Drawing.Size(700, 63); this.barView.Stretch = true; this.barView.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; this.barView.TabIndex = 3; this.barView.TabStop = false; this.barView.Text = "ViewBar"; // // btnDayView // this.btnDayView.Checked = true; this.btnDayView.ColorTable = DevComponents.DotNetBar.eButtonColor.Flat; this.btnDayView.FixedSize = new System.Drawing.Size(100, 60); this.btnDayView.Image = ((System.Drawing.Image)(resources.GetObject("btnDayView.Image"))); this.btnDayView.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top; this.btnDayView.Name = "btnDayView"; this.btnDayView.OptionGroup = "View"; this.superTooltip1.SetSuperTooltip(this.btnDayView, new DevComponents.DotNetBar.SuperTooltipInfo("Vista por día", "", "", ((System.Drawing.Image)(resources.GetObject("btnDayView.SuperTooltip"))), null, DevComponents.DotNetBar.eTooltipColor.Gray)); this.btnDayView.Text = "Día"; this.btnDayView.Click += new System.EventHandler(this.btnDayView_Click); // // btnWeekView // this.btnWeekView.ColorTable = DevComponents.DotNetBar.eButtonColor.Flat; this.btnWeekView.FixedSize = new System.Drawing.Size(100, 60); this.btnWeekView.Image = ((System.Drawing.Image)(resources.GetObject("btnWeekView.Image"))); this.btnWeekView.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top; this.btnWeekView.Name = "btnWeekView"; this.btnWeekView.OptionGroup = "View"; this.superTooltip1.SetSuperTooltip(this.btnWeekView, new DevComponents.DotNetBar.SuperTooltipInfo("Vista por semana", "", "", ((System.Drawing.Image)(resources.GetObject("btnWeekView.SuperTooltip"))), null, DevComponents.DotNetBar.eTooltipColor.Gray)); this.btnWeekView.Text = "Semana"; this.btnWeekView.Click += new System.EventHandler(this.btnWeekView_Click); // // btnMonthView // this.btnMonthView.ColorTable = DevComponents.DotNetBar.eButtonColor.Flat; this.btnMonthView.FixedSize = new System.Drawing.Size(100, 60); this.btnMonthView.Image = ((System.Drawing.Image)(resources.GetObject("btnMonthView.Image"))); this.btnMonthView.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top; this.btnMonthView.Name = "btnMonthView"; this.btnMonthView.OptionGroup = "View"; this.superTooltip1.SetSuperTooltip(this.btnMonthView, new DevComponents.DotNetBar.SuperTooltipInfo("Vista por mes", "", "", ((System.Drawing.Image)(resources.GetObject("btnMonthView.SuperTooltip"))), null, DevComponents.DotNetBar.eTooltipColor.Gray)); this.btnMonthView.Text = "Mes"; this.btnMonthView.Click += new System.EventHandler(this.btnMonthView_Click); // // panelCalendar // this.panelCalendar.Controls.Add(this.contextMenuBar1); this.panelCalendar.Controls.Add(this.calendarView); this.panelCalendar.Controls.Add(this.dateNavigator); this.panelCalendar.Dock = System.Windows.Forms.DockStyle.Fill; this.panelCalendar.Location = new System.Drawing.Point(3, 3); this.panelCalendar.Name = "panelCalendar"; this.panelCalendar.Size = new System.Drawing.Size(694, 301); this.panelCalendar.TabIndex = 6; // // contextMenuBar1 // this.contextMenuBar1.AntiAlias = true; this.contextMenuBar1.DockSide = DevComponents.DotNetBar.eDockSide.Document; this.contextMenuBar1.Font = new System.Drawing.Font("Segoe UI", 9F); this.contextMenuBar1.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.InContentContextMenu, this.InTabContextMenu, this.InAppointment}); this.contextMenuBar1.Location = new System.Drawing.Point(153, 178); this.contextMenuBar1.Name = "contextMenuBar1"; this.contextMenuBar1.Size = new System.Drawing.Size(116, 69); this.contextMenuBar1.Stretch = true; this.contextMenuBar1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; this.contextMenuBar1.TabIndex = 6; this.contextMenuBar1.TabStop = false; this.contextMenuBar1.Text = "contextMenuBar1"; // // InContentContextMenu // this.InContentContextMenu.AutoExpandOnClick = true; this.InContentContextMenu.Name = "InContentContextMenu"; this.InContentContextMenu.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.btnAddAppointment, this.buttonItemBuscar, this.buttonItemNotificar}); this.InContentContextMenu.Text = "In Content"; this.InContentContextMenu.Click += new System.EventHandler(this.InContentContextMenu_Click); // // btnAddAppointment // this.btnAddAppointment.Name = "btnAddAppointment"; this.btnAddAppointment.Text = "Agregar"; this.btnAddAppointment.Click += new System.EventHandler(this.btnAddAppointment_Click); // // buttonItemBuscar // this.buttonItemBuscar.Name = "buttonItemBuscar"; this.buttonItemBuscar.Text = "Buscar"; this.buttonItemBuscar.Click += new System.EventHandler(this.buttonItemBuscar_Click); // // buttonItemNotificar // this.buttonItemNotificar.Name = "buttonItemNotificar"; this.buttonItemNotificar.Text = "Notificar"; this.buttonItemNotificar.Click += new System.EventHandler(this.buttonItemNotificar_Click); // // InTabContextMenu // this.InTabContextMenu.AutoExpandOnClick = true; this.InTabContextMenu.Name = "InTabContextMenu"; this.InTabContextMenu.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.InTabOcultar, this.InTabAddNewTab, this.InTabReplaceTab}); this.InTabContextMenu.Text = "InTab"; // // InTabOcultar // this.InTabOcultar.Name = "InTabOcultar"; this.InTabOcultar.Text = "Ocultar"; this.InTabOcultar.Click += new System.EventHandler(this.InTabOcultar_Click); // // InTabAddNewTab // this.InTabAddNewTab.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(231)))), ((int)(((byte)(238))))); this.InTabAddNewTab.BorderSide = DevComponents.DotNetBar.eBorderSide.Bottom; this.InTabAddNewTab.BorderType = DevComponents.DotNetBar.eBorderType.SingleLine; this.InTabAddNewTab.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(21)))), ((int)(((byte)(110))))); this.InTabAddNewTab.Name = "InTabAddNewTab"; this.InTabAddNewTab.PaddingBottom = 1; this.InTabAddNewTab.PaddingLeft = 10; this.InTabAddNewTab.PaddingTop = 1; this.InTabAddNewTab.SingleLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(197)))), ((int)(((byte)(197)))), ((int)(((byte)(197))))); this.InTabAddNewTab.Text = "Agregar"; // // InTabReplaceTab // this.InTabReplaceTab.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(231)))), ((int)(((byte)(238))))); this.InTabReplaceTab.BorderSide = DevComponents.DotNetBar.eBorderSide.Bottom; this.InTabReplaceTab.BorderType = DevComponents.DotNetBar.eBorderType.SingleLine; this.InTabReplaceTab.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(21)))), ((int)(((byte)(110))))); this.InTabReplaceTab.Name = "InTabReplaceTab"; this.InTabReplaceTab.PaddingBottom = 1; this.InTabReplaceTab.PaddingLeft = 10; this.InTabReplaceTab.PaddingTop = 1; this.InTabReplaceTab.SingleLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(197)))), ((int)(((byte)(197)))), ((int)(((byte)(197))))); this.InTabReplaceTab.Text = "Reemplazar"; // // InAppointment // this.InAppointment.AutoExpandOnClick = true; this.InAppointment.Name = "InAppointment"; this.InAppointment.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.buttonItemVerAppointment, this.buttonItemDeleteAppointment, this.buttonItemBorrarSerie, this.checkBoxItemReprogramada}); this.InAppointment.Text = "InAppointment"; // // buttonItemVerAppointment // this.buttonItemVerAppointment.Name = "buttonItemVerAppointment"; this.buttonItemVerAppointment.Text = "Ver"; this.buttonItemVerAppointment.Click += new System.EventHandler(this.buttonItemEditarAppointment_Click); // // buttonItemDeleteAppointment // this.buttonItemDeleteAppointment.Name = "buttonItemDeleteAppointment"; this.buttonItemDeleteAppointment.Text = "Borrar"; this.buttonItemDeleteAppointment.Click += new System.EventHandler(this.buttonItemDeleteAppointment_Click); // // buttonItemBorrarSerie // this.buttonItemBorrarSerie.Name = "buttonItemBorrarSerie"; this.buttonItemBorrarSerie.Text = "Borrar Serie"; this.buttonItemBorrarSerie.Visible = false; this.buttonItemBorrarSerie.Click += new System.EventHandler(this.buttonItemBorrarSerie_Click); // // checkBoxItemReprogramada // this.checkBoxItemReprogramada.Name = "checkBoxItemReprogramada"; this.checkBoxItemReprogramada.Text = "Reprogramada"; this.checkBoxItemReprogramada.Click += new System.EventHandler(this.checkBoxItemReprogramada_Click); // // barStatus // this.barStatus.AntiAlias = true; this.barStatus.BackColor = System.Drawing.Color.CornflowerBlue; this.barStatus.Dock = System.Windows.Forms.DockStyle.Fill; this.barStatus.DockSide = DevComponents.DotNetBar.eDockSide.Document; this.barStatus.Font = new System.Drawing.Font("Segoe UI", 9F); this.barStatus.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.buttonItemMultiUser, this.buttonItemSingleUser}); this.barStatus.Location = new System.Drawing.Point(3, 310); this.barStatus.MaximumSize = new System.Drawing.Size(0, 23); this.barStatus.MinimumSize = new System.Drawing.Size(0, 23); this.barStatus.Name = "barStatus"; this.barStatus.RoundCorners = false; this.barStatus.Size = new System.Drawing.Size(694, 23); this.barStatus.Stretch = true; this.barStatus.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; this.barStatus.TabIndex = 7; this.barStatus.TabStop = false; this.barStatus.Text = "bar1"; // // buttonItemMultiUser // this.buttonItemMultiUser.Checked = true; this.buttonItemMultiUser.ColorTable = DevComponents.DotNetBar.eButtonColor.Blue; this.buttonItemMultiUser.Image = ((System.Drawing.Image)(resources.GetObject("buttonItemMultiUser.Image"))); this.buttonItemMultiUser.ItemAlignment = DevComponents.DotNetBar.eItemAlignment.Far; this.buttonItemMultiUser.Name = "buttonItemMultiUser"; this.buttonItemMultiUser.OptionGroup = "UserView"; this.superTooltip1.SetSuperTooltip(this.buttonItemMultiUser, new DevComponents.DotNetBar.SuperTooltipInfo("Horario por aula", "", "", ((System.Drawing.Image)(resources.GetObject("buttonItemMultiUser.SuperTooltip"))), null, DevComponents.DotNetBar.eTooltipColor.Gray)); this.buttonItemMultiUser.Click += new System.EventHandler(this.buttonItemMultiUser_Click); // // buttonItemSingleUser // this.buttonItemSingleUser.ColorTable = DevComponents.DotNetBar.eButtonColor.Blue; this.buttonItemSingleUser.Image = ((System.Drawing.Image)(resources.GetObject("buttonItemSingleUser.Image"))); this.buttonItemSingleUser.ItemAlignment = DevComponents.DotNetBar.eItemAlignment.Far; this.buttonItemSingleUser.Name = "buttonItemSingleUser"; this.buttonItemSingleUser.OptionGroup = "UserView"; this.superTooltip1.SetSuperTooltip(this.buttonItemSingleUser, new DevComponents.DotNetBar.SuperTooltipInfo("Horario en general", "", "", ((System.Drawing.Image)(resources.GetObject("buttonItemSingleUser.SuperTooltip"))), null, DevComponents.DotNetBar.eTooltipColor.Gray)); this.buttonItemSingleUser.Click += new System.EventHandler(this.buttonItemSingleUser_Click); // // tableLayoutPanel // this.tableLayoutPanel.ColumnCount = 1; this.tableLayoutPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tableLayoutPanel.Controls.Add(this.barStatus, 0, 1); this.tableLayoutPanel.Controls.Add(this.panelCalendar, 0, 0); this.tableLayoutPanel.Dock = System.Windows.Forms.DockStyle.Fill; this.tableLayoutPanel.Location = new System.Drawing.Point(0, 63); this.tableLayoutPanel.Name = "tableLayoutPanel"; this.tableLayoutPanel.RowCount = 2; this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle()); this.tableLayoutPanel.Size = new System.Drawing.Size(700, 337); this.tableLayoutPanel.TabIndex = 8; // // styleManager1 // this.styleManager1.ManagerStyle = DevComponents.DotNetBar.eStyle.Office2007Blue; this.styleManager1.MetroColorParameters = new DevComponents.DotNetBar.Metro.ColorTables.MetroColorGeneratorParameters(System.Drawing.Color.White, System.Drawing.Color.FromArgb(((int)(((byte)(43)))), ((int)(((byte)(87)))), ((int)(((byte)(154)))))); // // superTooltip1 // this.superTooltip1.LicenseKey = "F962CEC7-CD8F-4911-A9E9-CAB39962FC1F"; // // CalendarControl // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.Controls.Add(this.tableLayoutPanel); this.Controls.Add(this.barView); this.Name = "CalendarControl"; this.Size = new System.Drawing.Size(700, 400); ((System.ComponentModel.ISupportInitialize)(this.barView)).EndInit(); this.panelCalendar.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.contextMenuBar1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.barStatus)).EndInit(); this.tableLayoutPanel.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// 此為設計工具支援所需的方法 - 請勿使用程式碼編輯器修改這個方法的內容。 /// /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.pic1 = new System.Windows.Forms.PictureBox(); this.label1 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.txtName = new DevComponents.DotNetBar.Controls.TextBoxX(); this.txtIDNumber = new DevComponents.DotNetBar.Controls.TextBoxX(); this.txtPhone = new DevComponents.DotNetBar.Controls.TextBoxX(); this.label4 = new System.Windows.Forms.Label(); this.txtEmail = new DevComponents.DotNetBar.Controls.TextBoxX(); this.label5 = new System.Windows.Forms.Label(); this.txtCategory = new DevComponents.DotNetBar.Controls.TextBoxX(); this.label6 = new System.Windows.Forms.Label(); this.txtSTLoginAccount = new DevComponents.DotNetBar.Controls.TextBoxX(); this.label7 = new System.Windows.Forms.Label(); this.txtSTLoginPwd = new DevComponents.DotNetBar.Controls.TextBoxX(); this.label8 = new System.Windows.Forms.Label(); this.label9 = new System.Windows.Forms.Label(); this.cboGender = new DevComponents.DotNetBar.Controls.ComboBoxEx(); this.comboItem5 = new DevComponents.Editors.ComboItem(); this.comboItem1 = new DevComponents.Editors.ComboItem(); this.comboItem2 = new DevComponents.Editors.ComboItem(); this.errors = new System.Windows.Forms.ErrorProvider(this.components); this.txtNickname = new DevComponents.DotNetBar.Controls.TextBoxX(); this.label10 = new System.Windows.Forms.Label(); this.cboAccountType = new DevComponents.DotNetBar.Controls.ComboBoxEx(); this.comboItem6 = new DevComponents.Editors.ComboItem(); this.comboItem3 = new DevComponents.Editors.ComboItem(); this.comboItem4 = new DevComponents.Editors.ComboItem(); this.contextMenuBar1 = new DevComponents.DotNetBar.ContextMenuBar(); this.ctxChange1 = new DevComponents.DotNetBar.ButtonItem(); this.buttonItem1 = new DevComponents.DotNetBar.ButtonItem(); this.buttonItem2 = new DevComponents.DotNetBar.ButtonItem(); this.buttonItem5 = new DevComponents.DotNetBar.ButtonItem(); ((System.ComponentModel.ISupportInitialize)(this.pic1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.errors)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.contextMenuBar1)).BeginInit(); this.SuspendLayout(); // // pic1 // this.contextMenuBar1.SetContextMenuEx(this.pic1, this.ctxChange1); this.pic1.Image = global::EMBACore.Properties.Resources.People; this.pic1.InitialImage = global::EMBACore.Properties.Resources.People; this.pic1.Location = new System.Drawing.Point(58, 21); this.pic1.Margin = new System.Windows.Forms.Padding(4); this.pic1.Name = "pic1"; this.pic1.Size = new System.Drawing.Size(90, 100); this.pic1.TabIndex = 208; this.pic1.TabStop = false; // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(285, 20); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(60, 17); this.label1.TabIndex = 1; this.label1.Text = "教師姓名"; // // label2 // this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(285, 81); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(60, 17); this.label2.TabIndex = 2; this.label2.Text = "性 別"; // // label3 // this.label3.AutoSize = true; this.label3.Location = new System.Drawing.Point(285, 50); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(60, 17); this.label3.TabIndex = 3; this.label3.Text = "身分證號"; // // txtName // // // // this.txtName.Border.Class = "TextBoxBorder"; this.txtName.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.txtName.Location = new System.Drawing.Point(363, 16); this.txtName.Name = "txtName"; this.txtName.Size = new System.Drawing.Size(140, 25); this.txtName.TabIndex = 1; // // txtIDNumber // // // // this.txtIDNumber.Border.Class = "TextBoxBorder"; this.txtIDNumber.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.txtIDNumber.Location = new System.Drawing.Point(363, 47); this.txtIDNumber.Name = "txtIDNumber"; this.txtIDNumber.Size = new System.Drawing.Size(140, 25); this.txtIDNumber.TabIndex = 2; // // txtPhone // // // // this.txtPhone.Border.Class = "TextBoxBorder"; this.txtPhone.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.txtPhone.Location = new System.Drawing.Point(363, 137); this.txtPhone.Name = "txtPhone"; this.txtPhone.Size = new System.Drawing.Size(140, 25); this.txtPhone.TabIndex = 6; // // label4 // this.label4.AutoSize = true; this.label4.Location = new System.Drawing.Point(285, 141); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(60, 17); this.label4.TabIndex = 7; this.label4.Text = "聯絡電話"; // // txtEmail // // // // this.txtEmail.Border.Class = "TextBoxBorder"; this.txtEmail.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.txtEmail.Location = new System.Drawing.Point(363, 166); this.txtEmail.Name = "txtEmail"; this.txtEmail.Size = new System.Drawing.Size(140, 25); this.txtEmail.TabIndex = 8; // // label5 // this.label5.AutoSize = true; this.label5.Location = new System.Drawing.Point(285, 170); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(60, 17); this.label5.TabIndex = 9; this.label5.Text = "電子信箱"; // // txtCategory // // // // this.txtCategory.Border.Class = "TextBoxBorder"; this.txtCategory.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.txtCategory.Location = new System.Drawing.Point(363, 195); this.txtCategory.Name = "txtCategory"; this.txtCategory.Size = new System.Drawing.Size(140, 25); this.txtCategory.TabIndex = 7; this.txtCategory.Visible = false; // // label6 // this.label6.AutoSize = true; this.label6.Location = new System.Drawing.Point(285, 199); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(60, 17); this.label6.TabIndex = 11; this.label6.Text = "教師類別"; this.label6.Visible = false; // // txtSTLoginAccount // // // // this.txtSTLoginAccount.Border.Class = "TextBoxBorder"; this.txtSTLoginAccount.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.txtSTLoginAccount.Location = new System.Drawing.Point(106, 134); this.txtSTLoginAccount.Name = "txtSTLoginAccount"; this.txtSTLoginAccount.Size = new System.Drawing.Size(140, 25); this.txtSTLoginAccount.TabIndex = 5; // // label7 // this.label7.AutoSize = true; this.label7.Location = new System.Drawing.Point(28, 137); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(60, 17); this.label7.TabIndex = 13; this.label7.Text = "登入帳號"; // // txtSTLoginPwd // // // // this.txtSTLoginPwd.Border.Class = "TextBoxBorder"; this.txtSTLoginPwd.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.txtSTLoginPwd.Location = new System.Drawing.Point(106, 198); this.txtSTLoginPwd.Name = "txtSTLoginPwd"; this.txtSTLoginPwd.PasswordChar = '*'; this.txtSTLoginPwd.Size = new System.Drawing.Size(140, 25); this.txtSTLoginPwd.TabIndex = 9; this.txtSTLoginPwd.Visible = false; // // label8 // this.label8.AutoSize = true; this.label8.Location = new System.Drawing.Point(28, 201); this.label8.Name = "label8"; this.label8.Size = new System.Drawing.Size(60, 17); this.label8.TabIndex = 15; this.label8.Text = "登入密碼"; this.label8.Visible = false; // // label9 // this.label9.AutoSize = true; this.label9.Location = new System.Drawing.Point(28, 170); this.label9.Name = "label9"; this.label9.Size = new System.Drawing.Size(60, 17); this.label9.TabIndex = 17; this.label9.Text = "帳號類型"; this.label9.Visible = false; // // cboGender // this.cboGender.DisplayMember = "Text"; this.cboGender.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; this.cboGender.FormattingEnabled = true; this.cboGender.ItemHeight = 19; this.cboGender.Items.AddRange(new object[] { this.comboItem5, this.comboItem1, this.comboItem2}); this.cboGender.Location = new System.Drawing.Point(363, 77); this.cboGender.Name = "cboGender"; this.cboGender.Size = new System.Drawing.Size(140, 25); this.cboGender.TabIndex = 3; // // comboItem1 // this.comboItem1.Text = "男"; // // comboItem2 // this.comboItem2.Text = "女"; // // errors // this.errors.ContainerControl = this; // // txtNickname // // // // this.txtNickname.Border.Class = "TextBoxBorder"; this.txtNickname.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.txtNickname.Location = new System.Drawing.Point(363, 108); this.txtNickname.Name = "txtNickname"; this.txtNickname.Size = new System.Drawing.Size(140, 25); this.txtNickname.TabIndex = 4; // // label10 // this.label10.AutoSize = true; this.label10.Location = new System.Drawing.Point(285, 112); this.label10.Name = "label10"; this.label10.Size = new System.Drawing.Size(60, 17); this.label10.TabIndex = 1; this.label10.Text = "暱 稱"; // // cboAccountType // this.cboAccountType.DisplayMember = "Text"; this.cboAccountType.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; this.cboAccountType.FormattingEnabled = true; this.cboAccountType.ItemHeight = 19; this.cboAccountType.Items.AddRange(new object[] { this.comboItem6, this.comboItem3, this.comboItem4}); this.cboAccountType.Location = new System.Drawing.Point(106, 167); this.cboAccountType.Name = "cboAccountType"; this.cboAccountType.Size = new System.Drawing.Size(140, 25); this.cboAccountType.TabIndex = 7; this.cboAccountType.Visible = false; // // comboItem3 // this.comboItem3.Text = "Greening"; // // comboItem4 // this.comboItem4.Text = "自定帳號"; // // contextMenuBar1 // this.contextMenuBar1.Font = new System.Drawing.Font("微軟正黑體", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(136))); this.contextMenuBar1.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.ctxChange1}); this.contextMenuBar1.Location = new System.Drawing.Point(14, 20); this.contextMenuBar1.Margin = new System.Windows.Forms.Padding(4); this.contextMenuBar1.Name = "contextMenuBar1"; this.contextMenuBar1.Size = new System.Drawing.Size(139, 27); this.contextMenuBar1.Stretch = true; this.contextMenuBar1.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2003; this.contextMenuBar1.TabIndex = 211; this.contextMenuBar1.TabStop = false; this.contextMenuBar1.Text = "contextMenuBar1"; // // ctxChange1 // this.ctxChange1.AutoExpandOnClick = true; this.ctxChange1.Name = "ctxChange1"; this.ctxChange1.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.buttonItem1, this.buttonItem2, this.buttonItem5}); this.ctxChange1.Text = "Change 1"; // // buttonItem1 // this.buttonItem1.Name = "buttonItem1"; this.buttonItem1.Text = "變更照片"; this.buttonItem1.Click += new System.EventHandler(this.buttonItem1_Click); // // buttonItem2 // this.buttonItem2.Name = "buttonItem2"; this.buttonItem2.Text = "另存照片"; this.buttonItem2.Click += new System.EventHandler(this.buttonItem2_Click); // // buttonItem5 // this.buttonItem5.Name = "buttonItem5"; this.buttonItem5.Text = "清除照片"; this.buttonItem5.Click += new System.EventHandler(this.buttonItem5_Click); // // Teacher_Brief // this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; this.Controls.Add(this.contextMenuBar1); this.Controls.Add(this.cboAccountType); this.Controls.Add(this.txtCategory); this.Controls.Add(this.cboGender); this.Controls.Add(this.label6); this.Controls.Add(this.txtEmail); this.Controls.Add(this.label5); this.Controls.Add(this.txtPhone); this.Controls.Add(this.label9); this.Controls.Add(this.txtSTLoginPwd); this.Controls.Add(this.label8); this.Controls.Add(this.label7); this.Controls.Add(this.pic1); this.Controls.Add(this.txtSTLoginAccount); this.Controls.Add(this.txtIDNumber); this.Controls.Add(this.label4); this.Controls.Add(this.label2); this.Controls.Add(this.label3); this.Controls.Add(this.label1); this.Controls.Add(this.txtName); this.Controls.Add(this.label10); this.Controls.Add(this.txtNickname); this.Name = "Teacher_Brief"; this.Size = new System.Drawing.Size(550, 210); ((System.ComponentModel.ISupportInitialize)(this.pic1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.errors)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.contextMenuBar1)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
private void InitializeComponent() { var resources = new System.ComponentModel.ComponentResourceManager(typeof(ObjectBankDataEditor)); _ObdTree = new DevComponents.AdvTree.AdvTree(); _ObdTree.BeforeCellEdit += new DevComponents.AdvTree.CellEditEventHandler(ObdTree_BeforeCellEdit); _ObdTree.AfterCellEdit += new DevComponents.AdvTree.CellEditEventHandler(ObdTree_AfterCellEdit); _Node1 = new DevComponents.AdvTree.Node(); _NodeConnector1 = new DevComponents.AdvTree.NodeConnector(); _ElementStyle1 = new DevComponents.DotNetBar.ElementStyle(); _ContextMenuBar1 = new DevComponents.DotNetBar.ContextMenuBar(); _ButtonItem_CM_ObdList = new DevComponents.DotNetBar.ButtonItem(); _ButtonItem_RemoveObdList = new DevComponents.DotNetBar.ButtonItem(); _ButtonItem_RemoveObdList.Click += new EventHandler(ButtonItem_RemoveObdList_Click); _ButtonItem_CM_Obd = new DevComponents.DotNetBar.ButtonItem(); _ButtonItem_RemoveObd = new DevComponents.DotNetBar.ButtonItem(); _ButtonItem_RemoveObd.Click += new EventHandler(ButtonItem_RemoveObd_Click); _ButtonItem_CM_Cmds = new DevComponents.DotNetBar.ButtonItem(); _ButtonItem_CM_Cmd = new DevComponents.DotNetBar.ButtonItem(); _ButtonItem_RemoveCmd = new DevComponents.DotNetBar.ButtonItem(); _ButtonItem_RemoveCmd.Click += new EventHandler(ButtonItem_RemoveCmd_Click); _ButtonItem_CM_Objs = new DevComponents.DotNetBar.ButtonItem(); _ButtonItem_CM_Obj = new DevComponents.DotNetBar.ButtonItem(); _ButtonItem_RemoveObj = new DevComponents.DotNetBar.ButtonItem(); _ButtonItem_RemoveObj.Click += new EventHandler(ButtonItem_RemoveObj_Click); _ButtonItem_AddObj = new DevComponents.DotNetBar.ButtonItem(); _ButtonItem_AddObj.Click += new EventHandler(ButtonItem_AddObj_Click); _ButtonItem_AddCmd = new DevComponents.DotNetBar.ButtonItem(); _ButtonItem_AddCmd.Click += new EventHandler(ButtonItem_AddCmd_Click); _ButtonItem_AddObd = new DevComponents.DotNetBar.ButtonItem(); _ButtonItem_AddObd.Click += new EventHandler(ButtonItem_AddObd_Click); ((System.ComponentModel.ISupportInitialize)_ObdTree).BeginInit(); ((System.ComponentModel.ISupportInitialize)_ContextMenuBar1).BeginInit(); SuspendLayout(); // // ObdTree // _ObdTree.AccessibleRole = AccessibleRole.Outline; _ObdTree.BackColor = SystemColors.Window; // // // _ObdTree.BackgroundStyle.Class = "TreeBorderKey"; _ObdTree.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; _ObdTree.CellEdit = true; _ObdTree.Dock = DockStyle.Fill; _ObdTree.DragDropEnabled = false; _ObdTree.DragDropNodeCopyEnabled = false; _ObdTree.LicenseKey = "F962CEC7-CD8F-4911-A9E9-CAB39962FC1F"; _ObdTree.Location = new Point(0, 0); _ObdTree.Name = "ObdTree"; _ObdTree.Nodes.AddRange(new DevComponents.AdvTree.Node[] { _Node1 }); _ObdTree.NodesConnector = _NodeConnector1; _ObdTree.NodeStyle = _ElementStyle1; _ObdTree.PathSeparator = ";"; _ObdTree.Size = new Size(484, 661); _ObdTree.Styles.Add(_ElementStyle1); _ObdTree.TabIndex = 0; _ObdTree.Text = "AdvTree1"; _ObdTree.TileSize = new Size(200, 30); // // Node1 // _Node1.Expanded = true; _Node1.Name = "Node1"; _Node1.Text = "Node1"; // // NodeConnector1 // _NodeConnector1.LineColor = SystemColors.ControlText; // // ElementStyle1 // _ElementStyle1.CornerType = DevComponents.DotNetBar.eCornerType.Square; _ElementStyle1.Name = "ElementStyle1"; _ElementStyle1.TextColor = SystemColors.ControlText; // // ContextMenuBar1 // _ContextMenuBar1.AntiAlias = true; _ContextMenuBar1.Font = new Font("Segoe UI", 9.0F); _ContextMenuBar1.IsMaximized = false; _ContextMenuBar1.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] { _ButtonItem_CM_ObdList, _ButtonItem_CM_Obd, _ButtonItem_CM_Cmds, _ButtonItem_CM_Cmd, _ButtonItem_CM_Objs, _ButtonItem_CM_Obj }); _ContextMenuBar1.Location = new Point(140, 0); _ContextMenuBar1.Name = "ContextMenuBar1"; _ContextMenuBar1.Size = new Size(341, 25); _ContextMenuBar1.Stretch = true; _ContextMenuBar1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; _ContextMenuBar1.TabIndex = 1; _ContextMenuBar1.TabStop = false; _ContextMenuBar1.Text = "ContextMenuBar1"; // // ButtonItem_CM_ObdList // _ButtonItem_CM_ObdList.AutoExpandOnClick = true; _ButtonItem_CM_ObdList.Name = "ButtonItem_CM_ObdList"; _ButtonItem_CM_ObdList.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] { _ButtonItem_AddObd, _ButtonItem_RemoveObdList }); _ButtonItem_CM_ObdList.Text = "ObdList"; // // ButtonItem_RemoveObdList // _ButtonItem_RemoveObdList.BeginGroup = true; _ButtonItem_RemoveObdList.Image = My.Resources.MyIcons.icons8_delete_sign_16px; _ButtonItem_RemoveObdList.Name = "ButtonItem_RemoveObdList"; _ButtonItem_RemoveObdList.Text = "Remove"; // // ButtonItem_CM_Obd // _ButtonItem_CM_Obd.AutoExpandOnClick = true; _ButtonItem_CM_Obd.Name = "ButtonItem_CM_Obd"; _ButtonItem_CM_Obd.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] { _ButtonItem_RemoveObd }); _ButtonItem_CM_Obd.Text = "Obd"; // // ButtonItem_RemoveObd // _ButtonItem_RemoveObd.BeginGroup = true; _ButtonItem_RemoveObd.Image = My.Resources.MyIcons.icons8_delete_sign_16px; _ButtonItem_RemoveObd.Name = "ButtonItem_RemoveObd"; _ButtonItem_RemoveObd.Text = "Remove"; // // ButtonItem_CM_Cmds // _ButtonItem_CM_Cmds.AutoExpandOnClick = true; _ButtonItem_CM_Cmds.Name = "ButtonItem_CM_Cmds"; _ButtonItem_CM_Cmds.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] { _ButtonItem_AddCmd }); _ButtonItem_CM_Cmds.Text = "Cmds"; // // ButtonItem_CM_Cmd // _ButtonItem_CM_Cmd.AutoExpandOnClick = true; _ButtonItem_CM_Cmd.Name = "ButtonItem_CM_Cmd"; _ButtonItem_CM_Cmd.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] { _ButtonItem_RemoveCmd }); _ButtonItem_CM_Cmd.Text = "Cmd"; // // ButtonItem_RemoveCmd // _ButtonItem_RemoveCmd.Image = My.Resources.MyIcons.icons8_delete_sign_16px; _ButtonItem_RemoveCmd.Name = "ButtonItem_RemoveCmd"; _ButtonItem_RemoveCmd.Text = "Remove"; // // ButtonItem_CM_Objs // _ButtonItem_CM_Objs.AutoExpandOnClick = true; _ButtonItem_CM_Objs.Name = "ButtonItem_CM_Objs"; _ButtonItem_CM_Objs.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] { _ButtonItem_AddObj }); _ButtonItem_CM_Objs.Text = "Objs"; // // ButtonItem_CM_Obj // _ButtonItem_CM_Obj.AutoExpandOnClick = true; _ButtonItem_CM_Obj.Name = "ButtonItem_CM_Obj"; _ButtonItem_CM_Obj.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] { _ButtonItem_RemoveObj }); _ButtonItem_CM_Obj.Text = "Obj"; // // ButtonItem_RemoveObj // _ButtonItem_RemoveObj.Image = My.Resources.MyIcons.icons8_delete_sign_16px; _ButtonItem_RemoveObj.Name = "ButtonItem_RemoveObj"; _ButtonItem_RemoveObj.Text = "Remove"; // // ButtonItem_AddObj // _ButtonItem_AddObj.Image = My.Resources.MyIcons.icons8_plus_math_16px; _ButtonItem_AddObj.Name = "ButtonItem_AddObj"; _ButtonItem_AddObj.Text = "Add Object Name"; // // ButtonItem_AddCmd // _ButtonItem_AddCmd.Image = My.Resources.MyIcons.icons8_plus_math_16px; _ButtonItem_AddCmd.Name = "ButtonItem_AddCmd"; _ButtonItem_AddCmd.Text = "Add Command"; // // ButtonItem_AddObd // _ButtonItem_AddObd.Image = My.Resources.MyIcons.icons8_plus_math_16px; _ButtonItem_AddObd.Name = "ButtonItem_AddObd"; _ButtonItem_AddObd.Text = "Add Object Bank Data"; // // ObjectBankDataEditor // AutoScaleDimensions = new SizeF(6.0F, 13.0F); AutoScaleMode = AutoScaleMode.Font; ClientSize = new Size(484, 661); Controls.Add(_ContextMenuBar1); Controls.Add(_ObdTree); Icon = (Icon)resources.GetObject("$this.Icon"); Name = "ObjectBankDataEditor"; StartPosition = FormStartPosition.CenterScreen; Text = "Object Bank Data Editor"; TopLeftCornerSize = 0; TopRightCornerSize = 0; ((System.ComponentModel.ISupportInitialize)_ObdTree).EndInit(); ((System.ComponentModel.ISupportInitialize)_ContextMenuBar1).EndInit(); ResumeLayout(false); }
private void InitializeComponent() { _PanelEx_PaintingControl1 = new DevComponents.DotNetBar.PanelEx(); _ContextMenuBar1 = new DevComponents.DotNetBar.ContextMenuBar(); _CM_Cmd = new DevComponents.DotNetBar.ButtonItem(); _ButtonItem3 = new DevComponents.DotNetBar.ButtonItem(); _ButtonItem3.Click += new EventHandler(ButtonItem3_Click); _ButtonItem4 = new DevComponents.DotNetBar.ButtonItem(); _ButtonItem4.Click += new EventHandler(ButtonItem4_Click); _ButtonItem1 = new DevComponents.DotNetBar.ButtonItem(); _ButtonItem1.Click += new EventHandler(ButtonItem1_Click); _ButtonItem2 = new DevComponents.DotNetBar.ButtonItem(); _ButtonItem2.Click += new EventHandler(ButtonItem2_Click); ((System.ComponentModel.ISupportInitialize)_ContextMenuBar1).BeginInit(); SuspendLayout(); // // PanelEx_PaintingControl1 // _PanelEx_PaintingControl1.AutoScroll = true; _PanelEx_PaintingControl1.CanvasColor = SystemColors.Control; _PanelEx_PaintingControl1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; _PanelEx_PaintingControl1.DisabledBackColor = Color.Empty; _PanelEx_PaintingControl1.Dock = DockStyle.Fill; _PanelEx_PaintingControl1.Location = new Point(0, 0); _PanelEx_PaintingControl1.Name = "PanelEx_PaintingControl1"; _PanelEx_PaintingControl1.Size = new Size(998, 679); _PanelEx_PaintingControl1.Style.Alignment = StringAlignment.Center; _PanelEx_PaintingControl1.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; _PanelEx_PaintingControl1.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; _PanelEx_PaintingControl1.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; _PanelEx_PaintingControl1.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; _PanelEx_PaintingControl1.Style.GradientAngle = 90; _PanelEx_PaintingControl1.TabIndex = 0; // // ContextMenuBar1 // _ContextMenuBar1.AntiAlias = true; _ContextMenuBar1.Font = new Font("Segoe UI", 9.0F); _ContextMenuBar1.IsMaximized = false; _ContextMenuBar1.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] { _CM_Cmd }); _ContextMenuBar1.Location = new Point(772, 0); _ContextMenuBar1.Name = "ContextMenuBar1"; _ContextMenuBar1.Size = new Size(75, 25); _ContextMenuBar1.Stretch = true; _ContextMenuBar1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; _ContextMenuBar1.TabIndex = 4; _ContextMenuBar1.TabStop = false; _ContextMenuBar1.Text = "ContextMenuBar1"; // // CM_Cmd // _CM_Cmd.AutoExpandOnClick = true; _CM_Cmd.Name = "CM_Cmd"; _CM_Cmd.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] { _ButtonItem3, _ButtonItem4, _ButtonItem1, _ButtonItem2 }); _CM_Cmd.Text = "CM_Cmd"; // // ButtonItem3 // _ButtonItem3.Name = "ButtonItem3"; _ButtonItem3.Shortcuts.Add(DevComponents.DotNetBar.eShortcut.CtrlE); _ButtonItem3.Text = "Edit Command ..."; // // ButtonItem4 // _ButtonItem4.BeginGroup = true; _ButtonItem4.Name = "ButtonItem4"; _ButtonItem4.Shortcuts.Add(DevComponents.DotNetBar.eShortcut.CtrlC); _ButtonItem4.Text = "Copy Command"; // // ButtonItem1 // _ButtonItem1.Name = "ButtonItem1"; _ButtonItem1.Text = "Copy ROM Address"; // // ButtonItem2 // _ButtonItem2.Name = "ButtonItem2"; _ButtonItem2.Text = "Copy Bank Address"; // // ScriptDumper // AutoScaleDimensions = new SizeF(96.0F, 96.0F); AutoScaleMode = AutoScaleMode.Dpi; ClientSize = new Size(998, 679); Controls.Add(_ContextMenuBar1); Controls.Add(_PanelEx_PaintingControl1); Name = "ScriptDumper"; StartPosition = FormStartPosition.CenterScreen; Text = "Script Editor"; TopLeftCornerSize = 0; TopRightCornerSize = 0; ((System.ComponentModel.ISupportInitialize)_ContextMenuBar1).EndInit(); ResumeLayout(false); }
private void InitializeComponent() { var resources = new System.ComponentModel.ComponentResourceManager(typeof(Form_SM64TextConverter)); _TextBoxX_Input = new DevComponents.DotNetBar.Controls.TextBoxX(); _TextBoxX_Input.TextChanged += new EventHandler(TextBoxX1_TextChanged); _TextBoxX_Input.MouseDown += new MouseEventHandler(TextBoxX_Input_MouseClick); _LabelX1 = new DevComponents.DotNetBar.LabelX(); _TextBoxX_Output = new DevComponents.DotNetBar.Controls.TextBoxX(); _TextBoxX_Output.MouseDown += new MouseEventHandler(TextBoxX_Input_MouseClick); _LabelX2 = new DevComponents.DotNetBar.LabelX(); _ComboBoxEx_Mode = new DevComponents.DotNetBar.Controls.ComboBoxEx(); _ComboItem1 = new DevComponents.Editors.ComboItem(); _ComboItem2 = new DevComponents.Editors.ComboItem(); _ContextMenuBar1 = new DevComponents.DotNetBar.ContextMenuBar(); _ButtonItem1 = new DevComponents.DotNetBar.ButtonItem(); _ButtonItem_Copy = new DevComponents.DotNetBar.ButtonItem(); _ButtonItem_Copy.Click += new EventHandler(ButtonItem2_Click); _ButtonItem_cut = new DevComponents.DotNetBar.ButtonItem(); _ButtonItem_cut.Click += new EventHandler(ButtonItem5_Click); _ButtonItem_Paste = new DevComponents.DotNetBar.ButtonItem(); _ButtonItem_Paste.Click += new EventHandler(ButtonItem3_Click); _ButtonItem_SelectAll = new DevComponents.DotNetBar.ButtonItem(); _ButtonItem_SelectAll.Click += new EventHandler(ButtonItem4_Click); _ButtonItem_Remove = new DevComponents.DotNetBar.ButtonItem(); _ButtonItem_Remove.Click += new EventHandler(ButtonItem5_Click_1); _ButtonX_Convert = new DevComponents.DotNetBar.ButtonX(); _ButtonX_Convert.Click += new EventHandler(ButtonX1_Click); _ButtonX_CopyOutput = new DevComponents.DotNetBar.ButtonX(); _ButtonX_CopyOutput.Click += new EventHandler(ButtonX_CopyOutput_Click); _Panel1 = new Panel(); ((System.ComponentModel.ISupportInitialize)_ContextMenuBar1).BeginInit(); _Panel1.SuspendLayout(); SuspendLayout(); // // TextBoxX_Input // resources.ApplyResources(_TextBoxX_Input, "TextBoxX_Input"); _TextBoxX_Input.AutoSelectAll = true; _TextBoxX_Input.BackColor = Color.White; // // // _TextBoxX_Input.Border.Class = "TextBoxBorder"; _TextBoxX_Input.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square; _TextBoxX_Input.DisabledBackColor = Color.White; _TextBoxX_Input.ForeColor = Color.Black; _TextBoxX_Input.Name = "TextBoxX_Input"; _TextBoxX_Input.PreventEnterBeep = true; // // LabelX1 // // // // _LabelX1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; resources.ApplyResources(_LabelX1, "LabelX1"); _LabelX1.Name = "LabelX1"; // // TextBoxX_Output // resources.ApplyResources(_TextBoxX_Output, "TextBoxX_Output"); _TextBoxX_Output.AutoSelectAll = true; _TextBoxX_Output.BackColor = Color.White; // // // _TextBoxX_Output.Border.Class = "TextBoxBorder"; _TextBoxX_Output.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square; _TextBoxX_Output.DisabledBackColor = Color.White; _TextBoxX_Output.ForeColor = Color.Black; _TextBoxX_Output.Name = "TextBoxX_Output"; _TextBoxX_Output.PreventEnterBeep = true; _TextBoxX_Output.ReadOnly = true; // // LabelX2 // resources.ApplyResources(_LabelX2, "LabelX2"); // // // _LabelX2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; _LabelX2.Name = "LabelX2"; // // ComboBoxEx_Mode // _ComboBoxEx_Mode.DisplayMember = "Text"; _ComboBoxEx_Mode.DrawMode = DrawMode.OwnerDrawFixed; _ComboBoxEx_Mode.DropDownStyle = ComboBoxStyle.DropDownList; _ComboBoxEx_Mode.ForeColor = Color.Black; _ComboBoxEx_Mode.FormattingEnabled = true; resources.ApplyResources(_ComboBoxEx_Mode, "ComboBoxEx_Mode"); _ComboBoxEx_Mode.Items.AddRange(new object[] { _ComboItem1, _ComboItem2 }); _ComboBoxEx_Mode.Name = "ComboBoxEx_Mode"; _ComboBoxEx_Mode.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; // // ComboItem1 // resources.ApplyResources(_ComboItem1, "ComboItem1"); // // ComboItem2 // resources.ApplyResources(_ComboItem2, "ComboItem2"); // // ContextMenuBar1 // _ContextMenuBar1.AntiAlias = true; _ContextMenuBar1.DockSide = DevComponents.DotNetBar.eDockSide.Document; resources.ApplyResources(_ContextMenuBar1, "ContextMenuBar1"); _ContextMenuBar1.IsMaximized = false; _ContextMenuBar1.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] { _ButtonItem1 }); _ContextMenuBar1.Name = "ContextMenuBar1"; _ContextMenuBar1.Stretch = true; _ContextMenuBar1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; _ContextMenuBar1.TabStop = false; // // ButtonItem1 // _ButtonItem1.AutoExpandOnClick = true; _ButtonItem1.Name = "ButtonItem1"; _ButtonItem1.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] { _ButtonItem_Copy, _ButtonItem_cut, _ButtonItem_Paste, _ButtonItem_SelectAll, _ButtonItem_Remove }); // // ButtonItem_Copy // _ButtonItem_Copy.Image = My.Resources.MyIcons.icons8_copy_16px; _ButtonItem_Copy.Name = "ButtonItem_Copy"; _ButtonItem_Copy.Shortcuts.Add(DevComponents.DotNetBar.eShortcut.CtrlC); _ButtonItem_Copy.SymbolSet = DevComponents.DotNetBar.eSymbolSet.Material; _ButtonItem_Copy.SymbolSize = 12.0F; resources.ApplyResources(_ButtonItem_Copy, "ButtonItem_Copy"); // // ButtonItem_cut // _ButtonItem_cut.Image = My.Resources.MyIcons.icons8_cut_16px; _ButtonItem_cut.Name = "ButtonItem_cut"; _ButtonItem_cut.Shortcuts.Add(DevComponents.DotNetBar.eShortcut.CtrlX); _ButtonItem_cut.SymbolSet = DevComponents.DotNetBar.eSymbolSet.Material; _ButtonItem_cut.SymbolSize = 12.0F; resources.ApplyResources(_ButtonItem_cut, "ButtonItem_cut"); // // ButtonItem_Paste // _ButtonItem_Paste.Image = My.Resources.MyIcons.icons8_paste_16px; _ButtonItem_Paste.Name = "ButtonItem_Paste"; _ButtonItem_Paste.Shortcuts.Add(DevComponents.DotNetBar.eShortcut.CtrlV); _ButtonItem_Paste.SymbolSet = DevComponents.DotNetBar.eSymbolSet.Material; _ButtonItem_Paste.SymbolSize = 12.0F; resources.ApplyResources(_ButtonItem_Paste, "ButtonItem_Paste"); // // ButtonItem_SelectAll // _ButtonItem_SelectAll.BeginGroup = true; _ButtonItem_SelectAll.Name = "ButtonItem_SelectAll"; _ButtonItem_SelectAll.Shortcuts.Add(DevComponents.DotNetBar.eShortcut.CtrlA); _ButtonItem_SelectAll.SymbolSize = 12.0F; resources.ApplyResources(_ButtonItem_SelectAll, "ButtonItem_SelectAll"); // // ButtonItem_Remove // _ButtonItem_Remove.BeginGroup = true; _ButtonItem_Remove.Image = My.Resources.MyIcons.icons8_delete_sign_16px; _ButtonItem_Remove.Name = "ButtonItem_Remove"; _ButtonItem_Remove.Shortcuts.Add(DevComponents.DotNetBar.eShortcut.Del); _ButtonItem_Remove.SymbolColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(150)), Conversions.ToInteger(Conversions.ToByte(0)), Conversions.ToInteger(Conversions.ToByte(0))); _ButtonItem_Remove.SymbolSet = DevComponents.DotNetBar.eSymbolSet.Material; _ButtonItem_Remove.SymbolSize = 12.0F; resources.ApplyResources(_ButtonItem_Remove, "ButtonItem_Remove"); // // ButtonX_Convert // _ButtonX_Convert.AccessibleRole = AccessibleRole.PushButton; _ButtonX_Convert.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; _ButtonX_Convert.FocusCuesEnabled = false; _ButtonX_Convert.Image = My.Resources.MyIcons.icons8_arrow_40px; resources.ApplyResources(_ButtonX_Convert, "ButtonX_Convert"); _ButtonX_Convert.Name = "ButtonX_Convert"; _ButtonX_Convert.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; _ButtonX_Convert.SymbolColor = Color.Gray; _ButtonX_Convert.SymbolSize = 30.0F; // // ButtonX_CopyOutput // _ButtonX_CopyOutput.AccessibleRole = AccessibleRole.PushButton; resources.ApplyResources(_ButtonX_CopyOutput, "ButtonX_CopyOutput"); _ButtonX_CopyOutput.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; _ButtonX_CopyOutput.FocusCuesEnabled = false; _ButtonX_CopyOutput.Image = My.Resources.MyIcons.icons8_copy_16px; _ButtonX_CopyOutput.Name = "ButtonX_CopyOutput"; _ButtonX_CopyOutput.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; _ButtonX_CopyOutput.SymbolColor = Color.Gray; _ButtonX_CopyOutput.SymbolSize = 12.0F; // // Panel1 // _Panel1.BackColor = Color.Transparent; _Panel1.Controls.Add(_ContextMenuBar1); _Panel1.Controls.Add(_LabelX1); _Panel1.Controls.Add(_ComboBoxEx_Mode); _Panel1.Controls.Add(_TextBoxX_Input); _Panel1.Controls.Add(_ButtonX_Convert); _Panel1.Controls.Add(_TextBoxX_Output); _Panel1.Controls.Add(_LabelX2); _Panel1.Controls.Add(_ButtonX_CopyOutput); resources.ApplyResources(_Panel1, "Panel1"); _Panel1.Name = "Panel1"; // // Form_SM64TextConverter // resources.ApplyResources(this, "$this"); AutoScaleMode = AutoScaleMode.Font; Controls.Add(_Panel1); FormBorderStyle = FormBorderStyle.FixedSingle; MaximizeBox = false; Name = "Form_SM64TextConverter"; TopLeftCornerSize = 0; TopRightCornerSize = 0; ((System.ComponentModel.ISupportInitialize)_ContextMenuBar1).EndInit(); _Panel1.ResumeLayout(false); ResumeLayout(false); }