private void FrmInputPembukuan_KeyPress(object sender, KeyPressEventArgs e) { var esc = new GeneralSetting(); if (esc.isEsc(e)) { this.Close(); } }