using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace ManagementSystem { public partial class SetOpenAccountingSubID : Form { public SetOpenAccountingSubID() { InitializeComponent(); } private void btnCurrentProfitAndLoss_Click(object sender, EventArgs e) { XMLSetting frmSettingForm = new XMLSetting(); frmSettingForm.Owner = this; frmSettingForm.strOwnerForm = "AccountingOpeningEntry"; frmSettingForm.strXMLName = "AccountingOpeningEntry"; frmSettingForm.StartPosition = FormStartPosition.CenterParent; frmSettingForm.ShowDialog(); this.Close(); } private void btnCumulativeProfitAndLoss_Click(object sender, EventArgs e) { XMLSetting frmSettingForm = new XMLSetting(); frmSettingForm.Owner = this; frmSettingForm.strOwnerForm = "AccountingOpeningEntry_Cumulative"; frmSettingForm.strXMLName = "AccountingOpeningEntry_Cumulative"; frmSettingForm.StartPosition = FormStartPosition.CenterParent; frmSettingForm.ShowDialog(); this.Close(); } } }