Dear Experts,
I m using a timer and I know how to enable and use it for a button click. But tell me how to enable a timer when a function is called inside a button click.
I tried these codes but they are faulty. (Timer event was set to test_function)
namespace test_timer
{
public partial class Form1 : Form
{
public Form1()
...
User Profile
Collapse
-
How to enable a timer for a event of a function call?
-
how to set a proper path of a image file? Windows App - C#
Dear Experts,
for my project, i am using an image which i inserted into the
project folder and i am using that image as the background of the project.
also when i click a button i am changing the background to
another image which is a requirement of my project. i was able to do that. but the problem is the image path.
... -
Dear Experts,
for my project, i am using an image which i inserted into the project folder and i am using that image as the background of the project. also when i click a button i am changing the background to another image which is a requirement of my project. i was able to do that. but the problem is the image path. i tested it with the absolute path. now i need to set a proper path so that i can use the same project to upgrade in...Leave a comment:
-
thanks for your reply,
i tried ur code,
but when i executed the variable asm.location gets assigned with the path of the .exe file in the debug\bin folder, not to Windows App folder..
how to correct this?...Leave a comment:
-
-
how to set a proper path of a image file? Windows App - C#
Dear Experts,
My project involves developing a Windows Application where i need to load a picture and i used the following code,
Bitmap myBitmap3 = new Bitmap(@"C:\App \images\logo.bm p");
however, this is not convenient as if i try to use the same project folder in another pc, it doesn't work. so i tried the following,
Bitmap myBitmap3 = new Bitmap(@"\image s\logo.bmp");... -
How to change the backgound image After a mouse click
Dear experts,
I need to change the background image of a windows form
at an event of a mouse click.
Please give me the relavent method and codes.
Anuhas -
Cant zoom the image with table lay out panel
Dear experts,
I have already written codes to zoom a image. I am going to use a table layout panel to remove the button off-placement. But when I try to zoom the image with table lay out panel it doesnt work. Please give me a solution to zoom the image with table lay out panel.
Anuhas -
Thanx a lot. But I m talking about windows forms not web pages.
Please help me again.
AnuhasLeave a comment:
-
How to display a tooltip in a windows form?
Dear Experts,
Tell me how to display a tool tip in a windows form when mouse point is on a button.
Please help me.
Anuhas -
How to display a help text
Dear Experts,
Tell me how to display a help text when mouse point is on a button.
Please help me.
Anuhas -
How to display a help text
Dear Experts,
I need to display a help text when I put my mouse point on a button.
Please tell me a way to do this.
Anuhas -
How to get a text randomly out of stored texts
Dear Experts,
I need to get a text randomly out of stored texts.
Ex. I need CX from ND, CX, MH, HG Like wise...........
I am already aware of how to get random numbers. But dont know this.
Please help me ASAP !
Anuhas -
how to draw lines after making a line class (URGENT)
Dear Experts,
I need to draw lines. But I have to make a class for this. I know how to draw lines in direct methods.
i.e.
Graphics g = this.CreateGrap hics();
Pen mypen = new Pen(Color.Red, 2);
mypen.DashStyle = System.Drawing. Drawing2D.DashS tyle.Solid;
g.DrawLine(mype n, 100, 100, 200, 300);
But I dont... -
Can I tilt a Button?
Dear Experts,
Can I rotate a button? I need a button which is neither horizontal nor vertical. Please help me soon!!!!!!!!!!!
AnuhasLeave a comment:
-
I need to draw NON Horizontal lines.
Dear experts,
I have used buttons to indicate certain locations on a map.(Just a picture used as form background)
I am going to draw lines interconnecting these buttons(locatio ns).
But I dont know how to draw lines connecting those buttons.
Can I use buttons for this task?
How can I tilt those buttons?
Can I draw lines using...Leave a comment:
-
I think u have misunderstood.
I need to draw NON horizontal lines.
Please help me!!!!!!!!!!!!! !!!!!!!!!!!!!!!
CLick this URL to see the requirement
http://img212.imageshack.us/img212/2284/figuredx0.jpg...Leave a comment:
-
Thanx
But after selecting back ground image layout as Zoom buttons are offplaced.Leave a comment:
-
Thank You very much for your advice.
But I need to draw non horizontal lines. Can I draw them using labels?
Other thing is I am using a table lay out panel to locate the buttons(Positio ns) therefore it is very hard to put labels.
AnuhasLeave a comment:
-
How to zoom a image
Dear Experts,
I am using an image as the background of a form. I need to zoom that image. Because it is a map and I need to see the locations accurately.Plea se help me soon to help this problem.
Thank You...
Anuhas
No activity results to display
Show More
Leave a comment: