Home > Net >  C # ToolStripButton Click event how in the base class to a derived class to perform
C # ToolStripButton Click event how in the base class to a derived class to perform

Time:09-21

Such as class A as the base class, there is A ToolStrip controls, and control of the Item are ToolStripButton I is to use XML configuration files are generated, the XML configuration file contains each button of the execution method name (as shown in figure is the key field button corresponding method name);
Class B for A derived class, inherited class A, class B in the XML configuration file that corresponds to the execution of the method;
My question is: in the class A Click event ToolStripButton how the method name to be passed to the corresponding method of class B?
I have entrusted not familiar with, can speak clip figure,
  •  Tags:  
  • C#
  • Related