/// <summary> /// 按钮点击事件-模具移库 /// </summary> /// <param name="sender">事件源</param> /// <param name="e">事件参数</param> private void OKBtn_Click(object sender, RoutedEventArgs e) { StorageManageServiceClient client = new StorageManageServiceClient(); Message msg = client.MoldMoveStore(MoldNrLab.Content.ToString(), Settings.Default.WarehouseNr, CurrentPosiLab.Content.ToString(), DesiPosiNRTB.Text); MessageBox.Show(msg.Content); if (msg.MsgType == MsgType.OK) { this.Close(); } }