Beispiel #1
0
        private void sendRatesToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (sendRates != null)
            {
                sendRates.Show();

                return;
            }

            sendRates             = new SendRatesWindow();
            sendRates.FormClosed += SendRates_FormClosed;

            foreach (ConnectionRow row in connectionsRows)
            {
                sendRates?.ActiveConnections.Add(row);
            }

            sendRates.Show();
        }
Beispiel #2
0
 private void SendRates_FormClosed(object sender, FormClosedEventArgs e)
 {
     sendRates.Dispose();
     sendRates = null;
 }