public SMSBrowsePhonebook(SMSMainform _frm) { InitializeComponent(); this._frm = _frm; cat = new ClassPosition(); }
private void sendMessageToolStripMenuItem_Click(object sender, EventArgs e) { if (CheckOpened("SMSMainform")) { Application.OpenForms["SMSMainform"].BringToFront(); } else { //SMSMainform frm = new SMSMainform(this); SMSMainform frm = new SMSMainform(); frm.Show(); } }