using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace Core.StlMes.Client.PlnSaleOrd.Control { public partial class ComQueryPanel : UserControl { public ComQueryPanel() { InitializeComponent(); } private void ComQueryPanel_Load(object sender, EventArgs e) { this.ultraTextEditorAcceptNo.Value = "X" + DateTime.Now.ToString("yyyyMMdd"); } private void checkBoxRollMonth_CheckedChanged(object sender, EventArgs e) { if (checkBoxRollMonth.Checked == false) { ultraDateTimeRollMonth.Enabled = false; } else { ultraDateTimeRollMonth.Enabled = true; } } private void checkBoxForReqORDER_NO_CheckedChanged(object sender, EventArgs e) { if (checkBoxForReqORDER_NO.Checked) { ctrlForQueryORDER_NO.Enabled = true; } else { ctrlForQueryORDER_NO.Enabled = false; } } private void checkBoxForReqPORDERSTATUS_CheckedChanged(object sender, EventArgs e) { if (checkBoxForReqPORDERSTATUS.Checked) { ctrlForQueryPORDERSTATUS.Enabled = true; } else { ctrlForQueryPORDERSTATUS.Enabled = false; } } private void checkBoxAcceptNo_CheckedChanged(object sender, EventArgs e) { if (checkBoxAcceptNo.Checked) { ultraTextEditorAcceptNo.Enabled = true; } else { ultraTextEditorAcceptNo.Enabled = false; } } } }