Beispiel #1
0
 //出事化事件绑定办法
 void View_Init(object sender, CJia.PIVAS.Views.Label.FilterLabelEventArgs e)
 {
     this.View.ExeBindingPharmTypes(CJia.PIVAS.Tools.LabelFilter.PharmType);
     this.View.ExeBindingBacths(CJia.PIVAS.Tools.LabelFilter.LabelBacth);
     this.View.ExeBindingIffieldBens(CJia.PIVAS.Tools.LabelFilter.IllfileBens);
     this.View.ExeBindingUseOrderBy(CJia.PIVAS.Tools.LabelFilter.UseOrderBy);
     this.View.ExeBindingNoUseOrderBy(CJia.PIVAS.Tools.LabelFilter.NoUseOrderBy);
 }
Beispiel #2
0
 //修改赛选条件
 void View_ModifFilter(object sender, CJia.PIVAS.Views.Label.FilterLabelEventArgs e)
 {
     DevExpress.XtraEditors.CheckedListBoxControl pharmTypes = e.PharmType;
     DevExpress.XtraEditors.CheckedListBoxControl batchs     = e.LabelBatch;
     DevExpress.XtraEditors.CheckedListBoxControl beds       = e.Bed;
     DevExpress.XtraEditors.ListBoxControl        use        = e.UserOrderBy;
     DevExpress.XtraEditors.ListBoxControl        nouse      = e.NoUserOrderBy;
     this.cope(CJia.PIVAS.Tools.LabelFilter.PharmType, pharmTypes);
     this.cope(CJia.PIVAS.Tools.LabelFilter.LabelBacth, batchs);
     this.cope(CJia.PIVAS.Tools.LabelFilter.IllfileBens, beds);
     this.copeList(CJia.PIVAS.Tools.LabelFilter.UseOrderBy, use);
     this.copeList(CJia.PIVAS.Tools.LabelFilter.NoUseOrderBy, nouse);
     //this.View.ShowMessage("保存过滤条件与排序方式成功!");
 }