Exemple #1
0
 private void jbtnHinhElip_Click(object sender, EventArgs e)
 {
     Form1.hinh = 3;
     elips      = new HinhElip();
     elips.ShowDialog();
     if (elips.checkchange == false)
     {
         return;
     }
     elips.hinhelip.MidPoint_Elip(this.JpnLuoiGiaoDien.CreateGraphics());
     labelChange();
 }
Exemple #2
0
 private void jbtnHinhElip_Click(object sender, EventArgs e)
 {
     xoahinh();
     Form1.hinh = 7;
     elip       = new HinhElip();
     if (elip.ShowDialog() == DialogResult.Cancel)
     {
         Form1.hinh = -1;
     }
     if (elip.checkchange == false)
     {
         return;
     }
     elip.hinhelip.VeElip2(this.JpnLuoiGiaoDien.CreateGraphics(), color);
     labelChange();
     //Nam code
 }