Beispiel #1
0
        private void MenuItem_SaveBiesseDocAs(object sender, RoutedEventArgs e)
        {
            biesseDoc = biesse.GetActiveDocument();
            var saveFileDialog = new Microsoft.Win32.SaveFileDialog();

            saveFileDialog.Filter = "BPP Files (*.bpp)|*.bpp";

            if (saveFileDialog.ShowDialog() == true)
            {
                biesseDoc.SaveAsFile(saveFileDialog.FileName);
            }
        }
Beispiel #2
0
 private void MenuItem_EditPanel(object sender, RoutedEventArgs e)
 {
     biesseDoc = biesse.GetActiveDocument();
     biesseDoc.EditPanel(1);
 }
Beispiel #3
0
 private void MenuItem_SaveBiesseDoc(object sender, RoutedEventArgs e)
 {
     biesseDoc = biesse.GetActiveDocument();
     biesseDoc.SaveFile();
 }
Beispiel #4
0
 private void MenuItem_GetDocCode(object sender, RoutedEventArgs e)
 {
     biesseDoc    = biesse.GetActiveDocument();
     bppCode.Text = biesseDoc.GetEditorText();
 }