Search:
Type: Posts; User: balexei
Search:
Search took 0.02 seconds.
-
October 1st, 2013, 04:01 PM
-
October 1st, 2013, 12:56 PM
Arjay,
Sorry, below is my code:
public Bitmap BitmapForLabel(string Text, Font mFont, Point p, int w, int h)
{
Bitmap MyLabel = new Bitmap(w, h,...
-
October 1st, 2013, 12:20 PM
Dear code gurus,
I am using a "DrawString" function to display text in bitmap. For whatever reason, the text displayed have some "shading" as on the picture below. In this picture I have used...
-
January 24th, 2013, 08:11 AM
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...
-
January 23rd, 2013, 08:23 AM
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...
-
January 22nd, 2013, 01:09 PM
Dear code gurus,
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....
-
September 14th, 2012, 10:38 AM
Dear code gurus,
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...
-
January 21st, 2011, 10:45 AM
Dear Code Gurus,
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...
-
October 28th, 2010, 10:03 AM
Dear code gurus,
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.
Is there...
-
October 6th, 2010, 01:29 PM
BigEd781,
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...
-
October 6th, 2010, 11:05 AM
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...
-
October 6th, 2010, 10:14 AM
Dear Code Gurus,
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...
-
June 17th, 2010, 06:12 PM
-
June 17th, 2010, 05:54 PM
Dear CodeGurus,
I am trying to assign some actions to the KeyDown event on my form (to any key, say 'a'), so I try the following:
private void Form1_KeyDown(object sender,...
-
June 13th, 2010, 06:04 PM
Found the answer myself, all you need to do is the following:
MyButton.Font = new Font(MyButton.Font, FontStyle.Bold);
-
June 13th, 2010, 05:18 PM
Dear code gurus,
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
...
-
BigEd781,
Thank you for your discussion and help!!! :thumb::thumb::thumb:
-
BigEd781,
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...
-
BigEd781,
My code is a little bit clamsy, but in the nutshell, here is what I do:
namespace Calculations
{
public delegate void LabelUpdate(int i);
public LabelUpdate...
-
BigEd781,
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:
if (((int) type & (int) AffixType.Append)...
-
Dear CodeGurus,
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...
-
Dear Code Gurus,
I have an application that may create some scratch directories that should be deleted upone exiting. So, in my code for Form1 the following is done:
private void...
-
Dear code gurus,
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 your help!!!
|
Click Here to Expand Forum to Full Width
|