ContentPage firstPage = CreateContentPage(Resources.IDS_ST_HEADER_MANAGE_CERTIFICATES_ABB/*"Manage certificates"*/, content);
firstPage.AppBar.AutoNavigationContent = false;
- var navigationContent = new Button(((AppBarStyle)ThemeManager.GetStyle("Tizen.NUI.Components.AppBar")).BackButton);
+ ViewStyle style = ThemeManager.GetStyle("Tizen.NUI.Components.AppBar");
+ var navigationContent = new Button(((AppBarStyle)style).BackButton);
navigationContent.Clicked += (o, e) =>
{
Bundle bundle = new Bundle();
SetContentInfo(bundle.Encode());
};
firstPage.AppBar.NavigationContent = navigationContent;
+ style.Dispose();
return firstPage;
}
{
if (e.Touch.GetState(0) == PointStateType.Up)
{
- if (BorderWindow.IsMaximized() == true)
+ if (BorderWindow != null)
{
- BorderWindow.Maximize(false);
+ if (BorderWindow.IsMaximized() == true)
+ {
+ BorderWindow.Maximize(false);
+ }
+ preWinPositonSize = BorderWindow.WindowPositionSize;
+ BorderWindow.WindowPositionSize = new Rectangle(preWinPositonSize.X, preWinPositonSize.Y, 500, 0);
}
- preWinPositonSize = BorderWindow.WindowPositionSize;
- BorderWindow.WindowPositionSize = new Rectangle(preWinPositonSize.X, preWinPositonSize.Y, 500, 0);
}
return true;
}