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.

44 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 PayPlanManagementSetup : Form
  13. {
  14. public string strOwnerForm = "";
  15. public string strXMLName = "";
  16. public PayPlanManagementSetup()
  17. {
  18. InitializeComponent();
  19. }
  20. private void btnReceiptPlanSetup_Click(object sender, EventArgs e)
  21. {
  22. XMLSetting frmSettingForm = new XMLSetting();
  23. frmSettingForm.Owner = this;
  24. frmSettingForm.strOwnerForm = strOwnerForm + "_Receipt";
  25. frmSettingForm.strXMLName = strXMLName + "_Receipt";
  26. frmSettingForm.StartPosition = FormStartPosition.CenterParent;
  27. frmSettingForm.ShowDialog();
  28. this.Close();
  29. }
  30. private void btnPayPlan_Click(object sender, EventArgs e)
  31. {
  32. XMLSetting frmSettingForm = new XMLSetting();
  33. frmSettingForm.Owner = this;
  34. frmSettingForm.strOwnerForm = strOwnerForm + "_Pay";
  35. frmSettingForm.strXMLName = strXMLName + "_Pay";
  36. frmSettingForm.StartPosition = FormStartPosition.CenterParent;
  37. frmSettingForm.ShowDialog();
  38. this.Close();
  39. }
  40. }
  41. }