private void StopRefreshDdlPage(object sender, CancelEventArgs e)
 {
     dp           = null;
     sp           = null;
     ip           = null;
     App.dt.Tick -= DdlPage.RefreshDdlPageEvent;
     App.dt.Tick -= DdlPage.RefreshDdlPageEventHandler;
 }
Exemple #2
0
        public DdlPage()
        {
            InitializeComponent();
            self = this;
            ReloadDdlStackPanel();

            RefreshDdlPageEventHandler = new EventHandler(RefreshDdlPageEvent);
            App.dt.Tick += RefreshDdlPageEventHandler;
        }
 private void DdlPageBtn_Checked(object sender, RoutedEventArgs e)
 {
     if (dp == null)
     {
         dp = new DdlPage();
     }
     MainFrame.Content = dp;
     CheckBtnAnimation(DdlsIcon, DdlsTextBlock);
 }
 public static void ReloadMainWindow()
 {
     dp = null;
     ip = null;
 }