Exemple #1
0
        public programList()
        {
            InitializeComponent();

            xml  = new XMLTool("data.xml");
            data = xml.getData();
        }
Exemple #2
0
        private void Run_Activated(object sender, EventArgs e)
        {
            KeyWord.Focus();
            xml  = new XMLTool("data.xml");
            data = xml.getData();
            AutoCompleteStringCollection autoCompleteCollection = new AutoCompleteStringCollection();

            autoCompleteCollection.AddRange(data.Keys.ToArray());
            KeyWord.AutoCompleteCustomSource = autoCompleteCollection;
        }
Exemple #3
0
        private void Form1_Load(object sender, EventArgs e)
        {
            xml  = new XMLTool("data.xml");
            data = xml.getData();
            this.AcceptButton = BtnRun;
            AutoCompleteStringCollection autoCompleteCollection = new AutoCompleteStringCollection();

            autoCompleteCollection.AddRange(data.Keys.ToArray());
            KeyWord.AutoCompleteCustomSource = autoCompleteCollection;
        }