ComQueryPandProcOrd.cs 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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.Windows.Forms;
  9. namespace Core.StlMes.Client.PlnSaleOrd.Control
  10. {
  11. public partial class ComQueryPandProcOrd : UserControl
  12. {
  13. public ComQueryPandProcOrd()
  14. {
  15. InitializeComponent();
  16. }
  17. private void ComQueryPandProcOrd_Load(object sender, EventArgs e)
  18. {
  19. ultraComboFinishEditor.SelectedIndex = 0;
  20. }
  21. private void checkBoxRollMonth_CheckedChanged(object sender, EventArgs e)
  22. {
  23. if (checkBoxRollMonth.Checked)
  24. {
  25. ultraDateTimeRollMonth.Enabled = true;
  26. }
  27. else
  28. {
  29. ultraDateTimeRollMonth.Enabled = false;
  30. }
  31. }
  32. private void checkBoxForReqORDER_NO_CheckedChanged(object sender, EventArgs e)
  33. {
  34. if (checkBoxForReqORDER_NO.Checked)
  35. {
  36. ctrlForQueryORDER_NO.Enabled = true;
  37. }
  38. else
  39. {
  40. ctrlForQueryORDER_NO.Enabled = false;
  41. }
  42. }
  43. }
  44. }