摘要:
using System.Threading;public class Class1{ [STAThread] static void Main() { Mutex mutex = new Mutex(false, "MutexName"); if (!mutex.WaitOne(0, false)) { mute... 阅读全文
posted @ 2005-05-30 21:14
泡面 @ 幸福
阅读(324)
评论(0)
推荐(0)
摘要:
涉及类: 1、 启动画面类: public class SplashForm : System.Windows.Forms.Form { private System.Windows.Forms.PictureBox pictureBox1; private System.Windows.Forms.Label label1; private System.Windows.Forms.Label... 阅读全文
posted @ 2005-05-30 20:51
泡面 @ 幸福
阅读(791)
评论(0)
推荐(0)
摘要:
综合网上的前辈的资料,自己经过琢磨整理代码如下: using System;using System.Drawing;using System.Collections;using System.ComponentModel;using System.Windows.Forms;using System.Data;namespace AutoBackup{ /**//// /// F... 阅读全文
posted @ 2005-05-30 19:23
泡面 @ 幸福
阅读(568)
评论(0)
推荐(0)
摘要:
在From1的Load事件中写入以下码: this.Visible=false;全部代码如下:http://www.cnblogs.com/sik/articles/165099.html 阅读全文
posted @ 2005-05-30 19:19
泡面 @ 幸福
阅读(370)
评论(0)
推荐(0)
摘要:
在From1的Closing事件中写入以下代码. this.Visible=false;e.Cancel=true; 阅读全文
posted @ 2005-05-30 19:15
泡面 @ 幸福
阅读(320)
评论(0)
推荐(0)