Exemplo n.º 1
0
 void OnCompositeUpdated(SingleConfigViewModel config)
 {
     this.Dispatcher.Invoke(DispatcherPriority.Render, new Action
                            (
                                delegate()
     {
         PossibleConfig.Add(config);
         CreateUnifiedDataTable();
     }));
 }
Exemplo n.º 2
0
        void OnWorkspaceRequestClose(object sender, EventArgs e)
        {
            SingleConfigViewModel workspace = sender as SingleConfigViewModel;

            workspace.Dispose();
            this.Configs.Remove(workspace);
            PossibleConfig.Remove(workspace);
            UnifiedSetUp.ConfigHeaderRow.Remove(workspace.DisplayName);
            if (Configs.Count == 0)
            {
                AlphaCollection = null;
            }
            CreateUnifiedDataTable();
        }