C# Class Maker.ViewBusiness.GeneralOtherViewBusiness

Show file Open project: hhm2maker/Maker

Public Methods

Method Description
SetFullScreen ( Window window ) : void

设置窗口全屏

SetLaunchpadStyle ( LaunchpadPro mLaunchpad, DeviceModel deviceModel ) : void

设置Launchpad样式

SetPercentageOfScreen ( Window window, double percentage ) : void

设置窗口百分比

SetStringsAndClickEventToListBox ( ListBox menuItem, List strings, MouseButtonEventHandler clickEvent, bool isClearOld, int fontSize ) : void

设置字符串数组和点击事件到MenuItem

SetStringsAndClickEventToMenuItemView ( MenuItem menuItem, List strings, RoutedEventHandler clickEvent, bool isClearOld, int fontSize ) : void

设置字符串数组和点击事件到MenuItem

SetStringsAndClickEventToTreeView ( TreeView treeView, List strings, MouseButtonEventHandler clickEvent, bool isClearOld, int fontSize ) : void

设置字符串数组和点击事件到MenuItem

设置字符串数组和点击事件到MenuItem

SetStringsToListBox ( ListBox listbox, List strings ) : void

设置字符串数组到ListBox

SetStringsToListBox ( ListBox listbox, List strings, String selectString ) : void

设置字符串数组到ListBox

Method Details

SetFullScreen() public static method

设置窗口全屏
public static SetFullScreen ( Window window ) : void
window Window
return void

SetLaunchpadStyle() public static method

设置Launchpad样式
public static SetLaunchpadStyle ( LaunchpadPro mLaunchpad, DeviceModel deviceModel ) : void
mLaunchpad LaunchpadPro
deviceModel DeviceModel
return void

SetPercentageOfScreen() public static method

设置窗口百分比
public static SetPercentageOfScreen ( Window window, double percentage ) : void
window Window
percentage double
return void

SetStringsAndClickEventToListBox() public static method

设置字符串数组和点击事件到MenuItem
public static SetStringsAndClickEventToListBox ( ListBox menuItem, List strings, MouseButtonEventHandler clickEvent, bool isClearOld, int fontSize ) : void
menuItem ListBox
strings List
clickEvent MouseButtonEventHandler
isClearOld bool
fontSize int
return void

SetStringsAndClickEventToMenuItemView() public static method

设置字符串数组和点击事件到MenuItem
public static SetStringsAndClickEventToMenuItemView ( MenuItem menuItem, List strings, RoutedEventHandler clickEvent, bool isClearOld, int fontSize ) : void
menuItem MenuItem
strings List
clickEvent RoutedEventHandler
isClearOld bool
fontSize int
return void

SetStringsAndClickEventToTreeView() public static method

设置字符串数组和点击事件到MenuItem 设置字符串数组和点击事件到MenuItem
public static SetStringsAndClickEventToTreeView ( TreeView treeView, List strings, MouseButtonEventHandler clickEvent, bool isClearOld, int fontSize ) : void
treeView TreeView
strings List
clickEvent MouseButtonEventHandler
isClearOld bool
fontSize int
return void

SetStringsToListBox() public static method

设置字符串数组到ListBox
public static SetStringsToListBox ( ListBox listbox, List strings ) : void
listbox ListBox
strings List
return void

SetStringsToListBox() public static method

设置字符串数组到ListBox
public static SetStringsToListBox ( ListBox listbox, List strings, String selectString ) : void
listbox ListBox
strings List
selectString String
return void