コード例 #1
0
 public MainWindow()
 {
     db            = CreateDbContext();
     this.Language = XmlLanguage.GetLanguage(Thread.CurrentThread.CurrentCulture.Name);
     InitializeComponent();
 }
コード例 #2
0
 void Refresh(int n)
 {
     db.Dispose();
     db = CreateDbContext();
     Switch(n);
 }