public Form1() { InitializeComponent(); int i; for (i = 0; i < 10; i++) { tb_index[i] = new TabPage(); mailList[i] = new RecvMail(); } Thread receiverThread = new Thread(receiveMails); receiverThread.IsBackground = true; receiverThread.Start(); msgBoxDelegate = new updateMsgBoxD(updateMsgBoxMethod); }
static int keySize = 128; // can be 192 or 128 or 256 public Form1() { InitializeComponent(); int i; for (i = 0; i < 10; i++) { tb_index[i] = new TabPage(); mailList[i] = new RecvMail(); } Thread receiverThread = new Thread(receiveMails); receiverThread.IsBackground = true; receiverThread.Start(); msgBoxDelegate = new updateMsgBoxD(updateMsgBoxMethod); }