Example #1
0
        /// <summary>
        /// 新建一个快捷应用app6
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void newToolStripMenuItem5_Click(object sender, EventArgs e)
        {
            timerWindowHidder.Enabled = false;
            SetQuickApp newapp = SetQuickApp.GetInstace();

            //SetQuickApp newapp = new SetQuickApp();
            newapp.NewApp(btnApp6);
            timerWindowHidder.Enabled = true;
        }
Example #2
0
        static string fullpath = Application.StartupPath + "\\" + "apppath";//全局路径
        /// <summary>
        /// 创建一个新的快捷应用app1
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void newToolStripMenuItem_Click(object sender, EventArgs e)
        {
            timerWindowHidder.Enabled = false;
            SetQuickApp newapp = SetQuickApp.GetInstace();

            //SetQuickApp newapp = new SetQuickApp();
            newapp.NewApp(btnApp1);
            this.btnApp1.Image        = (GetExeIcon.GetIcon(newapp.AppPath, true)).ToBitmap();
            timerWindowHidder.Enabled = true;
        }