示例#1
0
 private void txtPCFinishCheckDesc_DoubleClick(object sender, EventArgs e)
 {
     PCParameterSet.ChooseParameter cp = new Book.UI.produceManager.PCParameterSet.ChooseParameter("BeiZhuShuoMing");
     if (cp.ShowDialog(this) != DialogResult.OK)
     {
         return;
     }
     if (cp.SelectedItem != null)
     {
         Model.Setting setParam = cp.SelectedItem as Model.Setting;
     }
     cp.Dispose();
     GC.Collect();
 }
示例#2
0
 private void textEditProduceOtherMaterialDesc_DoubleClick(object sender, EventArgs e)
 {
     PCParameterSet.ChooseParameter cp = new Book.UI.produceManager.PCParameterSet.ChooseParameter("BeiZhuShuoMing");
     if (cp.ShowDialog(this) != DialogResult.OK)
     {
         return;
     }
     if (cp.SelectedItem != null)
     {
         Model.Setting setParam = cp.SelectedItem as Model.Setting;
         this.textEditProduceOtherMaterialDesc.Text += setParam.SettingCurrentValue;
     }
     cp.Dispose();
     GC.Collect();
 }