I am not sure for Console Apps, but in Windows Apps you have a component named timer (on WINDOWS FORMS toolbox). you shoud set interval, and in ON TICK event you should insert code.
I am not sure for Console Apps, but in Windows Apps you have a component named timer (on WINDOWS FORMS toolbox). you shoud set interval, and in ON TICK event you should insert code.
1. You can insert a timer.
On time event should contain procedure you want to call.
2. On click (on key press) event should do the task.
example:
private void form1_KeyPress(object sender, KeyPessEventArgs e)
{
if (e.KeyChar==13) { // You should insert here code that should be executed // }
}
You can always add timer which starts when form activates.
On timer event should contain what tasks form should do.
I have a problem with application distribution.
When I try to run Application (on other PCs that have .net framework installed), it won't open the window form containing the Crystal Report Viewer.
Are there any other components I should install on other PCs to run form containing the Crystal Report Viewer?
On the file menu click:
-> Project -> Add new Item
(Cathegory: Local Project Items Template: Crystal Report)