예제 #1
0
 private void 截屏ToolStripMenuItem_Click(object sender, EventArgs e)
 {
     try
     {
         ScreenPreViewForm.ShowScreen();
     }
     catch (Exception exception)
     {
         Console.WriteLine(exception);
     }
 }
예제 #2
0
        /// <summary>
        /// 点击查看
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void pictureBox1_Click(object sender, EventArgs e)
        {
            try
            {
                this.SendToBack();

                ScreenPreViewForm.ShowScreen();
            }
            catch (Exception exception)
            {
                Console.WriteLine(exception);
            }
        }