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(); }
// private void MainForm_Load(object sender, EventArgs e) { watch.Initialize(); }