Пример #1
0
        private void InitCtrl()
        {
            try
            {
                MainNotifyEffect.FontSize    = 22;
                MainNotifyEffect.FontBold    = true;
                MainNotifyEffect.InSpeed     = 60;
                MainNotifyEffect.WaitTimeMs  = 1000;
                MainNotifyEffect.BorderStyle = BorderStyle.FixedSingle;
                MainNotifyEffect.Start();
                string tmpBroad = this.datamanager.getBroadName((uint)Properties.Settings.Default.cnfBroad);
                notifyeffectstr = "●○ 방송 DMB송출 시스템" + tmpBroad + " ○●";

                this.controlset.IssuesInitCtrl(this.DmbIssuesLV);//리스트뷰 컬럼초기화
            }
            catch (Exception ex)
            {
                Console.WriteLine("MainViewForm.InitCtrl - " + ex.Message);
            }
        }
Пример #2
0
        private void MainViewForm_Activated(object sender, EventArgs e)
        {
            try
            {
                MainNotifyEffect.DeleteAllMsg();
                if (this.notifyeffectstr.Substring(0, 2) == "최근")
                {
                    MainNotifyEffect.Blink = true;
                    MainNotifyEffect.AddMsg(this.notifyeffectstr, Properties.Resources.megaphone_48x48_);
                }
                else
                {
                    MainNotifyEffect.Blink = false;
                    MainNotifyEffect.AddMsg(this.notifyeffectstr);
                }

                MainNotifyEffect.Start();
            }
            catch (Exception ex)
            {
                Console.WriteLine("MainViewForm_Activated - " + ex.Message);
            }
        }
Пример #3
0
 private void MainViewForm_Deactivate(object sender, EventArgs e)
 {
     MainNotifyEffect.Stop();
 }