private void BtRun_Click(object sender, EventArgs e) { conf.AutoRun = ckAuto.Checked; conf.ThuMucChuyen = txtChuyen.Text; conf.ThuMucQuet = txtQuet.Text; ConfigClass.SetConfig(conf); this.Close(); }
private void BtRun_Click(object sender, EventArgs e) { try { conf.AutoRun = ckAuto.Checked; conf.ThuMucChuyen = txtChuyen.Text; conf.ThuMucQuet = txtQuet.Text; ConfigClass.SetConfig(conf); this.Close(); } catch (Exception ex) { MessageBox.Show(ex.Message); } }