public override void OnClick()
{
//some code for onclick handler.
}
public override bool Enabled
{
get
{
//if editing is started, then enable the command.
return Common.GlobalConfig.IsEditingStarted;
}
}