예제 #1
0
 public ActivityWindow(ActivityBar bar)
 {
     InitializeComponent();
     Topmost = true;
     ShowInTaskbar = false;
     WindowStyle = WindowStyle.None;
     ResizeMode = ResizeMode.CanResize;
     MinHeight = MaxHeight = Height;
     MinWidth = MaxWidth = Width;
     taskbar = bar;
 }
예제 #2
0
        public StartMenu(ActivityBar tBar)
        {
            InitializeComponent();

            ShowInTaskbar = false;

            SourceInitialized += StartMenu_SourceInitialized;
            taskbar = tBar;

            MinHeight = MaxHeight = Height;
            MinWidth = MaxWidth = Width;

            Top = taskbar.Height;
            Left = 4;
        }