Ejemplo n.º 1
0
        private void создатьToolStripMenuItem_Click(object sender, EventArgs e)
        {
            SetText ST = new SetText();

            if (ST.ShowDialog() == DialogResult.OK)
            {
                qm = QuestFiles.Quest.QuestManager.Create(ST.Return);
                toolStripTextBox1.Text = Environment.UserName;
                qm.AddQuest("Start", "Start", new string[0], "");
                TreeCreate();
            }
            else
            {
                MessageBox.Show("Ошибка");
            }
        }
Ejemplo n.º 2
0
 private void button1_Click(object sender, EventArgs e)
 {
     qm.AddQuest(textBox1.Text, richTextBox1.Text, comboBox1.Text.Split(','), textBox2.Text);
     TreeCreate();
     panel1.Visible = false;
 }