Example #1
0
 public void Dispose()
 {
     LineV.Detach();
     LineH.Detach();
     LabelX.Detach();
     LabelY.Detach();
 }
Example #2
0
        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();
        }
Example #4
0
        public void ShowLayout(bool bShow)
        {
            if (bShow == true)
            {
                LabelX.Show();
                LabelY.Show();
                PointXY.Show();

                DrawLayout();
            }
            else
            {
                LabelX.Hide();
                LabelY.Hide();
                PointXY.Hide();

                ClearLayout();
            }
        }