    private void Draw_Click(object sender, EventArgs e)
        {
            Graphics ObjGraph;
            ObjGraph = Label1.CreateGraphics();
            Graphics ObjGraph1;
            ObjGraph1 = TextBox1.CreateGraphics();
            ObjGraph.Clear(Color.White);
            ObjGraph1.Clear(Color.White);
            Pen Pen1 = new Pen(Color.Black, 3);
            Rectangle Rect = new Rectangle();
            Font Font1 = new Font("Times New Roman", 14, FontStyle.Bold);
            switch (draw)
            {
                case 1:
                    Rect.X = 5;
                    Rect.Y = 5;
                    Rect.Width = 140;
                    Rect.Height = 140;
                    ObjGraph.DrawRectangle(Pen1, Rect);
                    ObjGraph1.DrawString("Square", Font1, System.Drawing.Brushes.Black, 25, 1);
                    break;
                case 2:
                    Rect.X = 28;
                    Rect.Y = 5;
                    Rect.Width = 87;
                    Rect.Height = 140;
                    ObjGraph.DrawRectangle(Pen1, Rect);
                    ObjGraph1.DrawString("Rectangle", Font1, System.Drawing.Brushes.Black, 25, 1);
                    break;
                case 3:
                    Rect.X = 5;
                    Rect.Y = 5;
                    Rect.Width = 140;
                    Rect.Height = 140;
                    ObjGraph.DrawEllipse(Pen1, Rect);
                    ObjGraph1.DrawString("Circle", Font1, System.Drawing.Brushes.Black, 25, 1);
                    break;
                case 4:
                    Rect.X = 28;
                    Rect.Y = 5;
                    Rect.Width = 87;
                    Rect.Height = 140;
                    ObjGraph.DrawEllipse(Pen1, Rect);
                    ObjGraph1.DrawString("Ellipse", Font1, System.Drawing.Brushes.Black, 25, 1);
                    break;
                case 5:
                    Rect.X = 5;
                    Rect.Y = 5;
                    Rect.Width = 140;
                    Rect.Height = 140;
                    ObjGraph.FillRectangle(System.Drawing.Brushes.Blue, Rect);
                    ObjGraph1.DrawString("Fill Square", Font1, System.Drawing.Brushes.Black, 25, 1);
                    break;
                case 6:
                    Rect.X = 5;
                    Rect.Y = 5;
                    Rect.Width = 140;
                    Rect.Height = 140;
                    ObjGraph.FillEllipse(System.Drawing.Brushes.Blue, Rect);
                    ObjGraph1.DrawString("Fill Circle", Font1, System.Drawing.Brushes.Black, 25, 1);
                    break;
                default:
                    MessageBox.Show("Select Drawing");
                    break;
            }
        }
