Пример #1
0
 //受保护
 protected virtual void OnPluginReflection(PluginReflectionEventArgs e)
 {
     if (this.PluginReflection != null)
     {
         this.PluginReflection(this, e);
     }
 }
Пример #2
0
 void DockBarHostTBForm_PluginReflection(object sender, PluginReflectionEventArgs e)
 {
     this.richTextBox1.Text += e.Info;
     if (e.Plugin != null)
     {
         this.richTextBox1.Text += "【目录索引(CategoryIndex):" + e.Plugin.CategoryIndex + ";名称(Name):" + e.Plugin.Name + "】";
     }
     this.richTextBox1.Text += "\n";
 }
 void BaseHost3_PluginReflection(object sender, PluginReflectionEventArgs e)
 {
     GISShare.Controls.WinForm.Item item = new GISShare.Controls.WinForm.Item();
     item.Text = e.Info;
     if (e.Plugin != null)
     {
         if (this.m_pBaseHost3.PluginCategoryDictionary.ContainsPlugin(e.Plugin.Name))
         {
             item.Text = "冲突的插件对象";
         }
         item.Text += "【目录索引(CategoryIndex):" + e.Plugin.CategoryIndex + ";名称(Name):" + e.Plugin.Name + "】";
     }
     this.m_ListBoxX.Items.Add(item);
 }
Пример #4
0
 void HostDockBarObject_PluginReflection(object sender, PluginReflectionEventArgs e)
 {
     this.OnPluginReflection(e);
 }
 void HostRibbonObject_PluginReflection(object sender, PluginReflectionEventArgs e)
 {
     this.OnPluginReflection(e);
 }