#Region " RibbonEvents" Private Sub RibbonWPF_MouseDoubleClick(sender As Object, e As Windows.RoutedEventArgs) Handles RibbonWPF.MouseDoubleClick If RibbonWPF.IsMinimized = True Then '_RibbonSizeIsMinimized = True cRibbonPropsVM.RibbonSizeIsMinimized = True AppForm.UserControlWPFisMinimized = True Else '_RibbonSizeIsMinimized = False cRibbonPropsVM.RibbonSizeIsMinimized = False AppForm.UserControlWPFisMinimized = False End If End Sub Private Sub UserControlRibbonWPF_ContextMenuClosing(sender As Object, e As EventArgs) Handles Me.ContextMenuClosing AppForm.UserControlWPFisMinimized = RibbonWPF.IsMinimized 'RibbonSizeIsMinimized = RibbonWPF.IsMinimized cRibbonPropsVM.RibbonSizeIsMinimized = RibbonWPF.IsMinimized 'MsgBox(cRibbonPropsVM.RibbonSizeIsMinimized.ToString) End Sub #End Region
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)