ImageVerifierCode 换一换
格式:DOC , 页数:60 ,大小:227.50KB ,
资源ID:2288536      下载积分:150 文钱
快捷下载
登录下载
邮箱/手机:
温馨提示:
快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。 如填写123,账号就是123,密码也是123。
特别说明:
请自助下载,系统不会自动发送文件的哦; 如果您已付费,想二次下载,请登录后访问:我的下载记录
支付方式: 支付宝    微信支付   
验证码:   换一换

加入VIP,省得不是一点点
 

温馨提示:由于个人手机设置不同,如果发现不能下载,请复制以下地址【https://www.wenke99.com/d-2288536.html】到电脑端继续下载(重复下载不扣费)。

已注册用户请登录:
账号:
密码:
验证码:   换一换
  忘记密码?
三方登录: QQ登录   微博登录 

下载须知

1: 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。
2: 试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。
3: 文件的所有权益归上传用户所有。
4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
5. 本站仅提供交流平台,并不能对任何下载内容负责。
6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

版权提示 | 免责声明

本文(1.城市级物业运维管理系统-源代码.doc)为本站会员(11****ws)主动上传,文客久久仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知文客久久(发送邮件至hr@wenke99.com或直接QQ联系客服),我们立即给予删除!

1.城市级物业运维管理系统-源代码.doc

1、城市级物业运维管理系统 源代码 1/*/*系统登录 类/*/using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Windows;using System.Windows.Controls;using System.Windows.Data;using System.Windows.Documents;using System.Windows.Input;using System.Windows.Media;using System.Windows.Media

2、.Imaging;using System.Windows.Navigation;using System.Windows.Shapes;using System.IO;public partial class System login/ Interface which must be implemented by all/ classes which produce ranges distribution.public interface IRangeDistribution/ Creates list of the ranges./ Minimal value./ Maximal valu

3、e./ Number of the ranges./ List of the ranges for given distribution.IEnumerable Create(double minValue, double maxValue, int tickMarkCount);/*/*小区录入 类/*/using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Windows;using System.Windows.Controls;using System.

4、Windows.Data;using System.Windows.Documents;using System.Windows.Input;using System.Windows.Media;using System.Windows.Media.Imaging;using System.Windows.Navigation;using System.Windows.Shapes;using System.IO;public partial class Cell entry/public class RangeBaseAutomationPeer : FrameworkElementAuto

5、mationPeer, IRangeValueProvider城市级物业运维管理系统 源代码 2/ Initializes a new instance of the RangeBaseAutomationPeer class./ public RangeBaseAutomationPeer(RangeBase owner): base(owner)/ public bool IsReadOnlygetreturn !this.IsEnabled();/ public double LargeChangegetreturn this.OwnerAsRangeBase().LargeChange

6、;/ public double Maximumgetreturn this.OwnerAsRangeBase().Maximum;/ public double Minimumgetreturn this.OwnerAsRangeBase().Minimum;/ public double SmallChangegetreturn this.OwnerAsRangeBase().SmallChange;城市级物业运维管理系统 源代码 3/ public double Valuegetreturn this.GetValue();/ / void IRangeValueProvider.Set

7、Value(double value)this.SetOwnerValue(value);/ / / MethodImpl(MethodImplOptions.NoInlining)internal void RaiseMaximumPropertyChangedEvent(double oldValue, double newValue)this.RaisePropertyChangedEvent(RangeValuePatternIdentifiers.MaximumProperty, oldValue, newValue);/ / / MethodImpl(MethodImplOptio

8、ns.NoInlining)internal void RaiseMinimumPropertyChangedEvent(double oldValue, double newValue)this.RaisePropertyChangedEvent(RangeValuePatternIdentifiers.MinimumProperty, oldValue, newValue);/ / / MethodImpl(MethodImplOptions.NoInlining)internal void RaiseValuePropertyChangedEvent(double oldValue, d

9、ouble newValue)this.RaisePropertyChangedEvent(RangeValuePatternIdentifiers.ValueProperty, oldValue, newValue);/ / 城市级物业运维管理系统 源代码 4/ MethodImpl(MethodImplOptions.NoInlining)internal void RaiseSmallChangePropertyChangedEvent(double oldValue, double newValue)this.RaisePropertyChangedEvent(RangeValuePa

10、tternIdentifiers.SmallChangeProperty, oldValue, newValue);/ / / MethodImpl(MethodImplOptions.NoInlining)internal void RaiseLargeChangePropertyChangedEvent(double oldValue, double newValue)this.RaisePropertyChangedEvent(RangeValuePatternIdentifiers.LargeChangeProperty, oldValue, newValue);/ / / Metho

