Hi,
On launching a particular dialog - we are sometimes (6 out of 10 times) seeing a black screen with build # 11.1.545.0 - however same is not the case with build # 10.1.523.0
The real problem was that we were getting the black screen on this particular dialog very frequently so we applied a fix that is working fine on build # 10.1.523.0 but not on # 11.1.545.0 - the fix was to set height and width to 0 while hiding the dialog and set them again while showing like:
The xaml attributes that we are setting are:
Height="710" Width="780" WindowStartupLocation="CenterScreen" ResizeMode="NoResize" ShowInTaskbar="False" Closing="winOptions_Closing" Background="{DynamicResource windowBackground}" IsMaximizeButtonVisible="False" IsMinimizeButtonVisible="False"
Please let know what has changed in new build in this regard - and what can be done to fix this issue.
Thanks in advance,
Bala
On launching a particular dialog - we are sometimes (6 out of 10 times) seeing a black screen with build # 11.1.545.0 - however same is not the case with build # 10.1.523.0
The real problem was that we were getting the black screen on this particular dialog very frequently so we applied a fix that is working fine on build # 10.1.523.0 but not on # 11.1.545.0 - the fix was to set height and width to 0 while hiding the dialog and set them again while showing like:
public void ShowModalDialog()
{
this.Width = 780;
this.Height = 710;
this.ShowDialog();
}
void HideWindow()
{
this.Height = 0;
this.Width = 0;
this.Hide();
}
Height="710" Width="780" WindowStartupLocation="CenterScreen" ResizeMode="NoResize" ShowInTaskbar="False" Closing="winOptions_Closing" Background="{DynamicResource windowBackground}" IsMaximizeButtonVisible="False" IsMinimizeButtonVisible="False"
Please let know what has changed in new build in this regard - and what can be done to fix this issue.
Thanks in advance,
Bala