Beispiel #1
0
        private void toolsPrintPages_Click(object sender, EventArgs e)
        {
            if (!isTxt())
            {
                return;
            }
            int p1 = Convert.ToInt32(txtPage1.Text.Trim());
            int p2 = Convert.ToInt32(txtPages2.Text.Trim());

            imgBrow1.PrintImg(p1, p2);
        }
Beispiel #2
0
        private void toolbutprint_Click(object sender, EventArgs e)
        {
            if (!isTxt())
            {
                return;
            }

            int p1 = Convert.ToInt32(tooltxtpage1.Text.Trim());
            int p2 = Convert.ToInt32(tooltxtpage2.Text.Trim());

            Common.WriteBorrLog(BorrMethod.Boxsn, BorrMethod.Archno, BorrMethod.Archid, "打印图像:" + p1.ToString() + "-" + p2.ToString());
            imgBrow1.PrintImg(p1, p2);
        }
Beispiel #3
0
        private void toolStripButPrint_Click(object sender, EventArgs e)
        {
            if (!ClsQuery.Imgsys)
            {
                MessageBox.Show("警告,您没有此项操作的权限!");
                return;
            }
            if (txtPages1.Text.Trim().Length <= 0 || txtPages2.Text.Trim().Length <= 0)
            {
                MessageBox.Show("请输入打印范围!");
                txtPages1.Focus();
                return;
            }
            int p1 = Convert.ToInt32(txtPages1.Text.Trim());
            int p2 = Convert.ToInt32(txtPages2.Text.Trim());

            imgBrow1.PrintImg(p1, p2);
        }