Esempio n. 1
0
 private void button_save_click(object sender, RoutedEventArgs e)//save as
 {
     if (BP.Blueprint != null)
     {
         newtumbnail();
         BP.Description.name        = TextBox_Name.Text;
         BP.Description.description = TextBox_Description.Text;
         Random r = new Random(); //GENERATE NEW UUID AND CHANGE DESCRIPTION LOCALID --todo
         BP.SaveAs("Blueprint" + r.Next() + "-" + r.Next());
     }
 }