Пример #1
0
        private bool preSaveMenus(MenuType type, TreeView tvw)
        {
            try
            {
                foreach(var pti in tvw.Items.OfType<PNTreeItem>())
                {
                    fillNodesList(pti, _OrderLists[type].Item2, _HiddenLists[type].Item2);
                }
                if (_OrderLists[type].Item1.Where((t, i) => t != _OrderLists[type].Item2[i]).Any())
                {
                    foreach (var pti in tvw.Items.OfType<PNTreeItem>())
                    {
                        createOrderSql(pti);
                    }
                    switch (type)
                    {
                        case MenuType.Main:
                            _MenusOrderChanged.Main = true;
                            break;
                        case MenuType.Note:
                            {
                                var d = new WndNote();
                                try
                                {
                                    _MenusOrderChanged.Note = true;
                                    PNMenus.PrepareDefaultMenuStrip(d.NoteMenu, MenuType.Note, true);
                                }
                                finally
                                {
                                    d.Close();
                                }
                            }
                            break;
                        case MenuType.Edit:
                            {
                                var d = new WndNote();
                                try
                                {
                                    _MenusOrderChanged.Edit = true;
                                    PNMenus.PrepareDefaultMenuStrip(d.EditMenu, MenuType.Edit, true);
                                }
                                finally
                                {
                                    d.Close();
                                }
                            }
                            break;
                        case MenuType.ControlPanel:
                            {
                                var d = new WndCP();
                                try
                                {
                                    _MenusOrderChanged.ControlPanel = true;
                                    PNMenus.PrepareDefaultMenuStrip(d.CPMenu, MenuType.ControlPanel, true);
                                }
                                finally
                                {
                                    d.Close();
                                }
                            }
                            break;
                    }
                }

                _TempHiddenMenus.AddRange(
                    _HiddenLists[type].Item2.Select(s => new PNHiddenMenu(s, type)));

                return true;
            }
            catch (Exception ex)
            {
                PNStatic.LogException(ex);
                return false;
            }
        }
Пример #2
0
        private void createMenusOrder(SQLiteDataObject oData, bool firstTime)
        {
            var dn = new WndNote();
            var dcp = new WndCP(false);
            try
            {
                var ctmNote = dn.NoteMenu;
                var ctmEdit = dn.EditMenu;
                var ctmList = dcp.CPMenu;

                if (firstTime)
                {
                    PNStatic.SpTextProvider.SplashText = PNLang.Instance.GetMessageText("load_menus", "Preparing menus order table");
                    foreach (var ti in ctmPN.Items.OfType<Control>())
                    {
                        addMenusOrder(oData, ctmPN.Name, ti, null, ctmPN.Items.IndexOf(ti));
                    }
                    foreach (var ti in ctmNote.Items.OfType<Control>())
                    {
                        addMenusOrder(oData, ctmNote.Name, ti, null, ctmNote.Items.IndexOf(ti));
                    }
                    foreach (var ti in ctmEdit.Items.OfType<Control>())
                    {
                        addMenusOrder(oData, ctmEdit.Name, ti, null, ctmEdit.Items.IndexOf(ti));
                    }
                    foreach (var ti in ctmList.Items.OfType<Control>())
                    {
                        addMenusOrder(oData, ctmList.Name, ti, null, ctmList.Items.IndexOf(ti));
                    }
                }
                else
                {
                    var updateList = new List<string>();
                    const string SQL = "SELECT MENU_NAME FROM MENUS_ORDER WHERE CONTEXT_NAME = '%CONTEXT_NAME%'";
                    using (var t = oData.FillDataTable(SQL.Replace("%CONTEXT_NAME%", ctmPN.Name)))
                    {
                        var names = t.AsEnumerable().Select(r => Convert.ToString(r["MENU_NAME"]));
                        foreach (var ti in ctmPN.Items.OfType<Control>())
                        {
                            newMenusOrder(oData, ctmPN.Name, ti, null, ctmPN.Items.IndexOf(ti), names, updateList);
                        }
                    }
                    using (var t = oData.FillDataTable(SQL.Replace("%CONTEXT_NAME%", ctmNote.Name)))
                    {
                        var names = t.AsEnumerable().Select(r => Convert.ToString(r["MENU_NAME"]));
                        foreach (var ti in ctmNote.Items.OfType<Control>())
                        {
                            newMenusOrder(oData, ctmNote.Name, ti, null, ctmNote.Items.IndexOf(ti), names, updateList);
                        }
                    }
                    using (var t = oData.FillDataTable(SQL.Replace("%CONTEXT_NAME%", ctmEdit.Name)))
                    {
                        var names = t.AsEnumerable().Select(r => Convert.ToString(r["MENU_NAME"]));
                        foreach (var ti in ctmEdit.Items.OfType<Control>())
                        {
                            newMenusOrder(oData, ctmEdit.Name, ti, null, ctmEdit.Items.IndexOf(ti), names, updateList);
                        }
                    }
                    using (var t = oData.FillDataTable(SQL.Replace("%CONTEXT_NAME%", ctmList.Name)))
                    {
                        var names = t.AsEnumerable().Select(r => Convert.ToString(r["MENU_NAME"]));
                        foreach (var ti in ctmList.Items.OfType<Control>())
                        {
                            newMenusOrder(oData, ctmList.Name, ti, null, ctmList.Items.IndexOf(ti), names, updateList);
                        }
                    }

                    updateList.RemoveAll(string.IsNullOrWhiteSpace);
                    if (updateList.Count > 0)
                    {
                        PNStatic.SpTextProvider.SplashText = PNLang.Instance.GetMessageText("update_menus_order",
                            "Updating menus indexes");
                        foreach (var s in updateList)
                        {
                            oData.Execute(s);
                        }
                    }
                }
                PNMenus.PrepareDefaultMenuStrip(ctmPN, MenuType.Main, false);
                PNMenus.PrepareDefaultMenuStrip(ctmNote, MenuType.Note, false);
                PNMenus.PrepareDefaultMenuStrip(ctmEdit, MenuType.Edit, false);
                PNMenus.PrepareDefaultMenuStrip(ctmList, MenuType.ControlPanel, false);
                PNMenus.PrepareDefaultMenuStrip(ctmPN, MenuType.Main, true);
                PNMenus.PrepareDefaultMenuStrip(ctmNote, MenuType.Note, true);
                PNMenus.PrepareDefaultMenuStrip(ctmEdit, MenuType.Edit, true);
                PNMenus.PrepareDefaultMenuStrip(ctmList, MenuType.ControlPanel, true);
                PNMenus.CheckAndApplyNewMenusOrder(ctmPN);
            }
            catch (Exception ex)
            {
                PNStatic.LogException(ex);
            }
            finally
            {
                dn.Close();
                dcp.Close();
            }
        }
