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

📄 itemshelper.cs

📁 SharpDevelop2.0.0 c#开发免费工具
💻 CS
字号:
//------------------------------------------------------------------------------
// <autogenerated>
//     This code was generated by a tool.
//     Runtime Version: 1.1.4322.2032
//
//     Changes to this file may cause incorrect behavior and will be lost if 
//     the code is regenerated.
// </autogenerated>
//------------------------------------------------------------------------------

namespace SharpReport {
	using System;
	
	using SharpReportCore;
	using SharpReport.Designer;
	/// <summary>
	/// Helper Class for Report Items
	/// </summary>
	/// <remarks>
	/// 	created by - Forstmeier Peter
	/// 	created on - 31.08.2005 13:49:47
	/// </remarks>
	internal class ItemsHelper : object {
		
		
		internal static void UpdateBaseFromTextControl (ReportObjectControlBase control,
		                                              BaseReportItem item) {
			
			item.Size = control.Size;
			item.Location = control.Location;
			item.Name = control.Name;
			item.BackColor = control.BackColor;
			item.ForeColor = control.ForeColor;
			item.Font = control.Font;
			
		}
		
		internal static void UpdateBaseFromGraphicControl (AbstractGraphicControl control,
		                                                 BaseGraphicItem item) {
			
			ItemsHelper.UpdateBaseFromTextControl (control,item);
			item.Thickness = control.Thickness;
			item.DashStyle = control.DashStyle;
		}
		
		
		internal static void UpdateControlFromTextBase (ReportObjectControlBase control,	
		                                              BaseReportItem item) {
			
			control.BackColor = item.BackColor;
			control.ForeColor = item.ForeColor;
			control.Location = item.Location;
			control.Size = item.Size;
			control.Font = item.Font;
			control.Name = item.Name;
		}
		
		
		internal static void UpdateControlFromGraphicBase (AbstractGraphicControl control,
		                                                 BaseGraphicItem item) {
			ItemsHelper.UpdateControlFromTextBase(control,item);
			control.Location = item.Location;
			control.DashStyle = item.DashStyle;
			control.Thickness = item.Thickness;
		}
	}
}

⌨️ 快捷键说明

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