示例#1
0
        private void setlabeltext()
        {
            List <weatherkey> b = new List <weatherkey>();

            try{ b = new SQLite.SQLiteConnection(App.legacyweatherDBpath).Table <weatherkey>().ToList(); } catch (Exception) { b.Add(new weatherkey()
                {
                    CVD_idx = 0
                }); };

            if (lang != -1)
            {
                if (b[0].CVD_idx != 0)
                {
                    debuglabel.Text = new string[] { "Your current CVD index is ", "您目前的CVD指數為 ", "您目前的CVD指数为 " }
                }