Esempio n. 1
0
 /// <summary>
 /// 窗口关闭之后,单例清除
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void HotKeySettingWindow_Closed(object sender, EventArgs e)
 {
     m_Instance = null;
 }
Esempio n. 2
0
 public static HotKeySet CreateInstance()
 {
     return(m_Instance ?? (m_Instance = new HotKeySet()));
 }