예제 #1
0
 public FrmShotSnap()
 {
     InitializeComponent();
     DialogResult         = DialogResult.Cancel;
     scsDomain            = new ScSCutDomain();
     this.BackgroundImage = scsDomain.ShotCut();
     this.Update();
 }
예제 #2
0
 private void MskUctrol_MouseMove(object sender, MouseEventArgs e)
 {
     if (isRecord)
     {
         pend            = e.Location;
         BackgroundImage = ScSCutDomain.CreatSelectArea(Width, Height, pbegin, pend);
         Update();
     }
 }
예제 #3
0
        private void button2_Click(object sender, EventArgs e)
        {
            scl = scl * 0.5F;
            var nimg = ScSCutDomain.ScaledImage(Resources.aat2017731_00001, scl);;

            pictureBox1.Width  = nimg.Width;
            pictureBox1.Height = nimg.Height;
            pictureBox1.Image  = nimg;
            //this.tabControl1.TabPages.Add()
            //TabPage tp = new TabPage()
        }