Hvala N1k0l4!!!
ima i laksi nacin:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace AutomatskiRefresh
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void Form1_Load(object sender, EventArgs e)
{
timer1.Enabled = true;
}
private void timer1_Tick(object sender, EventArgs e)
{
MessageBox.Show("nakon 3 sekunde pojavice se ova poruka");
}
}
}
a u propertiu timer-a se postavi interval na zeljenu vrednost!!!
Hvala jos jednom na pomoci
|