예제 #1
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            Watch watch = new Watch();

            watch.Initialize();

            using (WatchForm wf = new WatchForm())
            {
                wf.DrawClipBoard += (s, e) => watch.OnClip();

                Application.Run();
            }
            Properties.Settings.Default.Save();
        }
예제 #2
0
        //

        private void MainForm_Load(object sender, EventArgs e)
        {
            watch.Initialize();
        }