Esempio n. 1
0
        private void init()
        {
            state = DB.ALLKCV();
            for (int i = 0; i < allV.Length; i++)
            {
                logger.ddf("key={0}, value={1}, open={2}", allC[i].Name, state.KV[allC[i].Name], state.KC[allC[i].Name]);
                allV[i].Text    = state.KV[allC[i].Name];
                allC[i].Checked = state.KC[allC[i].Name];
            }

            for (int i = 0; i < AllText.Length; i++)
            {
                AllText[i].Text = DB.GET(AllText[i].Name);
                logger.ddf("key={0}, value={1}", AllText[i].Name, AllText[i].Text);
            }
        }