public LoginPage() { this.InitializeComponent(); libraryItemBLL = new LibraryItemBLL(); timer = new DispatcherTimer(); timer.Interval = TimeSpan.FromMilliseconds(10); timer.Tick += Timer_Tick; timer.Start(); }
public MainPage() { this.InitializeComponent(); libraryItemBLL = new LibraryItemBLL(); libraryItemBLL.Initialization().ContinueWith((e) => ShowListOnXaml()); Window.Current.Closed += Current_Closed; this.Unloaded += MainPage_Unloaded; CreateGenreComboBox(); CreateChooseTypeComboBox(); CreateBookLengthComboBox(); CreateTxtBlocks(); }