Exemplo n.º 1
0
        private void FrmMain_Load(object sender, EventArgs e)
        {
            // AppSet
            if (ini.LoadCheck() == true)
            {
                MessageBox.Show(txt.msg_loadcheck, txt.msg_title_alert, MessageBoxButtons.OK, MessageBoxIcon.Stop);
                Dispose();
            }

            // 表單定義
            this.TransparencyKey = SystemColors.WindowFrame;
            this.Location        = ini.SetLocation(this.Width, this.Height);
            this.Icon            = Properties.Resources.favicon;

            // 滑鼠hover訊息
            ini.SetToolTip(picExit, txt.tip_butter);
            ini.SetToolTip(picLoad, txt.tip_about);

            // 工作列通知區
            noficon.Icon            = Properties.Resources.favicon;
            noficon.Text            = txt.nof_title;
            noficon.BalloonTipIcon  = ToolTipIcon.Info;
            noficon.BalloonTipTitle = txt.nof_eve;
            noficon.BalloonTipText  = txt.nof_convert;

            // 右鍵選單
            conMenu.Items[0].Text = txt.menu_ver;

            // 檢查版本
            ini.CheckUpdate(net.GetVersion(), Properties.Resources.Version, false);

            FrmInfo info = new FrmInfo();

            info.ShowDialog();
        }
Exemplo n.º 2
0
        private void itemInfo_Click(object sender, EventArgs e)
        {
            FrmInfo info = new FrmInfo();

            info.ShowDialog();
        }