Ejemplo n.º 1
0
        private void button1_Click(object sender, RoutedEventArgs e)
        {
            Poemwriter.Line.lineList.Clear();
            Poemwriter.Line.readFromSchema(Poemwriter.Schema.schemaList.Find(x => x.poemForm == listBox.SelectedItem.ToString()).poemCode);
            MenuRhymeWindow mr = new MenuRhymeWindow();

            mr.Show();
            this.Close();
        }
Ejemplo n.º 2
0
 private void add_click(object sender, RoutedEventArgs e)
 {
     if (tempLine.Length != 0)
     {
         Poemwriter.Line.readFromSchema(tempLine);
         MenuRhymeWindow mr = new MenuRhymeWindow();
         mr.Show();
         this.Close();
     }
 }