Ejemplo n.º 1
0
        private void BtnHigher_OnClick(object sender, RoutedEventArgs e)
        {
            var zOrder = WindowsZOrderManager.GetZOrder(this) + 1;
            var win    = Create(zOrder);

            win.Show();
        }
Ejemplo n.º 2
0
        private void SubWindow_OnLoaded(object sender, RoutedEventArgs e)
        {
            if (ResizeMode == ResizeMode.CanResize)
            {
                ResizeCk.IsChecked = true;
            }
            if (ShowInTaskbar)
            {
                TaskbarCk.IsChecked = true;
            }

            if (WindowsZOrderManager.GetZOrder(this) == WindowZOrder.Top)
            {
                BtnHigher.Visibility = Visibility.Collapsed;
            }
        }