/// <summary>
        /// Register function proxy that will be called as first specialized function proxy.
        /// With this, window manager has the opportunity to handle button commands before they were sent to other function proxies.
        /// </summary>
        private void registerTopMostSpFProxy()
        {
            TopMostSpecializedFunctionProxy tmsp = new TopMostSpecializedFunctionProxy();

            if (ScriptFunctionProxy.Instance != null && tmsp != null)
            {
                tmsp.ButtonCombinationReleased += new EventHandler <ButtonCombinationEventArgs>(tmsp_ButtonCombinationReleased);
                ScriptFunctionProxy.Instance.AddProxy(tmsp);
            }
        }
 /// <summary>
 /// Register function proxy that will be called as first specialized function proxy.
 /// With this, window manager has the opportunity to handle button commands before they were sent to other function proxies.
 /// </summary>
 private void registerTopMostSpFProxy()
 {
     TopMostSpecializedFunctionProxy tmsp = new TopMostSpecializedFunctionProxy();
     
     if (ScriptFunctionProxy.Instance != null && tmsp != null)
     {
         tmsp.ButtonCombinationReleased += new EventHandler<ButtonCombinationEventArgs>(tmsp_ButtonCombinationReleased);
         ScriptFunctionProxy.Instance.AddProxy(tmsp);
     }
 }