private void SetupMine() { for (int i = 0; i < 100; i++) { mypencil[i] = new MyPencil(); } for (int i = 0; i < 100; i++) { mylines[i] = new MyLines(); } for (int i = 0; i < 100; i++) { myrect[i] = new MyRect(); } for (int i = 0; i < 100; i++) { mycircle[i] = new MyCircle(); } }
private void SetupMine() { for (int i = 0; i < 100; i++) { mypencil[i] = new MyPencil(); } for (int i = 0; i < 100; i++) { mylines[i] = new MyLines(); } for (int i = 0; i < 100; i++) { myrect[i] = new MyRect(); } for (int i = 0; i < 100; i++) { mycircle[i] = new MyCircle(); } parentForm.Init(); // Make Thread to process Panel Receive thread = new Thread(new ThreadStart(parentForm.ReceiveFromServer)); thread.Start(); }
public StoreShape() { mypencil = new MyPencil[100]; mylines = new MyLines[100]; myrect = new MyRect[100]; mycircle = new MyCircle[100]; for (int i = 0; i < 100; i++) { mypencil[i] = new MyPencil(); } for (int i = 0; i < 100; i++) { mylines[i] = new MyLines(); } for (int i = 0; i < 100; i++) { myrect[i] = new MyRect(); } for (int i = 0; i < 100; i++) { mycircle[i] = new MyCircle(); } }