public static Dev2DecisionCallbackHandler ShowSwitchDragDialog(IEnvironmentModel environment, string webModel)
{
const int DialogWidth = 752;
const int DialogHeight = 85;
var callBackHandler = new Dev2DecisionCallbackHandler { ModelData = webModel };
const string RelativeUriString = "switch/drag";
if(!IsTestMode)
{
environment.ShowWebPageDialog(SiteName, RelativeUriString, callBackHandler, DialogWidth, DialogHeight, "Switch Flow");
}
else
{
TestModeRelativeUri = RelativeUriString;
}
return callBackHandler;
}