小软件源码分享27分析

上传人:公**** 文档编号:508524046 上传时间:2022-10-27 格式:DOC 页数:70 大小:230.51KB
返回 下载 相关 举报
小软件源码分享27分析_第1页
第1页 / 共70页
小软件源码分享27分析_第2页
第2页 / 共70页
小软件源码分享27分析_第3页
第3页 / 共70页
小软件源码分享27分析_第4页
第4页 / 共70页
小软件源码分享27分析_第5页
第5页 / 共70页
点击查看更多>>
资源描述

《小软件源码分享27分析》由会员分享,可在线阅读,更多相关《小软件源码分享27分析(70页珍藏版)》请在金锄头文库上搜索。

1、手术室远程维护及控制系统 源代码 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.Me

2、dia.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

3、: 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(appo

4、intments.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 abs

5、tract 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;

6、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 : IValueConv

7、erter / 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.Gl

8、obalization.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.Wi

9、ndows.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 GridViewToggleRowDetailsCol

10、umn : GridViewColumn, IWeakEventListener private WeakEvent.WeakEventToken visbilityChangedToken;private WeakReference lastExpandedDataItemWeakRef;/ Identifies the dependency property.public static readonly DependencyProperty ToggleButtonStyleProperty = DependencyProperty.Register(ToggleButtonStyle,t

11、ypeof(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

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 医学/心理学 > 基础医学

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号