Beispiel #1
0
        private void Window_Loaded(object sender, RoutedEventArgs e)
        {
            var desktopWorkingArea = System.Windows.SystemParameters.WorkArea;

            this.Left = desktopWorkingArea.Right - this.Width;
            this.Top  = desktopWorkingArea.Bottom - this.Height;

            GeneralWinUtils.SetWindowToHideFromAltTab(new WindowInteropHelper(this).Handle);
        }
Beispiel #2
0
        public static ActionBubble createBubbleFromExe(string i_FileName)
        {
            ActionBubble ab      = null;
            ImageBrush   theIcon = utils.ImageBrushFromIconConverter.createImageBrushFromIcon(GeneralWinUtils.GetLargeIcon(i_FileName));

            ab = CreateActionBubble(() => { Process.Start(i_FileName); }, theIcon);
            ab.BubbleData.ActionData = i_FileName;
            ab.BubbleData.BubbleType = eBubbleType.Exe;

            return(ab);
        }