private void barButtonItem_clearanceRecord_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { ClearanceRecordForm clearanceRecordForm = new ClearanceRecordForm(gateTotal); clearanceRecordForm.ShowDialog(this); }