⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 organizations.cs

📁 美国移民局软件,请大家不要用于商业用途!站长为什么还不开通我的帐号呀
💻 CS
📖 第 1 页 / 共 2 页
字号:
			controlContainerTool4.Control = this.ultraComboFilters;
			controlContainerTool4.SharedProps.Caption = "Filter List";
			buttonTool14.SharedProps.Caption = "Filter:";
			buttonTool14.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.TextOnlyAlways;
			buttonTool15.SharedProps.Caption = "|<";
			buttonTool15.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.TextOnlyAlways;
			buttonTool16.SharedProps.Caption = ">|";
			buttonTool16.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.TextOnlyAlways;
			labelTool2.SharedProps.Caption = "of 500";
			labelTool2.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.TextOnlyAlways;
			labelTool2.SharedProps.Width = 36;
			appearance2.Image = ((object)(resources.GetObject("appearance2.Image")));
			buttonTool17.SharedProps.AppearancesSmall.Appearance = appearance2;
			buttonTool17.SharedProps.Caption = "Field Picker";
			appearance3.Image = ((object)(resources.GetObject("appearance3.Image")));
			buttonTool18.SharedProps.AppearancesSmall.Appearance = appearance3;
			buttonTool18.SharedProps.Caption = "Find";
			this.ultraToolbarsManager1.Tools.AddRange(new Infragistics.Win.UltraWinToolbars.ToolBase[] {
																										   controlContainerTool3,
																										   stateButtonTool2,
																										   buttonTool10,
																										   buttonTool11,
																										   textBoxTool2,
																										   buttonTool12,
																										   buttonTool13,
																										   controlContainerTool4,
																										   buttonTool14,
																										   buttonTool15,
																										   buttonTool16,
																										   labelTool2,
																										   buttonTool17,
																										   buttonTool18});
			this.ultraToolbarsManager1.ToolClick += new Infragistics.Win.UltraWinToolbars.ToolClickEventHandler(this.ultraToolbarsManager1_ToolClick);
			// 
			// _HomePage_Toolbars_Dock_Area_Left
			// 
			this._HomePage_Toolbars_Dock_Area_Left.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
			this._HomePage_Toolbars_Dock_Area_Left.BackColor = System.Drawing.SystemColors.Control;
			this._HomePage_Toolbars_Dock_Area_Left.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Left;
			this._HomePage_Toolbars_Dock_Area_Left.ForeColor = System.Drawing.SystemColors.ControlText;
			this._HomePage_Toolbars_Dock_Area_Left.Location = new System.Drawing.Point(0, 24);
			this._HomePage_Toolbars_Dock_Area_Left.Name = "_HomePage_Toolbars_Dock_Area_Left";
			this._HomePage_Toolbars_Dock_Area_Left.Size = new System.Drawing.Size(0, 365);
			this._HomePage_Toolbars_Dock_Area_Left.ToolbarsManager = this.ultraToolbarsManager1;
			// 
			// _HomePage_Toolbars_Dock_Area_Right
			// 
			this._HomePage_Toolbars_Dock_Area_Right.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
			this._HomePage_Toolbars_Dock_Area_Right.BackColor = System.Drawing.SystemColors.Control;
			this._HomePage_Toolbars_Dock_Area_Right.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Right;
			this._HomePage_Toolbars_Dock_Area_Right.ForeColor = System.Drawing.SystemColors.ControlText;
			this._HomePage_Toolbars_Dock_Area_Right.Location = new System.Drawing.Point(664, 24);
			this._HomePage_Toolbars_Dock_Area_Right.Name = "_HomePage_Toolbars_Dock_Area_Right";
			this._HomePage_Toolbars_Dock_Area_Right.Size = new System.Drawing.Size(0, 365);
			this._HomePage_Toolbars_Dock_Area_Right.ToolbarsManager = this.ultraToolbarsManager1;
			// 
			// _HomePage_Toolbars_Dock_Area_Top
			// 
			this._HomePage_Toolbars_Dock_Area_Top.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
			this._HomePage_Toolbars_Dock_Area_Top.BackColor = System.Drawing.SystemColors.Control;
			this._HomePage_Toolbars_Dock_Area_Top.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Top;
			this._HomePage_Toolbars_Dock_Area_Top.ForeColor = System.Drawing.SystemColors.ControlText;
			this._HomePage_Toolbars_Dock_Area_Top.Location = new System.Drawing.Point(0, 0);
			this._HomePage_Toolbars_Dock_Area_Top.Name = "_HomePage_Toolbars_Dock_Area_Top";
			this._HomePage_Toolbars_Dock_Area_Top.Size = new System.Drawing.Size(664, 24);
			this._HomePage_Toolbars_Dock_Area_Top.ToolbarsManager = this.ultraToolbarsManager1;
			// 
			// _HomePage_Toolbars_Dock_Area_Bottom
			// 
			this._HomePage_Toolbars_Dock_Area_Bottom.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
			this._HomePage_Toolbars_Dock_Area_Bottom.BackColor = System.Drawing.SystemColors.Control;
			this._HomePage_Toolbars_Dock_Area_Bottom.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Bottom;
			this._HomePage_Toolbars_Dock_Area_Bottom.ForeColor = System.Drawing.SystemColors.ControlText;
			this._HomePage_Toolbars_Dock_Area_Bottom.Location = new System.Drawing.Point(0, 389);
			this._HomePage_Toolbars_Dock_Area_Bottom.Name = "_HomePage_Toolbars_Dock_Area_Bottom";
			this._HomePage_Toolbars_Dock_Area_Bottom.Size = new System.Drawing.Size(664, 0);
			this._HomePage_Toolbars_Dock_Area_Bottom.ToolbarsManager = this.ultraToolbarsManager1;
			// 
			// UCOrganizationsList1
			// 
			this.UCOrganizationsList1.Location = new System.Drawing.Point(16, 128);
			this.UCOrganizationsList1.Name = "UCOrganizationsList1";
			this.UCOrganizationsList1.Size = new System.Drawing.Size(360, 208);
			this.UCOrganizationsList1.TabIndex = 19;
			// 
			// UCOrganizationsDetail1
			// 
			this.UCOrganizationsDetail1.Location = new System.Drawing.Point(160, 96);
			this.UCOrganizationsDetail1.Name = "UCOrganizationsDetail1";
			this.UCOrganizationsDetail1.Size = new System.Drawing.Size(616, 424);
			this.UCOrganizationsDetail1.TabIndex = 30;
			// 
			// Organizations
			// 
			this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
			this.ClientSize = new System.Drawing.Size(664, 389);
			this.Controls.Add(this.UCOrganizationsDetail1);
			this.Controls.Add(this.ultraComboFilters);
			this.Controls.Add(this.ultraComboQuickName);
			this.Controls.Add(this.UCOrganizationsList1);
			this.Controls.Add(this._HomePage_Toolbars_Dock_Area_Left);
			this.Controls.Add(this._HomePage_Toolbars_Dock_Area_Right);
			this.Controls.Add(this._HomePage_Toolbars_Dock_Area_Top);
			this.Controls.Add(this._HomePage_Toolbars_Dock_Area_Bottom);
			this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
			this.Name = "Organizations";
			this.Text = "Organizations [Microsoft]";
			this.Load += new System.EventHandler(this.Organizations_Load);
			((System.ComponentModel.ISupportInitialize)(this.ultraComboQuickName)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.ultraComboFilters)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.ultraToolbarsManager1)).EndInit();
			this.ResumeLayout(false);

		}
		#endregion

		private void Organizations_Load(object sender, System.EventArgs e)
		{
			ToggleViews(true);
		}
		private void ToggleViews (bool DefaultView)
		{
			if (DefaultView == true)
			{
				this.UCOrganizationsDetail1.Visible = true;
				this.UCOrganizationsDetail1.Dock = DockStyle.Fill;
				this.UCOrganizationsList1.Visible = false;
			}
			else
			{
				this.UCOrganizationsDetail1.Visible = false;
				this.UCOrganizationsList1.Visible = true;
				this.UCOrganizationsList1.Dock = DockStyle.Fill;
			}
		}

		private void ultraToolbarsManager1_ToolClick(object sender, Infragistics.Win.UltraWinToolbars.ToolClickEventArgs e)
		{
			switch (e.Tool.Key)
			{
				case "Find":    // ButtonTool
					// Place code here
					break;

				case "List View":    // StateButtonTool
					if (UCOrganizationsDetail1.Visible == true) {ToggleViews(false);}
					else {ToggleViews(true);}
					break;

				case "<<":    // ButtonTool
					// Place code here
					break;

				case "<":    // ButtonTool
					// Place code here
					break;

				case "Record Number":    // TextBoxTool
					// Place code here
					break;

				case ">":    // ButtonTool
					// Place code here
					break;

				case ">>":    // ButtonTool
					// Place code here
					break;

				case "Filter:":    // ButtonTool
					// Place code here
					break;

			}
		}
	}
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -