public override void OnReceiveProfileFrame(ProfileFrame newFrame) 
        {
            if (this.ReceiveFrameEvent != null)
            {
                this.ReceiveFrameEvent(newFrame);
            }
        }
 public override void OnReceiveProfileFrame(ProfileFrame newFrame)
 {
     if (this.ReceiveFrameEvent != null)
     {
         this.ReceiveFrameEvent(newFrame);
     }
 }
Example #3
0
        public Dash(Shared.Profile profile)
        {
            InitializeComponent();
            this.profilePage       = new Pages.Profile(profile);
            this.notificationsPage = new Pages.Notifications();
            (Application.Current.MainWindow as MainWindow).Notifications.RegisterNotificationsPage(notificationsPage);

            ProfileFrame.Navigate(this.profilePage);
        }
Example #4
0
        public MainPage()
        {
            this.InitializeComponent();

            var currentView = SystemNavigationManager.GetForCurrentView();

            currentView.AppViewBackButtonVisibility = AppViewBackButtonVisibility.Visible;
            currentView.BackRequested += MainPage_BackRequested;

            MainFrame.Navigate(typeof(MainpagePage));
            ProfileFrame.Navigate(typeof(MyProfilePage));

            MainFrame.Navigated += MainFrame_Navigated;
        }
Example #5
0
 public void AcceptFrame(ProfileFrame Frame)
 {
 }
Example #6
0
 private void NotificationsLableClicked(object sender, System.Windows.RoutedEventArgs e)
 {
     ProfileFrame.Navigate(this.notificationsPage);
 }
Example #7
0
 private void ProfileLableClicked(object sender, System.Windows.RoutedEventArgs e)
 {
     ProfileFrame.Navigate(this.profilePage);
 }
Example #8
0
 public void ShowFrameDetails(ProfileFrame frame)
 {
     WindowManager.ShowWindow(new FrameDetailViewModel(frame));
 }
Example #9
0
 public ShowFrameDetails(ProfileFrame frame)
 {
     Frame = frame;
 }
Example #10
0
 public FrameDetailViewModel(ProfileFrame frame)
 {
     Frame = frame;
 }