private void button1_Click(object sender, EventArgs e) { this.Close(); if (cf != null) { cf.Close(); } else if (mf != null) { mf.Close(); } Environment.Exit(1); }
private void button8_Click(object sender, EventArgs e) { this.Close(); mf.Close(); Environment.Exit(1); }