my C# code is below:
public class SptCommand:DefaultPlugInCommand
{
public SptCommand(PlugInCommandDescriptor poPlugInCommandDescriptor) : base(poPlugInCommandDescriptor)
{
}
public override void Execute(IPluginHost poHost, IList pcTargets, IWin32Window poParentWindow = null)
{
if (psitrans.PIF.Message.ShowYesNo(string.Format(MyAssembly.Configuration.ConfirmationText, pcTargets)))
{
//call below method here
}
}
public override void Execute(IPluginHost poHost, object poTarget, IWin32Window poParentWindow = null)
{
base.Execute(poHost, poTarget, poParentWindow);
}
}
NOTE: above code is for windows application.
1) here I want to call 2nd Execute method inside 1st Execute method.
2) Also, I want to create "abstract class" inside 2nd Execute method. Is it possible way? If yes then how?
Please help, how to do this.