Ejemplo n.º 1
0
        protected override void OnShown(EventArgs e)
        {
            base.OnShown(e);

            if (DesignMode || Program.IsRunTime == false)
            {
                return;
            }

#if DEBUG
#else
            TopMost = true;
            if (Screen.AllScreens.Length > 1)
            {
                var form = new ScreenSelectionForm();
                form.ShowDialog();

                if (ScreenShotTaker.Instance.Screen == null)
                {
                    MessageBox.Show("스크린이 선택되지 않았습니다.");
                    Close();
                }
            }
#endif

            tmrEmoticon.Interval = Settings.Default.EmotionCheckInterval * 1000;
            tmrEmoticon.Start();
        }
Ejemplo n.º 2
0
        protected override void OnShown(EventArgs e)
        {
            base.OnShown(e);

            if (DesignMode || Program.IsRunTime == false)
            {
                return;
            }

#if DEBUG
            TopMost = true;
#else
            TopMost = true;
            if (Screen.AllScreens.Length > 1)
            {
                var form = new ScreenSelectionForm();
                form.ShowDialog();

                if (ScreenShotTaker.Instance.Screen == null)
                {
                    MessageBox.Show("스크린이 선택되지 않았습니다.");
                    Close();
                }
            }
#endif
        }