Esempio n. 1
0
        private void listbox1_MouseDoubleClick(object sender, MouseEventArgs e)
        {
            int index = this.listQuestion.IndexFromPoint(e.Location);
            if (index != System.Windows.Forms.ListBox.NoMatches)
            {
                string y = comboBox1.Text;
                string x = listQuestion.SelectedItem.ToString();
                newSubQuestion sub = new newSubQuestion(x, y);
                sub.ShowDialog();                
                viewHTML(subjecthandler.getDatabase(x, y), y);


            }
            
        }
Esempio n. 2
0
        private void normalQuestionToolStripMenuItem_Click(object sender, EventArgs e)
        {
            string x = listQuestion.SelectedItem.ToString();
            string y = comboBox1.Text;
            newSubQuestion sub = new newSubQuestion(x, y);
            sub.ShowDialog();

            viewHTML(subjecthandler.getDatabase(x, y), y);
        }