/// <summary> /// 按钮点击事件-模具入库 /// </summary> /// <param name="sender">事件源</param> /// <param name="e">事件参数</param> private void MoldInStoreBtn_Click(object sender, RoutedEventArgs e) { if (MoldBaseInfoDG.SelectedItem != null) { MoldBaseInfo moldBaseInfo = MoldBaseInfoDG.SelectedItem as MoldBaseInfo; if (moldBaseInfo.CurrentPosition == (new StorageManageServiceClient()).GetPartPoolPosiNr()) { //MoldReturn moldReturn = new MoldReturn(moldBaseInfo.MoldNR); //moldReturn.Show(); MoldInStore mis = new MoldInStore(moldBaseInfo.MoldNR); mis.ShowDialog(); } } }
/// <summary> /// 按钮点击事件-模具入库 /// </summary> /// <param name="sender">事件源</param> /// <param name="e">事件参数</param> private void MoldInStoreBtn_Click(object sender, RoutedEventArgs e) { if (MoldBaseInfoDG.SelectedItem != null) { MoldBaseInfo moldBaseInfo = MoldBaseInfoDG.SelectedItem as MoldBaseInfo; if (moldBaseInfo.CurrentPosition == (new StorageManageServiceClient()).GetPartPoolPosiNr()) { //MoldReturn moldReturn = new MoldReturn(moldBaseInfo.MoldNR); //moldReturn.Show(); MoldInStore mis = new MoldInStore(moldBaseInfo.MoldNR); mis.ShowDialog(); } } }
/// <summary> /// 窗体关闭事件 /// </summary> /// <param name="sender">事件源</param> /// <param name="e">事件参数</param> private void Window_Closing(object sender, System.ComponentModel.CancelEventArgs e) { instance = null; }
/// <summary> /// 窗体关闭事件 /// </summary> /// <param name="sender">事件源</param> /// <param name="e">事件参数</param> private void Window_Closing(object sender, System.ComponentModel.CancelEventArgs e) { instance = null; }