예제 #1
0
 public MVWindow(Dictionary <string, BookVM> cbBooksData, Home_OpenBookFromReader_Function callback, string FilePath, string FileID, string pageJson = "")
 {
     MouseTool.ShowLoading();
     InitializeComponent();
     this.cbBooksData = cbBooksData;
     this.Home_OpenBookFromReader_Event = callback;
     this.FilePath  = FilePath;
     this.FileID    = FileID;
     this.pageJson  = pageJson;
     base.Loaded   += new RoutedEventHandler(MVWindow_Loaded);
     base.Unloaded += new RoutedEventHandler(MVWindow_Unloaded);
 }
예제 #2
0
 public MVWindow(Dictionary <string, BookVM> cbBooksData
                 , Home_OpenBookFromReader_Function callback, string FilePath, string FileID, string pageJson = "")
 {
     MouseTool.ShowLoading();
     InitializeComponent();
     this.cbBooksData = cbBooksData;
     this.Home_OpenBookFromReader_Event = callback;
     this.FilePath  = FilePath;
     this.FileID    = FileID;
     this.pageJson  = pageJson;
     this.Loaded   += MVWindow_Loaded;
     this.Unloaded += MVWindow_Unloaded;
     //this.Closing+=MVWindow_Closing;
     //this.Closed+=MVWindow_Closed;
     //MouseTool.ShowArrow();
 }