资源预览内容
第1页 / 共70页
第2页 / 共70页
第3页 / 共70页
第4页 / 共70页
第5页 / 共70页
第6页 / 共70页
第7页 / 共70页
第8页 / 共70页
第9页 / 共70页
第10页 / 共70页
亲,该文档总共70页,到这儿已超出免费预览范围,如果喜欢就下载吧!
资源描述
手术室远程维护及控制系统 源代码 70/*/*系统主界面 类/*/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.Imaging;using System.Windows.Navigation;using System.Windows.Shapes;using System.IO;public partial class Thesystemmaininterface / Base class for a typical collection of appointments. / The type of the custom appointment class. Should implement / . public abstract class BaseAppointmentCollection : ObservableCollection, IAppointmentFactory where T : IAppointment / Initializes a new instance of the class. protected BaseAppointmentCollection() / Initializes a new instance of the class. / The appointments.#if !SILVERLIGHT protected BaseAppointmentCollection(IEnumerable appointments) : base(appointments.ToList() #else protected BaseAppointmentCollection(IEnumerable appointments) this.AddRange(appointments); #endif / Creates a new appointment. Implement this method in your custom appointment / collection to create appointments of your custom appointment type. / A new appointment. public abstract IAppointment CreateNewAppointment(); /*/*智能控制 类/*/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.Imaging;using System.Windows.Navigation;using System.Windows.Shapes;using System.IO;public partial class Intelligentcontrol / InvertBooleanConverter is a converter that returns the negated equivalent of its boolean argument. public class InvertBooleanConverter : IValueConverter / Returns the inverted boolean value. public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture) return !(bool)value; / Returns the inverted boolean value. public object ConvertBack(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture) return !(bool)value; /*/*控制箱面板 类/*/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.Imaging;using System.Windows.Navigation;using System.Windows.Shapes;using System.IO;public partial class Thecontrolboxpanel / GridViewToggleRowDetailsColumn provides an easy and fast way to toggle row details visibility. public class GridViewToggleRowDetailsColumn : GridViewColumn, IWeakEventListener private WeakEvent.WeakEventToken visbilityChangedToken;private WeakReference lastExpandedDataItemWeakRef;/ Identifies the dependency property.public static readonly DependencyProperty ToggleButtonStyleProperty = DependencyProperty.Register(ToggleButtonStyle,typeof(Style),typeof(GridViewToggleRowDetailsColumn),new PropertyMetadata(null, OnNotifyCellPropertyChanged);/ Gets or sets the style to be applied for the ToggleButton in that column./ The ToggleButton style.public Style ToggleButtonStylegetreturn (Style)this.GetValue(ToggleButtonStyleProperty);setthis.SetValue(ToggleButtonStyleProperty, value);/ Identifies the dependency property.public static readonly DependencyProperty ExpandModeProperty =Depen
收藏 下载该资源
网站客服QQ:2055934822
金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号