Place a panel in your form, set the position and size of the panel which you want to set as limit, and in that panel use a picture box control add an arrow in it. Now place your labels outside the panel and add the x and y values as text in that ...... now when user press N the add one point to y at each press unless the limit reaches that is the upper limit of your panel, and when user press S minu one point from y of picture box at each change also check the values of x and y and update you labels..... same as with E and W..... on pressing W subtract one point and on pressing E add one point to the x value of picturebox
You are Welcome :)
[B]Answer number one:[/B] [CODE]this.dataGridView1.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(dataGridView1_CellClick);[/CODE] is the event generated when you click on any cell of Datagrid like you were using cellcontentclick
[B]Answer number two:[/B] I used .Value.ToString().ToUpper() == "FALSE" because i was not sure about, is it False or false when converted to string.
There are eight chairs around a table. There is a mom, grandpa, sister, brother, aunt, grandma, uncle, another sister, another mom, another brother, a dad, a father- in- law, a mother in law, another dad and one more uncle. They're all seated comfortably. How is this possible with only eight chairs?