Beispiel #1
0
 void Shape_Click(object sender, RoutedEventArgs e)
 {
     if (!string.IsNullOrEmpty(fileText))
     {
         Drawing.RaiseDocumentOpenRequested(new Drawing.DocumentOpenRequestedEventArgs()
         {
             DocumentXml   = fileText,
             InWhichWindow = Drawing.DocumentOpenRequestedEventArgs.InWhichWindowChoice.DontCare
         });
     }
 }