Example #1
0
 protected virtual void OnMouldFunClick(MouldEventArgs e)
 {
     if (MouldFunClick != null)
     {
         MouldFunClick(this, e);
     }
 }
Example #2
0
        /// <summary>
        /// 点击某个小模块
        /// </summary>
        /// <param name="sendr"></param>
        /// <param name="e"></param>
        private void moule_MouldFunClick(object sendr, MouldEventArgs e)
        {
            UCMould mould = sendr as UCMould;

            if ((mould == null) || (mould.Tag == null))
            {
                return;
            }
            DrectSoft.FrameWork.IPlugIn plg = m_App.Manager.Runner.LoadPlugIn(e.PlugInfo.AssemblyName, e.PlugInfo.AssemblyStartupClass, true);
            if (plg == null)
            {
                m_App.CustomMessageBox.MessageShow("加载" + ((PlugInConfiguration)mould.Tag).MenuCaption + "失败!");
            }
        }