/// <summary> /// 构造方法 /// </summary> public ModelResponsible() { App.Current.Dispatcher.Invoke(new Action(() => { Instance = this; ModuleNavigable = new ControlNavigable(); ModuleNavigable.DefaultSource = new BitmapImage(new Uri(@"/Hytera.EEMS.Resources;Component/Images/Collect/toolDefault.png", UriKind.RelativeOrAbsolute)); ModuleNavigable.MouseOverSource = new BitmapImage(new Uri(@"/Hytera.EEMS.Resources;Component/Images/Collect/toolOver.png", UriKind.RelativeOrAbsolute)); ModuleNavigable.MouseDownSource = new BitmapImage(new Uri(@"/Hytera.EEMS.Resources;Component/Images/Collect/toolSelect.png", UriKind.RelativeOrAbsolute)); ModuleNavigable.Index = 0; ModuleNavigable.Name = "GatherToolName"; })); }
public ModelResponsible() { App.Current.Dispatcher.Invoke(new Action(() => { Instance = this; ModuleNavigable = new ControlNavigable(); ModuleNavigable.DefaultSource = new BitmapImage(new Uri(@"/Hytera.EEMS.Resources;Component/Images/Finger/FingerDefault.png", UriKind.RelativeOrAbsolute)); ModuleNavigable.MouseOverSource = new BitmapImage(new Uri(@"/Hytera.EEMS.Resources;Component/Images/Finger/FingerOver.png", UriKind.RelativeOrAbsolute)); ModuleNavigable.MouseDownSource = new BitmapImage(new Uri(@"/Hytera.EEMS.Resources;Component/Images/Finger/FingerSelect.png", UriKind.RelativeOrAbsolute)); ModuleNavigable.Index = 2; ModuleNavigable.Name = "FingerToolName"; ModuleNavigable.PermissionCode = PermissionConfig.Fingerprint; })); }
/// <summary> /// 构造方法 /// </summary> public ModelResponsible() { App.Current.Dispatcher.Invoke(new Action(() => { ModuleNavigable = new ControlNavigable(); Instance = this; ModuleNavigable.DefaultSource = new BitmapImage(new Uri(@"/Hytera.EEMS.Resources;Component/Images/Manage/manageDefault.png", UriKind.RelativeOrAbsolute)); ModuleNavigable.MouseOverSource = new BitmapImage(new Uri(@"/Hytera.EEMS.Resources;Component/Images/Manage/manageOver.png", UriKind.RelativeOrAbsolute)); ModuleNavigable.MouseDownSource = new BitmapImage(new Uri(@"/Hytera.EEMS.Resources;Component/Images/Manage/manageSelect.png", UriKind.RelativeOrAbsolute)); ModuleNavigable.Index = 1; ModuleNavigable.Name = "ManageToolName"; ModuleNavigable.PermissionCode = PermissionConfig.DataSearchMoudle; })); }