Beispiel #1
0
 private void biRmTemplet_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     using (var st = new Base_Templet(true, "原料标签"))
     {
         if (st.ShowDialog() == DialogResult.Yes)
         {
             biRmTemplet.Caption = st.URow.Cells["cCaption"].Value.ToString();
             _RmcCaption         = st.URow.Cells["cCaption"].Value.ToString();
             _RmcTempletFileName = st.URow.Cells["cTempletPath"].Value.ToString();
             biRmPrinter.Caption = st.URow.Cells["cPrinter"].Value.ToString();
             _RmcPrinter         = st.URow.Cells["cPrinter"].Value.ToString();
         }
     }
 }
Beispiel #2
0
 private void biEditTemplet_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     using (var st = new Base_Templet(true, "产成品标签"))
     {
         if (st.ShowDialog() == DialogResult.Yes)
         {
             biEditTemplet.Caption = st.URow.Cells["cCaption"].Value.ToString();
             _cCaption             = st.URow.Cells["cCaption"].Value.ToString();
             _cTempletFileName     = st.URow.Cells["cTempletPath"].Value.ToString();
             biEditPrinter.Caption = st.URow.Cells["cPrinter"].Value.ToString();
             _cPrinter             = st.URow.Cells["cPrinter"].Value.ToString();
             _cPrinter             = Properties.Settings.Default.localprinter;
         }
     }
 }
Beispiel #3
0
 private void biRmTemplet_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     using (var st = new Base_Templet(true, "原料标签"))
     {
         if (st.ShowDialog() == DialogResult.Yes)
         {
             biRmTemplet.Caption = st.URow.Cells["cCaption"].Value.ToString();
             _RmcCaption = st.URow.Cells["cCaption"].Value.ToString();
             _RmcTempletFileName = st.URow.Cells["cTempletPath"].Value.ToString();
             biRmPrinter.Caption = st.URow.Cells["cPrinter"].Value.ToString();
             _RmcPrinter = st.URow.Cells["cPrinter"].Value.ToString();
         }
     }
 }
 private void biEditTemplet_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     using (var st = new Base_Templet(true, "产成品标签"))
     {
         if (st.ShowDialog() == DialogResult.Yes)
         {
             biEditTemplet.Caption = st.URow.Cells["cCaption"].Value.ToString();
             _cCaption = st.URow.Cells["cCaption"].Value.ToString();
             _cTempletFileName = st.URow.Cells["cTempletPath"].Value.ToString();
             biEditPrinter.Caption = st.URow.Cells["cPrinter"].Value.ToString();
             _cPrinter = st.URow.Cells["cPrinter"].Value.ToString();
             _cPrinter = Properties.Settings.Default.localprinter;
         }
     }
 }