11、dImpl(MethodImplOptions.NoInlining)internal void RaiseIsReadOnlyPropertyChangedEvent(bool oldValue, bool newValue)this.RaisePropertyChangedEvent(RangeValuePatternIdentifiers.IsReadOnlyProperty, oldValue, newValue);internal virtual void SetOwnerValue(double value)this.GuarantyEnabled();RangeBase owne

12、r = this.OwnerAsRangeBase();if (value owner.Maximum)throw new ArgumentOutOfRangeException(“value“);owner.Value = value;internal virtual double GetValue()double result = this.OwnerAsRangeBase().Value;return result;/ internal void GuarantyEnabled()if (!IsEnabled()throw new ElementNotEnabledException()

13、;/ implement this method in descendat/城市级物业运维管理系统 源代码 5/ / /protected override AutomationControlType GetAutomationControlTypeCore()/ return AutomationControlType.Slider;/ / private RangeBase OwnerAsRangeBase()RangeBase owner = this.Owner as RangeBase;if (null = owner)throw new InvalidOperationExcept

14、ion(“The Owner have to be a RangeBase or a Descendant“);return owner;/*/*楼宇录入 类/*/using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Windows;using System.Windows.Controls;using System.Windows.Data;using System.Windows.Documents;using System.Windows.Input;u

15、sing System.Windows.Media;using System.Windows.Media.Imaging;using System.Windows.Navigation;using System.Windows.Shapes;using System.IO;public partial class Building entry/ Represents the common system parameters.SuppressMessage(“Microsoft.Design“, “CA1001:TypesThatOwnDisposableFieldsShouldBeDispos

16、able“)public class SystemParameters2 : INotifyPropertyChangedprivate readonly Dictionary UpdateTable;ThreadStaticprivate static SystemParameters2 threadLocalSingleton;private Rect captionButtonLocation;private double captionHeight;private Color glassColor;private SolidColorBrush glassColorBrush;priv

17、ate bool isGlassEnabled;private bool isHighContrast;private MessageWindow messageHwnd;private Size smallIconSize;城市级物业运维管理系统 源代码 6private string uoxThemeColor;private string uoxThemeName;private CornerRadius windowCornerRadius;private Thickness windowNonClientFrameThickness;private Thickness windowR

18、esizeBorderThickness;/ Prevents a default instance of the SystemParameters2 class from being created.private SystemParameters2()/This window gets used for calculations about standard caption button locations/so it has WS_OVERLAPPEDWINDOW as a style to give it normal caption buttons./This window may

19、be shown during calculations of caption bar information, so create it at a location thats likely offscreen.this.messageHwnd = new MessageWindow(CS)0, WS.OVERLAPPEDWINDOW | WS.DISABLED, (WS_EX)0, new Rect(-16000, -16000, 100, 100), string.Empty, this._WndProc);this.messageHwnd.Dispatcher.ShutdownStar

20、ted += (sender, e) = Utility.SafeDispose(ref this.messageHwnd);/Fixup the default values of the DPs.this._InitializeIsGlassEnabled();this._InitializeGlassColor();this._InitializeCaptionHeight();this._InitializeWindowNonClientFrameThickness();this._InitializeWindowResizeBorderThickness();this._Initia

21、lizeCaptionButtonLocation();this._InitializeSmallIconSize();this._InitializeHighContrast();this._InitializeThemeInfo();/WindowCornerRadius isnt exposed by true system parameters, so it requires the theme to be initialized first.this._InitializeWindowCornerRadius();this.UpdateTable = new Dictionary W

22、M.THEMECHANGED,new Listthis._UpdateThemeInfo, this._UpdateHighContrast, this._UpdateWindowCornerRadius,this._UpdateCaptionButtonLocation, , WM.SETTINGCHANGE,new Listthis._UpdateCaptionHeight,this._UpdateWindowResizeBorderThickness,this._UpdateSmallIconSize,this._UpdateHighContrast,this._UpdateWindow

23、NonClientFrameThickness,this._UpdateCaptionButtonLocation, ,WM.DWMNCRENDERINGCHANGED, new List this._UpdateIsGlassEnabled ,WM.DWMCOMPOSITIONCHANGED, new List城市级物业运维管理系统 源代码 7this._UpdateIsGlassEnabled ,WM.DWMCOLORIZATIONCOLORCHANGED, new Listthis._UpdateGlassColor ,;private delegate void _SystemMetr

