I am trying to draw shape A and then erase or clear the shape and then when the mouse is clicked on top of shape A shape b will appear, I have used region, and when i press on shape A, shape B doesnt appear, but when i use the breakpoint the compiler is drawing shape B but then on the screen it...
thanks for the reply, I have tried this, but I just get no change of state. I tried to change the color of the brush while the mouse points at the ellipse but nothing happens. It does not read to mouse click. Im just wondering should there be some other way to do this?
regards.
I have a shape Example : ellipse and would like to perform hit testing on it so when the mouse passes over this ellipse on the screen some other drawings wil appear..
I have been trying to find some help on the internet and I have not found any, does anyone know of some site to do this? I did...
Hi,
I am working on a drawing application now, I do not want to draw on the whole form because I have other controls there , I would like to draw inside a componen such as a Group box or a picture box, How can I achieve this?
Thanks;
How can I acces to controls from form A to form B. Form a is the container parent form, and I would like to access to the richtextbox of form b which is the child form.
thanks in advance
My MDI child windows when invoked by the menu of the parent MDI dont show any controls such as an richtextbox. How do I make the main form acces all MDI forms?
If anyone has a suggestion thanks,
This is my code
{
//READ A LINE
String scfile=dlgOpen.FileName;
StreamReader srReadline=new StreamReader ((System.IO.Stream )File.OpenRead(scfile),System.Text.Encoding.ASCII );
srReadline.BaseStream.Seek (0,SeekOrigin.Begin );
while(srReadline.Peek () > -1)
rtb_try.Rtf...
Thanks it was a great help.Now I am trying to just a line from the file to a richtextbox, I guess the properties of the .rtf file are not kept.
{
//READ A LINE
String scfile=dlgOpen.FileName;
StreamReader srReadline=new StreamReader ((System.IO.Stream...
Hi,
I have read line by line and have search for a particular word using regex, when it has found this word i have sent this line to a function because i want to read this particular line by each character. My question is the file is in .rtf, how can y keep the format of this particular line...
Hi,
I have read line by line and have search for a particular word using regex, when it has found this word i have sent this line to a function because i want to read this particular line by each character. My question is the file is in .rtf, how can y keep the format of this particular line...
Hi,
I have read a file line by line and have searched for a particular word using regex, when it has found this word i have sent this line to a function because i want to read this particular line by each character. My question is the file is in .rtf, how can y keep the format of this particular...
Hi,
I have read line by line and have search for a particular word using regex, when it has found this word i have sent this line to a function because i want to read this particular line by each character. My question is the file is in .rtf, how can y keep the format of this particular line...
Can anyone suggent me the procedure to reading a file and then writing to an array specific parts of a binary file, or maybe Im thinking of writing it to another file instead of using an array. I know I have to use the System.IO stream classes. Well thanks in advanced.
Hi, Im quite new at C#, I would like to open a .txt file and read it and then separate the variables. How can I indicate the reader to just read some on the variables and skip others..I mean I want the reader to read word by word, I know I should use streamreader.
I also would like to ask what...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.