| 12345678910111213141516171819202122232425262728293031323334 |
- using System;
- using System.Collections.Generic;
- using System.ComponentModel;
- using System.Drawing;
- using System.Data;
- using System.Linq;
- using System.Text;
- using System.Windows.Forms;
- namespace Core.StlMes.Client.PlnSaleOrd.Control
- {
- public partial class ContorlPlanStatus : UserControl
- {
- public string[] statusArr = new string[4] { "", "", "", "" };//状态
- public ContorlPlanStatus()
- {
- InitializeComponent();
- if (chcStatus1.Checked) { statusArr[0] = "0"; }
- if (chcStatus2.Checked) { statusArr[1] = "1"; }
- if (chcStatus3.Checked) { statusArr[2] = "2"; }
- if (chcStatus4.Checked) { statusArr[2] = "3"; }
- }
- private void chc_CheckedChanged(object sender, EventArgs e)
- {
- if (chcStatus1.Checked) { statusArr[0] = "0"; } else { statusArr[0] = ""; }
- if (chcStatus2.Checked) { statusArr[1] = "1"; } else { statusArr[1] = ""; }
- if (chcStatus3.Checked) { statusArr[2] = "2"; } else { statusArr[2] = ""; }
- if (chcStatus4.Checked) { statusArr[3] = "3"; } else { statusArr[3] = ""; }
- }
-
- }
- }
|