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

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