Exemplo n.º 1
0
 private void MouseDblClkProc_LoMin(int hWnd, int Button, int Flags, int Xwin, int Ywin, double Xdrw, double Ydrw)
 {
     if (Button == Lcad.LC_LBUTTON)
     {
         List <Circle> listCircle = mgCircles.GetListCircles();
         foreach (Circle c in listCircle)
         {
             if (BS_LiteCAD.CheckInCirlce(Xdrw, Ydrw, c))
             {
                 FormLoKhoan fm = new FormLoKhoan(hoChieuChinh.MaHoChieu, c.GetID().ToString());
                 fm.Show();
                 break;
             }
         }
     }
 }
 private void MouseDblClkProc_LoMin(int hWnd, int Button, int Flags, int Xwin, int Ywin, double Xdrw, double Ydrw)
 {
     if (Button == Lcad.LC_LBUTTON)
     {
         List<Circle> listCircle = mgCircles.GetListCircles();
         foreach (Circle c in listCircle)
         {
             if (BS_LiteCAD.CheckInCirlce(Xdrw, Ydrw, c))
             {
                 FormLoKhoan fm = new FormLoKhoan(hoChieuChinh.MaHoChieu ,c.GetID().ToString());
                 fm.Show();
                 break;
             }
         }
     }
 }