Može li mi netko dati savjet kako da string iz jedne klase prebacim u drugu (formu) tako da je ubaci u Listbox ili Textbox. Probao sam ovako, ali ne ide, u konzoli se pokazuje ali u listboxu ne.
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;

namespace pokusaj
{
public class Metronome
{
public delegate void TickHandler();
public event TickHandler Tick;

public void Start()
{
while (true)
{
System.Threading.Thread.Sleep(3000);
if (Tick != null)
Tick();
}
}
}

public class Test:Form
{
private ListBox results;

public Test()
{
Text = "DjEM Restarter v1.1";
Size = new Size(400, 380);
results = new ListBox();
results.Parent = this;
results.Size = new Size(350, 20 * Font.Height);
results.Location = new Point(10, 65);
//results.Items.Add("xcxc");

}

static void Main()
{
Application.Run(new Test());
Metronome m = new Metronome();
m.Tick += new Metronome.TickHandler(HeardIt);
m.Start();
}

private static void HeardIt()
{
Test t = new Test();
//Application.Run(new Test());
t.results.Items.Add("HEARD ITxcxc");t.Show();
//.DoEvents();
System.Console.WriteLine("HEARD IT");
}
}
}