| | |
| | | { |
| | | string _webServiceName = "MesQcExceptionalManager/"; |
| | | List<FilterEntity> _filterList = new List<FilterEntity>(); |
| | | |
| | | public void Initialize(string param) |
| | | { |
| | | // 使用param进行初始化工作 |
| | | MessageBox.Show(param); |
| | | } |
| | | |
| | | public MesQcExceptional() |
| | | { |
| | | InitializeComponent(); |
| | |
| | | frm.ShowDialog(); |
| | | } |
| | | |
| | | public event EventHandler<UpdateParentEventArgs> UpdateParent; |
| | | private void simpleButton1_Click(object sender, EventArgs e) |
| | | { |
| | | if (UpdateParent != null) |
| | | { |
| | | List<string> lst = new List<string>(); |
| | | lst.Add("1"); |
| | | lst.Add("2"); |
| | | UpdateParent?.Invoke(this, |
| | | new UpdateParentEventArgs { StringList = lst }); |
| | | } |
| | | |
| | | |
| | | } |
| | | } |
| | | } |