public void OnClicRight(int nRow, int nCol, Point p) { CDessinTrancheSite c = GetCelluleXY(nRow, nCol); if (c != null) { c.OnClicRight(p); } }
public CDessinListeOperations( CDessinTrancheSite dessinTrancheSite, CContrat_ListeOperations contratLstOp, CInterventionPourEditeurPreventive intervention) { m_dessinTrancheSite = dessinTrancheSite; m_contratLstOperation = contratLstOp; m_intervention = intervention; }
public string GetLabelItemOnPoint(int nRow, int nCol, Point p) { CDessinTrancheSite c = GetCelluleXY(nRow, nCol); if (c != null) { return(c.GetLabelItemOnPoint(p)); } return(""); }
public void OnMouseMouve(int nRow, int nCol, Point p) { ListeOpSurvolee = null; InterSurvolee = null; CDessinTrancheSite c = GetCelluleXY(nRow, nCol); if (c != null) { c.OnMouseMouve(p); } }
public CIntervention GetInterInDBAtPoint(int nRow, int nCol, Point p) { CDessinTrancheSite c = GetCelluleXY(nRow, nCol); if (c == null) { return(null); } CInterventionPourEditeurPreventive inter = c.GetInterventionFromPoint(p); if (inter != null && inter.IsInDB && !inter.Deleted) { return(inter.InterventionInDB); } return(null); }