コード例 #1
0
        private void tradeLogToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Cursor = Cursors.WaitCursor;
            if (!Communicator.Internet.CheckConnection())
            {
                MessageBox.Show("No Internet Connection", "Not Connected", MessageBoxButtons.OK, MessageBoxIcon.Error);
                return;
            }
            TradeLogForm ts = new TradeLogForm(admin);

            ts.Show();
            Cursor = Cursors.Default;
        }
コード例 #2
0
 private void tradeLogToolStripMenuItem_Click(object sender, EventArgs e)
 {
     Cursor = Cursors.WaitCursor;
     if (!Communicator.Internet.CheckConnection())
     {
         MessageBox.Show("No Internet Connection", "Not Connected", MessageBoxButtons.OK, MessageBoxIcon.Error);
         return;
     }
     TradeLogForm ts = new TradeLogForm(admin);
     ts.Show();
     Cursor = Cursors.Default;
 }