Пример #1
0
        protected override void OnClick(System.Windows.Forms.MouseEventArgs e)
        {
            var window = ((SkinBorder)Parent).Parent;

            WindowFunctions.ForceParentCommand(window, SystemCommands.ContextHelp);
            base.OnClick(e);
        }
Пример #2
0
        protected override void OnClick(System.Windows.Forms.MouseEventArgs e)
        {
            var window = ((SkinBorder)Parent).Parent;

            WindowFunctions.ToggleMaximize(window);

            base.OnClick(e);
        }