void btnNewState_Click(object sender, RoutedEventArgs e)
        {
            frmAddSelectState view = new frmAddSelectState(Process, 0);

            view.ItemSaved += view_ItemSaved;
            MyProjectManager.GetMyProjectManager.ShowDialog(view, "Form", Enum_WindowSize.Big);
        }
        private void StateShape_StateShapeEdit(object sender, StateShapeEditArg e)
        {
            frmAddSelectState view = new frmAddSelectState(Process, e.StateID);

            view.ItemSaved += (sender1, e1) => View_ItemSaved(sender1, e1, (sender as StateShape));
            MyProjectManager.GetMyProjectManager.ShowDialog(view, "Form", Enum_WindowSize.Big);
        }
        //private void mnuAddNewGroup_Click(object sender, Telerik.Windows.RadRoutedEventArgs e)
        //{
        //    frmAddSelectGroup view = new frmAddSelectGroup(Message.ID, 0);
        //    view.ItemSaved += View_ItemSaved2;
        //       MyProjectManager.GetMyProjectManager.ShowDialog(view, "Form",Enum_WindowSize.Big);
        //}

        //private void mnuEditGroup_Click(object sender, Telerik.Windows.RadRoutedEventArgs e)
        //{
        //    var menuItem = sender as RadMenuItem;
        //    var contextMenu = menuItem.Parent as RadContextMenu;
        //    var source = contextMenu.GetClickedElement<GridViewRow>();
        //    if (contextMenu != null && source != null)
        //    {
        //        frmAddSelectGroup view = new frmAddSelectGroup(Message.ID, (source.DataContext as Group).ID);
        //        view.ItemSaved += View_ItemSaved2;
        //           MyProjectManager.GetMyProjectManager.ShowDialog(view, "Form",Enum_WindowSize.Big);
        //    }
        //}
        //private void View_ItemSaved2(object sender, SavedItemArg e)
        //{
        //    dtgRoles.ItemsSource = bizProcess.GetProcessRoles(Message.ID);
        //}

        private void mnuAddNewState_Click(object sender, Telerik.Windows.RadRoutedEventArgs e)
        {
            frmAddSelectState view = new frmAddSelectState(Message, 0);

            view.ItemSaved += View_ItemSaved3;
            MyProjectManager.GetMyProjectManager.ShowDialog(view, "Form", Enum_WindowSize.Big);
        }
        private void mnuEditState_Click(object sender, Telerik.Windows.RadRoutedEventArgs e)
        {
            var menuItem    = sender as RadMenuItem;
            var contextMenu = menuItem.Parent as RadContextMenu;
            var source      = contextMenu.GetClickedElement <GridViewRow>();

            if (contextMenu != null && source != null)
            {
                frmAddSelectState view = new frmAddSelectState(Message, (source.DataContext as WFStateDTO).ID);
                view.ItemSaved += View_ItemSaved3;
                MyProjectManager.GetMyProjectManager.ShowDialog(view, "Form", Enum_WindowSize.Big);
            }
        }