public void Dispose() { LineV.Detach(); LineH.Detach(); LabelX.Detach(); LabelY.Detach(); }
public void ClearPicture() { LabelX.Hide(); LabelY.Hide(); PointXY.Hide(); m_Grapic.Clear(Color.White); PicWafer.Refresh(); }
//prosedur untuk menghancurkan label yang telah diinisialisasi public void destroy() { int i; Label labels; for (i = 0; i < X.sizeX * X.sizeY; i++) { labels = Area.ElementAt(0); Area.RemoveAt(0); labels.Dispose(); } LabelX.Dispose(); LabelY.Dispose(); }
public void ShowLayout(bool bShow) { if (bShow == true) { LabelX.Show(); LabelY.Show(); PointXY.Show(); DrawLayout(); } else { LabelX.Hide(); LabelY.Hide(); PointXY.Hide(); ClearLayout(); } }