예제 #1
0
        protected void ShowLanguageKeyValues()
        {
            Dictionary <String, String> dict = new Dictionary <string, string>();

            GetLanguageKeyValues(this, this.GetType().Name, dict);
            StringBuilder builder = new StringBuilder();

            foreach (KeyValuePair <string, string> item in dict)
            {
                builder.AppendLine(String.Format("<item name=\"{0}\">{1}</item>", item.Key, item.Value));
            }
            FormText formText = new FormText();

            formText.SetText(builder.ToString());
            formText.ShowDialog();
        }