void ViewFragment(AnimationFragment fragment, bool canEdit = false)
 {
     if (fragment != null)
     {
         var view = AnimationFragmentViewModel.CreateFromFragment(_pfs, fragment, canEdit);
         TableWindow.Show(view);
     }
 }
 private void Classification_Click(object sender, RoutedEventArgs e)
 {
     if (dataModel != null)
     {
         init_intvscell();
         TableWindow tblWindow = new TableWindow(intvscell, classification: true);
         tblWindow.Show();
     }
 }
Esempio n. 3
0
 public CreateTable()
 {
     if ((Data.RKK_File_Path != null) && (Data.Appeal_File_Path != null))
     {
         TableWindow taskWindow = new TableWindow();
         taskWindow.Show();
     }
     else
     {
         ErrorMessege Error = new ErrorMessege();
         Error.Show();
     }
 }
        public void ShowTable(string aTableName, bool Messages = false)
        {
            if (aTableName == null)
            {
                if (Messages) MessageBox.Show("Please pass a table name", "Show Table");
                return;
            }

            ITable myTable = GetTable(aTableName);
            if (myTable == null)
            {
                if (Messages)
                {
                    MessageBox.Show("Table " + aTableName + " not found in map");
                    return;
                }
            }

            ITableWindow myWin = new TableWindow();
            myWin.Table = myTable;
            myWin.Application = thisApplication;
            myWin.Show(true);
        }
 private void IntervalSearch_Click(object sender, RoutedEventArgs e)
 {
     init_intvscell();
     TableWindow tblWindow = new TableWindow(intvscell, classification: false);
     tblWindow.Show();
 }