Beispiel #1
0
 //预览瓶贴按钮单击事件绑定方法
 private void previewButton_Click(object sender, EventArgs e)
 {
     CJia.PIVAS.Views.Label.GenLabelEventArgs genLabelEventArgs = new Views.Label.GenLabelEventArgs()
     {
         Illfieldids = this.GetSelectIffield()
     };
     this.OnPreviewLabelEven(null, genLabelEventArgs);
     this.IsPreview = true;
 }
Beispiel #2
0
        //预览瓶贴按钮单击事件绑定方法
        private void previewButton_Click(object sender, EventArgs e)
        {
            DevExpress.XtraEditors.SimpleButton previewButton = sender as DevExpress.XtraEditors.SimpleButton;
            string timeId = previewButton.Tag.ToString();

            CJia.PIVAS.Views.Label.GenLabelEventArgs genLabelEventArgs = new Views.Label.GenLabelEventArgs()
            {
                TimeId      = timeId,
                Illfieldids = this.GetSelectIffield()
            };
            this.OnPreviewLabelEven(null, genLabelEventArgs);
            this.IsPreview = true;
        }
Beispiel #3
0
 //生成瓶贴按钮单击事件绑定方法
 private void genButton_Click(object sender, EventArgs e)
 {
     if (this.IsPreview)
     {
         DevExpress.XtraEditors.SimpleButton genButton = sender as DevExpress.XtraEditors.SimpleButton;
         string timeId = genButton.Tag.ToString();
         CJia.PIVAS.Views.Label.GenLabelEventArgs genLabelEventArgs = new Views.Label.GenLabelEventArgs()
         {
             TimeId      = timeId,
             Illfieldids = this.GetSelectIffield()
         };
         this.OnGenLabelEven(null, genLabelEventArgs);
         this.IsPreview = false;
     }
     else
     {
         MessageBox.Show("请先预览!");
     }
 }
Beispiel #4
0
 //生成瓶贴按钮单击事件绑定方法
 private void genButton_Click(object sender, EventArgs e)
 {
     if (this.IsPreview)
     {
         if (this.IsGen)
         {
             DevExpress.XtraEditors.SimpleButton      genButton         = sender as DevExpress.XtraEditors.SimpleButton;
             CJia.PIVAS.Views.Label.GenLabelEventArgs genLabelEventArgs = new Views.Label.GenLabelEventArgs()
             {
                 Illfieldids = this.GetSelectIffield()
             };
             this.OnGenLabelEven(null, genLabelEventArgs);
             this.IsPreview = false;
         }
         else
         {
             Message.Show("没有可生成的瓶贴!");
         }
     }
     else
     {
         Message.Show("请先预览!");
     }
 }