Example #1
0
 public PlayTimeStatisticDialog(string db_path)
 {
     InitializeComponent();
     conn = new SQLiteConnection("Data Source=" + db_path);
     if (File.Exists(db_path))
     {
         PlayTimeLast30Days.Setup(conn);
         PlayTimeWeek.Setup(conn);
         PlayTimeMonth.Setup(conn);
         PlayTimeAll.Setup(conn);
     }
 }
Example #2
0
        public PlayTimeStatisticDialog(string db_path)
        {
            InitializeComponent();
            if (Properties.Settings.Default.disableGlowBrush)
            {
                this.GlowBrush = null;
            }

            conn = new SQLiteConnection("Data Source=" + db_path);
            if (File.Exists(db_path))
            {
                PlayTimeLast30Days.Setup(conn);
                PlayTimeWeek.Setup(conn);
                PlayTimeMonth.Setup(conn);
                PlayTimeAll.Setup(conn);
            }
        }