I want to draw a red box with values inside it (like a watermark) into another window’s form. How can i achieve this? It’s for debugging purposes, and the framework I’m developing on is unable to use Console.write() so i thought of this.
Thanks !
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
As Mithrandir says, System.Diagnostics.Debug is probably a better bet. Or a debugger.
If you really want to “annotate” another window by drawing further information on it, it’s easier to create a transparent, captionless, borderless, always-on-top window, draw the information on that and place it over the target window. This gives the same effect without interfering with the original window.