You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

42 lines
1.4 KiB

  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel;
  4. using System.Data;
  5. using System.Drawing;
  6. using System.Linq;
  7. using System.Text;
  8. using System.Threading.Tasks;
  9. using System.Windows.Forms;
  10. namespace ManagementSystem
  11. {
  12. public partial class SetOpenAccountingSubID : Form
  13. {
  14. public SetOpenAccountingSubID()
  15. {
  16. InitializeComponent();
  17. }
  18. private void btnCurrentProfitAndLoss_Click(object sender, EventArgs e)
  19. {
  20. XMLSetting frmSettingForm = new XMLSetting();
  21. frmSettingForm.Owner = this;
  22. frmSettingForm.strOwnerForm = "AccountingOpeningEntry";
  23. frmSettingForm.strXMLName = "AccountingOpeningEntry";
  24. frmSettingForm.StartPosition = FormStartPosition.CenterParent;
  25. frmSettingForm.ShowDialog();
  26. this.Close();
  27. }
  28. private void btnCumulativeProfitAndLoss_Click(object sender, EventArgs e)
  29. {
  30. XMLSetting frmSettingForm = new XMLSetting();
  31. frmSettingForm.Owner = this;
  32. frmSettingForm.strOwnerForm = "AccountingOpeningEntry_Cumulative";
  33. frmSettingForm.strXMLName = "AccountingOpeningEntry_Cumulative";
  34. frmSettingForm.StartPosition = FormStartPosition.CenterParent;
  35. frmSettingForm.ShowDialog();
  36. this.Close();
  37. }
  38. }
  39. }