|
@@ -55,7 +55,7 @@ namespace fis
|
|
/// </summary>
|
|
/// </summary>
|
|
/// <param name="host"></param>
|
|
/// <param name="host"></param>
|
|
/// <param name="keyValuePairs"></param>
|
|
/// <param name="keyValuePairs"></param>
|
|
- internal void ChangeContentView(string host, Dictionary<string, string> keyValuePairs)
|
|
|
|
|
|
+ internal void ChangeContentView(string host, Dictionary<string, string> keyValuePairs,WindowType windowType)
|
|
{
|
|
{
|
|
_host = host;
|
|
_host = host;
|
|
_parameters = keyValuePairs;
|
|
_parameters = keyValuePairs;
|
|
@@ -71,7 +71,15 @@ namespace fis
|
|
ShowInTaskbar = true;
|
|
ShowInTaskbar = true;
|
|
ShowActivated = true;
|
|
ShowActivated = true;
|
|
}
|
|
}
|
|
- ExecuteJS("externalNotification", TargetMethodName.OpenMeasurePage, arguments);
|
|
|
|
|
|
+ TargetMethodName targetMethodName;
|
|
|
|
+ if (windowType == WindowType.Measure)
|
|
|
|
+ {
|
|
|
|
+ targetMethodName = TargetMethodName.OpenMeasurePage;
|
|
|
|
+ }
|
|
|
|
+ else {
|
|
|
|
+ targetMethodName = TargetMethodName.OpenReportEditPage;
|
|
|
|
+ }
|
|
|
|
+ ExecuteJS("externalNotification", targetMethodName, arguments);
|
|
Show();
|
|
Show();
|
|
}
|
|
}
|
|
|
|
|