public void AddRevisionExecuted(object param)
 {
     try
     {
         if (null != selectedSheet)
         {
             ItemWindow itemWindow = new ItemWindow(AddItemType.Revisions, selectedSheet);
             itemWindow.DataContext = this.RvtSheetData;
             if ((bool)itemWindow.ShowDialog())
             {
                 RefreshSelectedSheet();
             }
         }
     }
     catch (Exception ex)
     {
         string message = ex.Message;
     }
 }
Example #2
0
 internal void OpenItemWindow()
 {
     var w = new ItemWindow(Player, this);
     w.ShowDialog();
 }