24、icUpdate(IntPtr param, IntPtr legParam);/ Identifies the PropertyChanged event handler.public event PropertyChangedEventHandler PropertyChanged;/ Identifies the current instance.public static SystemParameters2 Currentgetif (threadLocalSingleton = null)threadLocalSingleton = new SystemParameters2();r

25、eturn threadLocalSingleton;/ Identifies the HighContrast property.public bool HighContrastgetreturn this.isHighContrast;private setif (value != this.isHighContrast)this.isHighContrast = value;this._NotifyPropertyChanged(“HighContrast“);/ Identifies the IsGlassEnabled property.public bool IsGlassEnab

26、ledget/return this.isGlassEnabled;/It turns out there may be some lag between someone asking this/and the window getting updated. Its not too expensive, just always do the check.城市级物业运维管理系统 源代码 8return Telerik.Windows.Controls.RibbonBar.Shell.Standard.NativeMethodsHelper.NativeMethods.DwmIsCompositi

27、onEnabled();private setif (value != this.isGlassEnabled)this.isGlassEnabled = value;this._NotifyPropertyChanged(“IsGlassEnabled“);/ Identifies the SmallIconSize property.public Size SmallIconSizegetreturn new Size(this.smallIconSize.Width, this.smallIconSize.Height);private setif (value != this.smal

28、lIconSize)this.smallIconSize = value;this._NotifyPropertyChanged(“SmallIconSize“);/ Identifies the UxThemeColor property.SuppressMessage(“Microsoft.Naming“, “CA1709:IdentifiersShouldBeCasedCorrectly“, MessageId = “Ux“)SuppressMessage(“Microsoft.Naming“, “CA1704:IdentifiersShouldBeSpelledCorrectly“,

29、MessageId = “Ux“)public string UxThemeColorgetreturn this.uoxThemeColor;private setif (value != this.uoxThemeColor)this.uoxThemeColor = value;this._NotifyPropertyChanged(“UxThemeColor“);/ Identifies the UxThemeName property.SuppressMessage(“Microsoft.Naming“, “CA1709:IdentifiersShouldBeCasedCorrectl

30、y“, MessageId = “Ux“)城市级物业运维管理系统 源代码 9SuppressMessage(“Microsoft.Naming“, “CA1704:IdentifiersShouldBeSpelledCorrectly“, MessageId = “Ux“)public string UxThemeNamegetreturn this.uoxThemeName;private setif (value != this.uoxThemeName)this.uoxThemeName = value;this._NotifyPropertyChanged(“UxThemeName“)

31、;/ Identifies the WindowCaptionButtonsLocation property.public Rect WindowCaptionButtonsLocationgetreturn this.captionButtonLocation;private setif (value != this.captionButtonLocation)this.captionButtonLocation = value;this._NotifyPropertyChanged(“WindowCaptionButtonsLocation“);/ Identifies the Wind

32、owCaptionHeight property.public double WindowCaptionHeightgetreturn this.captionHeight;private setif (value != this.captionHeight)this.captionHeight = value;this._NotifyPropertyChanged(“WindowCaptionHeight“);/ Identifies the WindowCornerRadius property.public CornerRadius WindowCornerRadiusget城市级物业运

33、维管理系统 源代码 10return this.windowCornerRadius;private setif (value != this.windowCornerRadius)this.windowCornerRadius = value;this._NotifyPropertyChanged(“WindowCornerRadius“);/ Identifies the WindowGlassBrush property.public SolidColorBrush WindowGlassBrushgetreturn this.glassColorBrush;private setAss

34、ert.IsNotNull(value);Assert.IsTrue(value.IsFrozen);if (this.glassColorBrush = null | value.Color != this.glassColorBrush.Color)this.glassColorBrush = value;this._NotifyPropertyChanged(“WindowGlassBrush“);/ Identifies the WindowGlassColor property.public Color WindowGlassColorgetreturn this.glassColor;private setif (value != this.glassColor)this.glassColor = value;this._NotifyPropertyChanged(“WindowGlassColor“);/ Identifies the WindowNonClientFrameThickness property.public Thickness WindowNonClientFrameThicknessgetreturn this.windowNonClientFrameThickness;

Copyright © 2018-2021 Wenke99.com All rights reserved

工信部备案号浙ICP备20026746号-2  

公安局备案号:浙公网安备33038302330469号

本站为C2C交文档易平台,即用户上传的文档直接卖给下载用户,本站只是网络服务中间平台,所有原创文档下载所得归上传人所有,若您发现上传作品侵犯了您的权利,请立刻联系网站客服并提供证据,平台将在3个工作日内予以改正。