duheng
2024-11-26 6fcff08e4f76bce6076319b5b3a2456c2d94c5fe
Desktop/HStation.Desktop.PBS.Core/MainForm.cs
@@ -15,7 +15,6 @@
        public MainForm()
        {
            InitializeComponent();
        }
        #region TileNavPane 相关处理
@@ -101,7 +100,6 @@
            };
            if (!IsExistPage(guid, true))
            {
            }
        }
@@ -130,7 +128,8 @@
                                };
                                if(!IsExistPage(guid,true))
                                {
                                    var page=new Yw.WinFrmUI.DivisionMainPage();
                                    CreatePage(page,guid);
                                }
                            }
                        },
@@ -147,7 +146,8 @@
                                };
                                if(!IsExistPage(guid,true))
                                {
                                    CreatePage(new PlaceMgrPage(),guid);
                                   var page=new Yw.WinFrmUI.BuildingTypeMgr();
                                    CreatePage(page,guid);
                                }
                            }
                        },
@@ -164,27 +164,27 @@
                                };
                                if(!IsExistPage(guid,true))
                                {
                                }
                            }
                        },
                        //new TilePeekItem(){
                        //    Caption="场所分区",
                        //    SvgImage=svgImg32[3],
                        //    SvgImageSize=new Size(24,24),
                        //    Click=()=>{
                        //        this.flyoutPanel1.HideBeakForm();
                        //        var guid=new PageGuid(){
                        //            Modular="Place",
                        //            MoudingType=eMoudingType.Tab,
                        //            Function="RegionMgr",
                        //        };
                        //        if(!IsExistPage(guid,true))
                        //        {
                        //        }
                        //    }
                        //},
                        new TilePeekItem(){
                            Caption="场所分区",
                            SvgImage=svgImg32[3],
                            SvgImageSize=new Size(24,24),
                            Click=()=>{
                                this.flyoutPanel1.HideBeakForm();
                                var guid=new PageGuid(){
                                    Modular="Place",
                                    MoudingType=eMoudingType.Tab,
                                    Function="PlaceRegionMgr",
                                };
                                if(!IsExistPage(guid,true))
                                {
                                    var page=new Yw.WinFrmUI.PartitionMgr();
                                    CreatePage(page,guid);
                                 }
                            }
                        },
                    };
                _place_mgr_ctrl = peek_item_list.CreatePeekCtrl();
            }
@@ -194,7 +194,6 @@
            this.flyoutPanelControl1.Controls.Add(_place_mgr_ctrl);
            var rectangle = this.RectangleToScreen(hit_info.ButtonInfo.Bounds);
            this.flyoutPanel1.ShowBeakForm(rectangle);
        }
        //当量管理
@@ -222,7 +221,6 @@
                                };
                                if(!IsExistPage(guid,true))
                                {
                                }
                            }
                        },
@@ -239,7 +237,6 @@
                                };
                                if(!IsExistPage(guid,true))
                                {
                                }
                            }
                        }
@@ -278,7 +275,6 @@
                                };
                                if(!IsExistPage(guid,true))
                                {
                                }
                            }
                        },
@@ -295,7 +291,6 @@
                                };
                                if(!IsExistPage(guid,true))
                                {
                                }
                            }
                        },
@@ -312,7 +307,6 @@
                                };
                                if(!IsExistPage(guid,true))
                                {
                                }
                            }
                        }
@@ -324,7 +318,6 @@
            this.flyoutPanelControl1.Controls.Add(_asste_mgr_ctrl);
            var rectangle = this.RectangleToScreen(hit_info.ButtonInfo.Bounds);
            this.flyoutPanel1.ShowBeakForm(rectangle);
        }
        //系统配置
@@ -367,7 +360,6 @@
                                };
                                if(!IsExistPage(guid,true))
                                {
                                }
                            }
                         },      new TilePeekItem(){
@@ -410,7 +402,6 @@
            this.flyoutPanelControl1.Controls.Add(_system_config_ctrl);
            var rectangle = this.RectangleToScreen(hit_info.ButtonInfo.Bounds);
            this.flyoutPanel1.ShowBeakForm(rectangle);
        }
        //权限配置
@@ -483,7 +474,7 @@
            }
        }
        #endregion
        #endregion Menu
        #endregion TileNavPane 相关处理
@@ -898,7 +889,5 @@
            }
            this.tabbedView1.DocumentGroupProperties.ShowTabHeader = !this.tabbedView1.DocumentGroupProperties.ShowTabHeader;
        }
    }
}