BioPhysEng, below is perhaps a better description of my problem.
I am trying to programmatically create different cursors in my program while it is running. In these cursors I want to have both...
Arjay and BioPhysEngr, thank you for your reply, but this is not what I need!!! I can figure the RGB values of that "pink" using the method suggested but not the "alpha". If one uses this "color" in...
Have a question about "cursor editing" tool available in Microsoft Visual Studio. That tool has 2 monitors - teal and pink. Teal seems to specify a transparent color (i.e....
I am trying to use the function "PlotLine" but it seems to be enable to correctly connect 2 points with the distance of 1 between them when those points have the same Y...
I am trying to figure out a way to change a "collection" that is displayed in a ToolStripMenuItem. The only way that I found out is to redefine the item each time this collection...
I remember that in C++ there were __DATE__ and __TIME__ macros using which I could write the most recent compilation date and time and output it in "About" box.
I was using the functions that you mention adding them as "KeyEventHandler" to my form and correspondingly setting some bool variables depending on what the user pressed, however the...
If the "switch" statement goes through "default" the "answer" variable does not get assigned, i.e. MessageBox at the end of the program does not know what to use if your program "switch" goes in...
I have been just recently converted to C# from C++ and I am still trying to learn new concepts. In C++ there was a function that provided me with an answer about the state of a...
I am trying to change the font of the button displayed in the dialog to bold and back (depending on certain events in the program). However, when I try something like
As I said, it is a little bit involved - putting the whole code that compiles would require a removal of a lot of confidential information. Again, in the nutshell, the code basically...
Thank you for your reply. Unfortunately, I can not completely understand what you are talking about (excuse my layman ignorance). In my application the calculation program actually calls...
I am not sure if this will resolve your problem but since "&" operator works on "integral types" try casting your variables into one of those, i.e. try:
In my program I let the user to specify the processing parameters in the main dialog and after the user pushes the "Run" button all the controls on the dialog are disabled (and...
I am trying to use DirectoryExists function that seems to be defined in VisualBasic. What directive do I need to use when using this function in C#? It does not seem to work right...
Thank you for the replies!!! But it is not exactly what I am looking for, perhaps I have not explained the issue very well. The InitialDirectory of my OpenFileDialog should not be connected to the...
I am using the OpenFileDialog and was wondering if there is any easy way to save the InitialDirectory, so that when the program is closed and then restarted again it could read...
I have a text file containing a rectangular block of double data and would like to read those data into double array (in C# project).
It seems that I could start with...