Пример #3
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.DlgCP = ((PNotes.NET.WndCP)(target));
     
     #line 17 "..\..\WndCP.xaml"
     this.DlgCP.Loaded += new System.Windows.RoutedEventHandler(this.DlgCP_Loaded);
     
     #line default
     #line hidden
     
     #line 18 "..\..\WndCP.xaml"
     this.DlgCP.Closed += new System.EventHandler(this.DlgCP_Closed);
     
     #line default
     #line hidden
     
     #line 19 "..\..\WndCP.xaml"
     this.DlgCP.SourceInitialized += new System.EventHandler(this.DlgCP_SourceInitialized);
     
     #line default
     #line hidden
     
     #line 20 "..\..\WndCP.xaml"
     this.DlgCP.SizeChanged += new System.Windows.SizeChangedEventHandler(this.DlgCP_SizeChanged);
     
     #line default
     #line hidden
     
     #line 21 "..\..\WndCP.xaml"
     this.DlgCP.Activated += new System.EventHandler(this.DlgCP_Activated);
     
     #line default
     #line hidden
     return;
     case 2:
     
     #line 30 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.GroupCommand_Executed);
     
     #line default
     #line hidden
     
     #line 30 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.GroupCommand_CanExecute);
     
     #line default
     #line hidden
     return;
     case 3:
     
     #line 31 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.GroupCommand_Executed);
     
     #line default
     #line hidden
     
     #line 31 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.GroupCommand_CanExecute);
     
     #line default
     #line hidden
     return;
     case 4:
     
     #line 32 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.GroupCommand_Executed);
     
     #line default
     #line hidden
     
     #line 32 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.GroupCommand_CanExecute);
     
     #line default
     #line hidden
     return;
     case 5:
     
     #line 33 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.GroupCommand_Executed);
     
     #line default
     #line hidden
     
     #line 33 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.GroupCommand_CanExecute);
     
     #line default
     #line hidden
     return;
     case 6:
     
     #line 34 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.GroupCommand_Executed);
     
     #line default
     #line hidden
     
     #line 34 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.GroupCommand_CanExecute);
     
     #line default
     #line hidden
     return;
     case 7:
     
     #line 35 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.GroupCommand_Executed);
     
     #line default
     #line hidden
     
     #line 35 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.GroupCommand_CanExecute);
     
     #line default
     #line hidden
     return;
     case 8:
     
     #line 36 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.GroupCommand_Executed);
     
     #line default
     #line hidden
     
     #line 36 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.GroupCommand_CanExecute);
     
     #line default
     #line hidden
     return;
     case 9:
     
     #line 37 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.GroupCommand_Executed);
     
     #line default
     #line hidden
     
     #line 37 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.GroupCommand_CanExecute);
     
     #line default
     #line hidden
     return;
     case 10:
     
     #line 38 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.GroupCommand_Executed);
     
     #line default
     #line hidden
     
     #line 38 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.GroupCommand_CanExecute);
     
     #line default
     #line hidden
     return;
     case 11:
     
     #line 39 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.GroupCommand_Executed);
     
     #line default
     #line hidden
     
     #line 39 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.GroupCommand_CanExecute);
     
     #line default
     #line hidden
     return;
     case 12:
     
     #line 40 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed);
     
     #line default
     #line hidden
     
     #line 40 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute);
     
     #line default
     #line hidden
     return;
     case 13:
     
     #line 41 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed);
     
     #line default
     #line hidden
     
     #line 41 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute);
     
     #line default
     #line hidden
     return;
     case 14:
     
     #line 42 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed);
     
     #line default
     #line hidden
     
     #line 42 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute);
     
     #line default
     #line hidden
     return;
     case 15:
     
     #line 43 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed);
     
     #line default
     #line hidden
     
     #line 43 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute);
     
     #line default
     #line hidden
     return;
     case 16:
     
     #line 44 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed);
     
     #line default
     #line hidden
     
     #line 44 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute);
     
     #line default
     #line hidden
     return;
     case 17:
     
     #line 45 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute);
     
     #line default
     #line hidden
     return;
     case 18:
     
     #line 46 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed);
     
     #line default
     #line hidden
     
     #line 46 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute);
     
     #line default
     #line hidden
     return;
     case 19:
     
     #line 47 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed);
     
     #line default
     #line hidden
     
     #line 47 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute);
     
     #line default
     #line hidden
     return;
     case 20:
     
     #line 48 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed);
     
     #line default
     #line hidden
     
     #line 48 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute);
     
     #line default
     #line hidden
     return;
     case 21:
     
     #line 49 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed);
     
     #line default
     #line hidden
     
     #line 49 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute);
     
     #line default
     #line hidden
     return;
     case 22:
     
     #line 50 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed);
     
     #line default
     #line hidden
     
     #line 50 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute);
     
     #line default
     #line hidden
     return;
     case 23:
     
     #line 51 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed);
     
     #line default
     #line hidden
     
     #line 51 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute);
     
     #line default
     #line hidden
     return;
     case 24:
     
     #line 52 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute);
     
     #line default
     #line hidden
     return;
     case 25:
     
     #line 53 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed);
     
     #line default
     #line hidden
     
     #line 53 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute);
     
     #line default
     #line hidden
     return;
     case 26:
     
     #line 54 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed);
     
     #line default
     #line hidden
     
     #line 54 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute);
     
     #line default
     #line hidden
     return;
     case 27:
     
     #line 55 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed);
     
     #line default
     #line hidden
     
     #line 55 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute);
     
     #line default
     #line hidden
     return;
     case 28:
     
     #line 56 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed);
     
     #line default
     #line hidden
     
     #line 56 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute);
     
     #line default
     #line hidden
     return;
     case 29:
     
     #line 57 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute);
     
     #line default
     #line hidden
     return;
     case 30:
     
     #line 58 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed);
     
     #line default
     #line hidden
     
     #line 58 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute);
     
     #line default
     #line hidden
     return;
     case 31:
     
     #line 59 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed);
     
     #line default
     #line hidden
     
     #line 59 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute);
     
     #line default
     #line hidden
     return;
     case 32:
     
     #line 60 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed);
     
     #line default
     #line hidden
     
     #line 60 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute);
     
     #line default
     #line hidden
     return;
     case 33:
     
     #line 61 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed);
     
     #line default
     #line hidden
     
     #line 61 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute);
     
     #line default
     #line hidden
     return;
     case 34:
     
     #line 62 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed);
     
     #line default
     #line hidden
     
     #line 62 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute);
     
     #line default
     #line hidden
     return;
     case 35:
     
     #line 63 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed);
     
     #line default
     #line hidden
     
     #line 63 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute);
     
     #line default
     #line hidden
     return;
     case 36:
     
     #line 64 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed);
     
     #line default
     #line hidden
     
     #line 64 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute);
     
     #line default
     #line hidden
     return;
     case 37:
     
     #line 65 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute);
     
     #line default
     #line hidden
     return;
     case 38:
     
     #line 66 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute);
     
     #line default
     #line hidden
     return;
     case 39:
     
     #line 67 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed);
     
     #line default
     #line hidden
     
     #line 67 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute);
     
     #line default
     #line hidden
     return;
     case 40:
     
     #line 68 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed);
     
     #line default
     #line hidden
     
     #line 68 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute);
     
     #line default
     #line hidden
     return;
     case 41:
     
     #line 69 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed);
     
     #line default
     #line hidden
     
     #line 69 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute);
     
     #line default
     #line hidden
     return;
     case 42:
     
     #line 70 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed);
     
     #line default
     #line hidden
     
     #line 70 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute);
     
     #line default
     #line hidden
     return;
     case 43:
     
     #line 71 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed);
     
     #line default
     #line hidden
     
     #line 71 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute);
     
     #line default
     #line hidden
     return;
     case 44:
     
     #line 72 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute);
     
     #line default
     #line hidden
     return;
     case 45:
     
     #line 73 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed);
     
     #line default
     #line hidden
     
     #line 73 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute);
     
     #line default
     #line hidden
     return;
     case 46:
     
     #line 74 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed);
     
     #line default
     #line hidden
     
     #line 74 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute);
     
     #line default
     #line hidden
     return;
     case 47:
     
     #line 75 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed);
     
     #line default
     #line hidden
     
     #line 75 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute);
     
     #line default
     #line hidden
     return;
     case 48:
     
     #line 76 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed);
     
     #line default
     #line hidden
     
     #line 76 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute);
     
     #line default
     #line hidden
     return;
     case 49:
     
     #line 77 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed);
     
     #line default
     #line hidden
     
     #line 77 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute);
     
     #line default
     #line hidden
     return;
     case 50:
     
     #line 78 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed);
     
     #line default
     #line hidden
     
     #line 78 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute);
     
     #line default
     #line hidden
     return;
     case 51:
     
     #line 79 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed);
     
     #line default
     #line hidden
     
     #line 79 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute);
     
     #line default
     #line hidden
     return;
     case 52:
     
     #line 80 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed);
     
     #line default
     #line hidden
     
     #line 80 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute);
     
     #line default
     #line hidden
     return;
     case 53:
     
     #line 81 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed);
     
     #line default
     #line hidden
     
     #line 81 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute);
     
     #line default
     #line hidden
     return;
     case 54:
     
     #line 82 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute);
     
     #line default
     #line hidden
     return;
     case 55:
     
     #line 83 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed);
     
     #line default
     #line hidden
     
     #line 83 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute);
     
     #line default
     #line hidden
     return;
     case 56:
     
     #line 84 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed);
     
     #line default
     #line hidden
     
     #line 84 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute);
     
     #line default
     #line hidden
     return;
     case 57:
     
     #line 85 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed);
     
     #line default
     #line hidden
     
     #line 85 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute);
     
     #line default
     #line hidden
     return;
     case 58:
     
     #line 86 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed);
     
     #line default
     #line hidden
     
     #line 86 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute);
     
     #line default
     #line hidden
     return;
     case 59:
     
     #line 87 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute);
     
     #line default
     #line hidden
     return;
     case 60:
     
     #line 88 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed);
     
     #line default
     #line hidden
     
     #line 88 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute);
     
     #line default
     #line hidden
     return;
     case 61:
     
     #line 89 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute);
     
     #line default
     #line hidden
     return;
     case 62:
     
     #line 90 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute);
     
     #line default
     #line hidden
     return;
     case 63:
     
     #line 91 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute);
     
     #line default
     #line hidden
     return;
     case 64:
     
     #line 92 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed);
     
     #line default
     #line hidden
     
     #line 92 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute);
     
     #line default
     #line hidden
     return;
     case 65:
     
     #line 93 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed);
     
     #line default
     #line hidden
     
     #line 93 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute);
     
     #line default
     #line hidden
     return;
     case 66:
     
     #line 94 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed);
     
     #line default
     #line hidden
     
     #line 94 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute);
     
     #line default
     #line hidden
     return;
     case 67:
     
     #line 95 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed);
     
     #line default
     #line hidden
     
     #line 95 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute);
     
     #line default
     #line hidden
     return;
     case 68:
     
     #line 96 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed);
     
     #line default
     #line hidden
     
     #line 96 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute);
     
     #line default
     #line hidden
     return;
     case 69:
     
     #line 97 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed);
     
     #line default
     #line hidden
     
     #line 97 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute);
     
     #line default
     #line hidden
     return;
     case 70:
     
     #line 98 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed);
     
     #line default
     #line hidden
     
     #line 98 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute);
     
     #line default
     #line hidden
     return;
     case 71:
     
     #line 99 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed);
     
     #line default
     #line hidden
     
     #line 99 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute);
     
     #line default
     #line hidden
     return;
     case 72:
     
     #line 100 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed);
     
     #line default
     #line hidden
     
     #line 100 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute);
     
     #line default
     #line hidden
     return;
     case 73:
     
     #line 101 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed);
     
     #line default
     #line hidden
     
     #line 101 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute);
     
     #line default
     #line hidden
     return;
     case 74:
     
     #line 102 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed);
     
     #line default
     #line hidden
     
     #line 102 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute);
     
     #line default
     #line hidden
     return;
     case 75:
     
     #line 103 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed);
     
     #line default
     #line hidden
     
     #line 103 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute);
     
     #line default
     #line hidden
     return;
     case 76:
     
     #line 104 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed);
     
     #line default
     #line hidden
     
     #line 104 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute);
     
     #line default
     #line hidden
     return;
     case 77:
     
     #line 105 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed);
     
     #line default
     #line hidden
     
     #line 105 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute);
     
     #line default
     #line hidden
     return;
     case 78:
     
     #line 106 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed);
     
     #line default
     #line hidden
     
     #line 106 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute);
     
     #line default
     #line hidden
     return;
     case 79:
     
     #line 107 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed);
     
     #line default
     #line hidden
     
     #line 107 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute);
     
     #line default
     #line hidden
     return;
     case 80:
     
     #line 108 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed);
     
     #line default
     #line hidden
     
     #line 108 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute);
     
     #line default
     #line hidden
     return;
     case 81:
     
     #line 109 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed);
     
     #line default
     #line hidden
     
     #line 109 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute);
     
     #line default
     #line hidden
     return;
     case 82:
     
     #line 110 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute);
     
     #line default
     #line hidden
     return;
     case 83:
     
     #line 111 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed);
     
     #line default
     #line hidden
     
     #line 111 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute);
     
     #line default
     #line hidden
     return;
     case 84:
     
     #line 112 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed);
     
     #line default
     #line hidden
     
     #line 112 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute);
     
     #line default
     #line hidden
     return;
     case 85:
     
     #line 113 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed);
     
     #line default
     #line hidden
     
     #line 113 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute);
     
     #line default
     #line hidden
     return;
     case 86:
     
     #line 114 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed);
     
     #line default
     #line hidden
     
     #line 114 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute);
     
     #line default
     #line hidden
     return;
     case 87:
     
     #line 115 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed);
     
     #line default
     #line hidden
     
     #line 115 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute);
     
     #line default
     #line hidden
     return;
     case 88:
     
     #line 116 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed);
     
     #line default
     #line hidden
     
     #line 116 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute);
     
     #line default
     #line hidden
     return;
     case 89:
     
     #line 117 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed);
     
     #line default
     #line hidden
     
     #line 117 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute);
     
     #line default
     #line hidden
     return;
     case 90:
     
     #line 118 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed);
     
     #line default
     #line hidden
     
     #line 118 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute);
     
     #line default
     #line hidden
     return;
     case 91:
     
     #line 119 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed);
     
     #line default
     #line hidden
     
     #line 119 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute);
     
     #line default
     #line hidden
     return;
     case 92:
     
     #line 120 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed);
     
     #line default
     #line hidden
     
     #line 120 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute);
     
     #line default
     #line hidden
     return;
     case 93:
     
     #line 121 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute);
     
     #line default
     #line hidden
     return;
     case 94:
     
     #line 122 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute);
     
     #line default
     #line hidden
     return;
     case 95:
     
     #line 123 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed);
     
     #line default
     #line hidden
     
     #line 123 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute);
     
     #line default
     #line hidden
     return;
     case 96:
     
     #line 124 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed);
     
     #line default
     #line hidden
     
     #line 124 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute);
     
     #line default
     #line hidden
     return;
     case 97:
     
     #line 125 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed);
     
     #line default
     #line hidden
     
     #line 125 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute);
     
     #line default
     #line hidden
     return;
     case 98:
     
     #line 126 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed);
     
     #line default
     #line hidden
     
     #line 126 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute);
     
     #line default
     #line hidden
     return;
     case 99:
     
     #line 127 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed);
     
     #line default
     #line hidden
     
     #line 127 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute);
     
     #line default
     #line hidden
     return;
     case 100:
     
     #line 128 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed);
     
     #line default
     #line hidden
     
     #line 128 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute);
     
     #line default
     #line hidden
     return;
     case 101:
     
     #line 129 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed);
     
     #line default
     #line hidden
     
     #line 129 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute);
     
     #line default
     #line hidden
     return;
     case 102:
     
     #line 130 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed);
     
     #line default
     #line hidden
     
     #line 130 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute);
     
     #line default
     #line hidden
     return;
     case 103:
     
     #line 131 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed);
     
     #line default
     #line hidden
     
     #line 131 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute);
     
     #line default
     #line hidden
     return;
     case 104:
     
     #line 132 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed);
     
     #line default
     #line hidden
     
     #line 132 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute);
     
     #line default
     #line hidden
     return;
     case 105:
     
     #line 133 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed);
     
     #line default
     #line hidden
     
     #line 133 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute);
     
     #line default
     #line hidden
     return;
     case 106:
     
     #line 134 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed);
     
     #line default
     #line hidden
     
     #line 134 "..\..\WndCP.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute);
     
     #line default
     #line hidden
     return;
     case 107:
     this.tbrCp = ((System.Windows.Controls.WrapPanel)(target));
     return;
     case 108:
     this.cmdNewNote = ((PNotes.NET.ToolbarButton)(target));
     return;
     case 109:
     this.cmdLoadNotes = ((PNotes.NET.ToolbarButton)(target));
     return;
     case 110:
     this.cmdNoteFromCB = ((PNotes.NET.ToolbarButton)(target));
     return;
     case 111:
     this.cmdDuplicateNote = ((PNotes.NET.ToolbarButton)(target));
     return;
     case 112:
     this.cmdSaveAsShortcut = ((PNotes.NET.ToolbarButton)(target));
     return;
     case 113:
     this.cmdDiary = ((PNotes.NET.DropDownButton)(target));
     return;
     case 114:
     this.cmdSave = ((PNotes.NET.ToolbarButton)(target));
     return;
     case 115:
     this.cmdSaveAs = ((PNotes.NET.ToolbarButton)(target));
     return;
     case 116:
     this.cmdSaveAsText = ((PNotes.NET.ToolbarButton)(target));
     return;
     case 117:
     this.cmdRestoreFromBackup = ((PNotes.NET.ToolbarButton)(target));
     return;
     case 118:
     this.cmdPrint = ((PNotes.NET.ToolbarButton)(target));
     return;
     case 119:
     this.cmdAdjust = ((PNotes.NET.DropDownButton)(target));
     return;
     case 120:
     this.cmdDelete = ((PNotes.NET.ToolbarButton)(target));
     return;
     case 121:
     this.cmdSaveAll = ((PNotes.NET.ToolbarButton)(target));
     return;
     case 122:
     this.cmdBackup = ((PNotes.NET.DropDownButton)(target));
     return;
     case 123:
     this.cmdPlacement = ((PNotes.NET.DropDownButton)(target));
     return;
     case 124:
     this.cmdSendAsText = ((PNotes.NET.ToolbarButton)(target));
     return;
     case 125:
     this.cmdSendAsAttachment = ((PNotes.NET.ToolbarButton)(target));
     return;
     case 126:
     this.cmdSendZip = ((PNotes.NET.ToolbarButton)(target));
     return;
     case 127:
     this.cmdSendNetwork = ((PNotes.NET.DropDownButton)(target));
     return;
     case 128:
     this.cmdTags = ((PNotes.NET.DropDownButton)(target));
     return;
     case 129:
     this.cmdSwitches = ((PNotes.NET.DropDownButton)(target));
     return;
     case 130:
     this.cmdFavorites = ((PNotes.NET.ToolbarButton)(target));
     return;
     case 131:
     this.cmdRemoveFromFavorites = ((PNotes.NET.ToolbarButton)(target));
     return;
     case 132:
     this.cmdRun = ((PNotes.NET.DropDownButton)(target));
     return;
     case 133:
     this.cmdEmptyBin = ((PNotes.NET.ToolbarButton)(target));
     return;
     case 134:
     this.cmdRestoreNote = ((PNotes.NET.ToolbarButton)(target));
     return;
     case 135:
     this.cmdPreview = ((PNotes.NET.ToolbarToggleButton)(target));
     return;
     case 136:
     this.cmdPreviewSettings = ((PNotes.NET.DropDownButton)(target));
     return;
     case 137:
     this.cmdPreviewRight = ((PNotes.NET.ToolbarToggleButton)(target));
     return;
     case 138:
     this.cmdShowGroups = ((PNotes.NET.ToolbarToggleButton)(target));
     return;
     case 139:
     this.cmdColReset = ((PNotes.NET.ToolbarButton)(target));
     return;
     case 140:
     this.cmdHotkeysCP = ((PNotes.NET.ToolbarButton)(target));
     return;
     case 141:
     this.cmdMenusManagementCP = ((PNotes.NET.ToolbarButton)(target));
     return;
     case 142:
     this.cmdPreferences = ((PNotes.NET.ToolbarButton)(target));
     return;
     case 143:
     this.cmdPassword = ((PNotes.NET.DropDownButton)(target));
     return;
     case 144:
     this.cmdSearch = ((PNotes.NET.DropDownButton)(target));
     return;
     case 145:
     this.txtQSearch = ((System.Windows.Controls.TextBox)(target));
     
     #line 651 "..\..\WndCP.xaml"
     this.txtQSearch.LostFocus += new System.Windows.RoutedEventHandler(this.txtQSearch_LostFocus);
     
     #line default
     #line hidden
     
     #line 651 "..\..\WndCP.xaml"
     this.txtQSearch.GotFocus += new System.Windows.RoutedEventHandler(this.txtQSearch_GotFocus);
     
     #line default
     #line hidden
     
     #line 651 "..\..\WndCP.xaml"
     this.txtQSearch.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtQSearch_TextChanged);
     
     #line default
     #line hidden
     
     #line 651 "..\..\WndCP.xaml"
     this.txtQSearch.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.txtQSearch_PreviewKeyDown);
     
     #line default
     #line hidden
     return;
     case 146:
     this.txtSearch = ((System.Windows.Controls.TextBox)(target));
     
     #line 652 "..\..\WndCP.xaml"
     this.txtSearch.IsVisibleChanged += new System.Windows.DependencyPropertyChangedEventHandler(this.txtSearch_IsVisibleChanged);
     
     #line default
     #line hidden
     
     #line 652 "..\..\WndCP.xaml"
     this.txtSearch.GotFocus += new System.Windows.RoutedEventHandler(this.txtSearch_GotFocus);
     
     #line default
     #line hidden
     
     #line 652 "..\..\WndCP.xaml"
     this.txtSearch.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.txtSearch_MouseLeftButtonDown);
     
     #line default
     #line hidden
     return;
     case 147:
     this.cmdQuickSearch = ((PNotes.NET.ToolbarButton)(target));
     return;
     case 148:
     this.cmdHelp = ((PNotes.NET.ToolbarButton)(target));
     return;
     case 149:
     this.cmdSupport = ((PNotes.NET.ToolbarButton)(target));
     return;
     case 150:
     this.cmdAbout = ((PNotes.NET.ToolbarButton)(target));
     return;
     case 151:
     this.stsCP = ((System.Windows.Controls.Primitives.StatusBar)(target));
     return;
     case 152:
     this.stlName = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 153:
     this.stlCount = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 154:
     this.stlTotal = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 155:
     this.OuterGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 156:
     this.tbrGroups = ((System.Windows.Controls.WrapPanel)(target));
     return;
     case 157:
     this.cmdAddTopGroup = ((PNotes.NET.ToolbarButton)(target));
     return;
     case 158:
     this.cmdAddSubgroup = ((PNotes.NET.ToolbarButton)(target));
     return;
     case 159:
     this.cmdEditGroup = ((PNotes.NET.ToolbarButton)(target));
     return;
     case 160:
     this.cmdRemoveGroup = ((PNotes.NET.ToolbarButton)(target));
     return;
     case 161:
     this.cmdShowAllFromGroup = ((PNotes.NET.ToolbarButton)(target));
     return;
     case 162:
     this.cmdShowAllIncSubgroups = ((PNotes.NET.ToolbarButton)(target));
     return;
     case 163:
     this.cmdHideAllFromGroup = ((PNotes.NET.ToolbarButton)(target));
     return;
     case 164:
     this.cmdHideAllIncSubgroups = ((PNotes.NET.ToolbarButton)(target));
     return;
     case 165:
     this.cmdSetGroupPassword = ((PNotes.NET.ToolbarButton)(target));
     return;
     case 166:
     this.cmdRemoveGroupPassword = ((PNotes.NET.ToolbarButton)(target));
     return;
     case 167:
     this.ctmGroups = ((System.Windows.Controls.ContextMenu)(target));
     
     #line 746 "..\..\WndCP.xaml"
     this.ctmGroups.Closed += new System.Windows.RoutedEventHandler(this.ctmGroups_Closed);
     
     #line default
     #line hidden
     return;
     case 168:
     this.sepGroupsMenu = ((System.Windows.Controls.Separator)(target));
     return;
     case 169:
     this.tvwGroups = ((PNotes.NET.PNTreeView)(target));
     return;
     case 170:
     this.SplitLeft = ((System.Windows.Controls.GridSplitter)(target));
     return;
     case 171:
     this.InnerGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 172:
     this.grdBackup = ((System.Windows.Controls.ListView)(target));
     
     #line 829 "..\..\WndCP.xaml"
     this.grdBackup.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.grdBackup_SelectionChanged);
     
     #line default
     #line hidden
     
     #line 829 "..\..\WndCP.xaml"
     this.grdBackup.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.grdBackup_MouseDoubleClick);
     
     #line default
     #line hidden
     return;
     case 173:
     
     #line 833 "..\..\WndCP.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Checked += new System.Windows.RoutedEventHandler(this.BackHeadeMenuItem_Checked);
     
     #line default
     #line hidden
     
     #line 833 "..\..\WndCP.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Unchecked += new System.Windows.RoutedEventHandler(this.BackHeadeMenuItem_Checked);
     
     #line default
     #line hidden
     return;
     case 174:
     
     #line 834 "..\..\WndCP.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Checked += new System.Windows.RoutedEventHandler(this.BackHeadeMenuItem_Checked);
     
     #line default
     #line hidden
     
     #line 834 "..\..\WndCP.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Unchecked += new System.Windows.RoutedEventHandler(this.BackHeadeMenuItem_Checked);
     
     #line default
     #line hidden
     return;
     case 175:
     this.grdNotes = ((System.Windows.Controls.ListView)(target));
     
     #line 857 "..\..\WndCP.xaml"
     this.grdNotes.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.grdNotes_SelectionChanged);
     
     #line default
     #line hidden
     
     #line 857 "..\..\WndCP.xaml"
     this.grdNotes.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.grdNotes_MouseDoubleClick);
     
     #line default
     #line hidden
     
     #line 857 "..\..\WndCP.xaml"
     this.grdNotes.PreviewMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.grdNotes_PreviewMouseLeftButtonDown);
     
     #line default
     #line hidden
     
     #line 857 "..\..\WndCP.xaml"
     this.grdNotes.PreviewMouseMove += new System.Windows.Input.MouseEventHandler(this.grdNotes_PreviewMouseMove);
     
     #line default
     #line hidden
     
     #line 857 "..\..\WndCP.xaml"
     this.grdNotes.PreviewMouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.grdNotes_PreviewMouseLeftButtonUp);
     
     #line default
     #line hidden
     
     #line 857 "..\..\WndCP.xaml"
     this.grdNotes.LostMouseCapture += new System.Windows.Input.MouseEventHandler(this.grdNotes_LostMouseCapture);
     
     #line default
     #line hidden
     
     #line 857 "..\..\WndCP.xaml"
     this.grdNotes.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.grdNotes_PreviewKeyDown);
     
     #line default
     #line hidden
     return;
     case 176:
     
     #line 861 "..\..\WndCP.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Checked += new System.Windows.RoutedEventHandler(this.NotesHeaderMenuItem_Checked);
     
     #line default
     #line hidden
     
     #line 861 "..\..\WndCP.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Unchecked += new System.Windows.RoutedEventHandler(this.NotesHeaderMenuItem_Checked);
     
     #line default
     #line hidden
     return;
     case 177:
     
     #line 862 "..\..\WndCP.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Checked += new System.Windows.RoutedEventHandler(this.NotesHeaderMenuItem_Checked);
     
     #line default
     #line hidden
     
     #line 862 "..\..\WndCP.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Unchecked += new System.Windows.RoutedEventHandler(this.NotesHeaderMenuItem_Checked);
     
     #line default
     #line hidden
     return;
     case 178:
     
     #line 863 "..\..\WndCP.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Checked += new System.Windows.RoutedEventHandler(this.NotesHeaderMenuItem_Checked);
     
     #line default
     #line hidden
     
     #line 863 "..\..\WndCP.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Unchecked += new System.Windows.RoutedEventHandler(this.NotesHeaderMenuItem_Checked);
     
     #line default
     #line hidden
     return;
     case 179:
     
     #line 864 "..\..\WndCP.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Checked += new System.Windows.RoutedEventHandler(this.NotesHeaderMenuItem_Checked);
     
     #line default
     #line hidden
     
     #line 864 "..\..\WndCP.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Unchecked += new System.Windows.RoutedEventHandler(this.NotesHeaderMenuItem_Checked);
     
     #line default
     #line hidden
     return;
     case 180:
     
     #line 865 "..\..\WndCP.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Checked += new System.Windows.RoutedEventHandler(this.NotesHeaderMenuItem_Checked);
     
     #line default
     #line hidden
     
     #line 865 "..\..\WndCP.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Unchecked += new System.Windows.RoutedEventHandler(this.NotesHeaderMenuItem_Checked);
     
     #line default
     #line hidden
     return;
     case 181:
     
     #line 866 "..\..\WndCP.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Checked += new System.Windows.RoutedEventHandler(this.NotesHeaderMenuItem_Checked);
     
     #line default
     #line hidden
     
     #line 866 "..\..\WndCP.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Unchecked += new System.Windows.RoutedEventHandler(this.NotesHeaderMenuItem_Checked);
     
     #line default
     #line hidden
     return;
     case 182:
     
     #line 867 "..\..\WndCP.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Checked += new System.Windows.RoutedEventHandler(this.NotesHeaderMenuItem_Checked);
     
     #line default
     #line hidden
     
     #line 867 "..\..\WndCP.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Unchecked += new System.Windows.RoutedEventHandler(this.NotesHeaderMenuItem_Checked);
     
     #line default
     #line hidden
     return;
     case 183:
     
     #line 868 "..\..\WndCP.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Checked += new System.Windows.RoutedEventHandler(this.NotesHeaderMenuItem_Checked);
     
     #line default
     #line hidden
     
     #line 868 "..\..\WndCP.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Unchecked += new System.Windows.RoutedEventHandler(this.NotesHeaderMenuItem_Checked);
     
     #line default
     #line hidden
     return;
     case 184:
     
     #line 869 "..\..\WndCP.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Checked += new System.Windows.RoutedEventHandler(this.NotesHeaderMenuItem_Checked);
     
     #line default
     #line hidden
     
     #line 869 "..\..\WndCP.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Unchecked += new System.Windows.RoutedEventHandler(this.NotesHeaderMenuItem_Checked);
     
     #line default
     #line hidden
     return;
     case 185:
     
     #line 870 "..\..\WndCP.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Checked += new System.Windows.RoutedEventHandler(this.NotesHeaderMenuItem_Checked);
     
     #line default
     #line hidden
     
     #line 870 "..\..\WndCP.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Unchecked += new System.Windows.RoutedEventHandler(this.NotesHeaderMenuItem_Checked);
     
     #line default
     #line hidden
     return;
     case 186:
     
     #line 871 "..\..\WndCP.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Checked += new System.Windows.RoutedEventHandler(this.NotesHeaderMenuItem_Checked);
     
     #line default
     #line hidden
     
     #line 871 "..\..\WndCP.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Unchecked += new System.Windows.RoutedEventHandler(this.NotesHeaderMenuItem_Checked);
     
     #line default
     #line hidden
     return;
     case 187:
     
     #line 872 "..\..\WndCP.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Checked += new System.Windows.RoutedEventHandler(this.NotesHeaderMenuItem_Checked);
     
     #line default
     #line hidden
     
     #line 872 "..\..\WndCP.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Unchecked += new System.Windows.RoutedEventHandler(this.NotesHeaderMenuItem_Checked);
     
     #line default
     #line hidden
     return;
     case 188:
     
     #line 873 "..\..\WndCP.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Checked += new System.Windows.RoutedEventHandler(this.NotesHeaderMenuItem_Checked);
     
     #line default
     #line hidden
     
     #line 873 "..\..\WndCP.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Unchecked += new System.Windows.RoutedEventHandler(this.NotesHeaderMenuItem_Checked);
     
     #line default
     #line hidden
     return;
     case 189:
     
     #line 874 "..\..\WndCP.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Checked += new System.Windows.RoutedEventHandler(this.NotesHeaderMenuItem_Checked);
     
     #line default
     #line hidden
     
     #line 874 "..\..\WndCP.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Unchecked += new System.Windows.RoutedEventHandler(this.NotesHeaderMenuItem_Checked);
     
     #line default
     #line hidden
     return;
     case 190:
     
     #line 875 "..\..\WndCP.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Checked += new System.Windows.RoutedEventHandler(this.NotesHeaderMenuItem_Checked);
     
     #line default
     #line hidden
     
     #line 875 "..\..\WndCP.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Unchecked += new System.Windows.RoutedEventHandler(this.NotesHeaderMenuItem_Checked);
     
     #line default
     #line hidden
     return;
     case 191:
     
     #line 876 "..\..\WndCP.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Checked += new System.Windows.RoutedEventHandler(this.NotesHeaderMenuItem_Checked);
     
     #line default
     #line hidden
     
     #line 876 "..\..\WndCP.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Unchecked += new System.Windows.RoutedEventHandler(this.NotesHeaderMenuItem_Checked);
     
     #line default
     #line hidden
     return;
     case 192:
     
     #line 877 "..\..\WndCP.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Checked += new System.Windows.RoutedEventHandler(this.NotesHeaderMenuItem_Checked);
     
     #line default
     #line hidden
     
     #line 877 "..\..\WndCP.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Unchecked += new System.Windows.RoutedEventHandler(this.NotesHeaderMenuItem_Checked);
     
     #line default
     #line hidden
     return;
     case 193:
     
     #line 878 "..\..\WndCP.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Checked += new System.Windows.RoutedEventHandler(this.NotesHeaderMenuItem_Checked);
     
     #line default
     #line hidden
     
     #line 878 "..\..\WndCP.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Unchecked += new System.Windows.RoutedEventHandler(this.NotesHeaderMenuItem_Checked);
     
     #line default
     #line hidden
     return;
     case 194:
     
     #line 879 "..\..\WndCP.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Checked += new System.Windows.RoutedEventHandler(this.NotesHeaderMenuItem_Checked);
     
     #line default
     #line hidden
     
     #line 879 "..\..\WndCP.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Unchecked += new System.Windows.RoutedEventHandler(this.NotesHeaderMenuItem_Checked);
     
     #line default
     #line hidden
     return;
     case 195:
     
     #line 880 "..\..\WndCP.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Checked += new System.Windows.RoutedEventHandler(this.NotesHeaderMenuItem_Checked);
     
     #line default
     #line hidden
     
     #line 880 "..\..\WndCP.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Unchecked += new System.Windows.RoutedEventHandler(this.NotesHeaderMenuItem_Checked);
     
     #line default
     #line hidden
     return;
     case 196:
     
     #line 881 "..\..\WndCP.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Checked += new System.Windows.RoutedEventHandler(this.NotesHeaderMenuItem_Checked);
     
     #line default
     #line hidden
     
     #line 881 "..\..\WndCP.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Unchecked += new System.Windows.RoutedEventHandler(this.NotesHeaderMenuItem_Checked);
     
     #line default
     #line hidden
     return;
     case 197:
     this.ctmList = ((System.Windows.Controls.ContextMenu)(target));
     
     #line 995 "..\..\WndCP.xaml"
     this.ctmList.Opened += new System.Windows.RoutedEventHandler(this.ListMenu_Opened);
     
     #line default
     #line hidden
     return;
     case 198:
     this.mnuNewNote = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 199:
     this.mnuLoadNotes = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 200:
     this.mnuNoteFromCB = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 201:
     this.mnuDuplicateNote = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 202:
     this.mnuSaveAsShortcut = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 203:
     this.mnuDiary = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 204:
     this.toolStripMenuItem17 = ((System.Windows.Controls.Separator)(target));
     return;
     case 205:
     this.mnuSave = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 206:
     this.mnuSaveAs = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 207:
     this.mnuSaveAsText = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 208:
     this.mnuRestoreFromBackup = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 209:
     this.mnuPrint = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 210:
     this.mnuAdjust = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 211:
     this.toolStripMenuItem18 = ((System.Windows.Controls.Separator)(target));
     return;
     case 212:
     this.mnuDelete = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 213:
     this.toolStripSeparator4 = ((System.Windows.Controls.Separator)(target));
     return;
     case 214:
     this.mnuSaveAll = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 215:
     this.toolStripSeparator22 = ((System.Windows.Controls.Separator)(target));
     return;
     case 216:
     this.mnuBackup = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 217:
     this.toolStripMenuItem21 = ((System.Windows.Controls.Separator)(target));
     return;
     case 218:
     this.toolStripMenuItem19 = ((System.Windows.Controls.Separator)(target));
     return;
     case 219:
     this.mnuPlacement = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 220:
     this.toolStripMenuItem2 = ((System.Windows.Controls.Separator)(target));
     return;
     case 221:
     this.toolStripMenuItem20 = ((System.Windows.Controls.Separator)(target));
     return;
     case 222:
     this.mnuSendAsText = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 223:
     this.mnuSendAsAttachment = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 224:
     this.mnuSendZip = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 225:
     this.mnuSendNetwork = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 226:
     this.toolStripMenuItem50 = ((System.Windows.Controls.Separator)(target));
     return;
     case 227:
     this.toolStripSeparator23 = ((System.Windows.Controls.Separator)(target));
     return;
     case 228:
     this.mnuTags = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 229:
     this.toolStripSeparator24 = ((System.Windows.Controls.Separator)(target));
     return;
     case 230:
     this.mnuSwitches = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 231:
     this.mnuFavorites = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 232:
     this.mnuRemoveFromFavorites = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 233:
     this.toolStripSeparator26 = ((System.Windows.Controls.Separator)(target));
     return;
     case 234:
     this.mnuRun = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 235:
     this.toolStripSeparator27 = ((System.Windows.Controls.Separator)(target));
     return;
     case 236:
     this.mnuEmptyBin = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 237:
     this.mnuRestoreNote = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 238:
     this.toolStripSeparator28 = ((System.Windows.Controls.Separator)(target));
     return;
     case 239:
     this.mnuPreview = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 240:
     this.mnuPreviewSettings = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 241:
     this.mnuPreviewRight = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 242:
     this.toolStripSeparator29 = ((System.Windows.Controls.Separator)(target));
     return;
     case 243:
     this.mnuShowGroups = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 244:
     this.toolStripSeparator37 = ((System.Windows.Controls.Separator)(target));
     return;
     case 245:
     this.mnuColReset = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 246:
     this.mnuHotkeysCP = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 247:
     this.mnuMenusManagementCP = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 248:
     this.mnuPreferences = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 249:
     this.mnuPassword = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 250:
     this.toolStripSeparator31 = ((System.Windows.Controls.Separator)(target));
     return;
     case 251:
     this.mnuSearch = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 252:
     this.toolStripMenuItem11 = ((System.Windows.Controls.Separator)(target));
     return;
     case 253:
     this.toolStripMenuItem12 = ((System.Windows.Controls.Separator)(target));
     return;
     case 254:
     this.toolStripMenuItem13 = ((System.Windows.Controls.Separator)(target));
     return;
     case 255:
     this.toolStripSeparator32 = ((System.Windows.Controls.Separator)(target));
     return;
     case 256:
     this.mnuHelp = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 257:
     this.toolStripSeparator33 = ((System.Windows.Controls.Separator)(target));
     return;
     case 258:
     this.mnuSupport = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 259:
     this.mnuAbout = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 260:
     this.SplitHorz = ((System.Windows.Controls.GridSplitter)(target));
     return;
     case 261:
     this.SplitVert = ((System.Windows.Controls.GridSplitter)(target));
     return;
     case 262:
     this.BorderHost = ((System.Windows.Controls.Border)(target));
     return;
     case 263:
     this.brdHost = ((System.Windows.Controls.Border)(target));
     return;
     }
     this._contentLoaded = true;
 }