public Form1() { InitializeComponent(); lueTankit(); tl = new tilausLomake(this); tilaa.Click += tilausLomake; }
private void tilausLomake(object sender, EventArgs e) { if (tl == null || tl.IsDisposed) { tl = new tilausLomake(this); } tl.setSaldot(saldo95, saldo98, saldoDi); tl.Show(); }