Interaction logic for Manual.xaml
Inheritance: System.Windows.Controls.UserControl, IPage
示例#1
0
        public void ShowManual()
        {
            if (autoDetectPage != null)
            {
                autoDetectPage.Closing();
            }
            if (loadFromFilePage != null)
            {
                loadFromFilePage.Closing();
            }

            if (manualPage == null)
            {
                manualPage            = new Pages.Manual();
                manualPage.ParentPage = this;
                manualPage.SendData  += SendPageData;
                SendCurrentUser(manualPage);
            }

            AutoDetectSelected   = false;
            ManualSelected       = true;
            LoadFromFileSelected = false;

            CurrentPage = manualPage;
        }
        public void ShowManual()
        {
            if (autoDetectPage != null) autoDetectPage.Closing();
            if (loadFromFilePage != null) loadFromFilePage.Closing();

            if (manualPage == null)
            {
                manualPage = new Pages.Manual();
                manualPage.ParentPage = this;
                manualPage.SendData += SendPageData;
                SendCurrentUser(manualPage);
            }

            AutoDetectSelected = false;
            ManualSelected = true;
            LoadFromFileSelected = false;

            CurrentPage = manualPage;
        }