void AccountingBankVirementForm_BeforeCreateFile(object sender, MercatorUi.Forms.Accounting.AccountingBankVirementForm.BeforeCreateFileEventArgs e) { MercatorUi.Forms.Accounting.AccountingBankVirementForm accountingBankVirementForm = (MercatorUi.Forms.Accounting.AccountingBankVirementForm)sender; e.Xml.Replace("<BtchBookg>false", "<BtchBookg>true"); }