Пример #1
0
        private void downloadBuysToExcel_Click(object sender, EventArgs e)
        {
            logBox.AppendText("Downloading Buys data." + Environment.NewLine);

            string sFilename = MKMBot.getBuys(this, "8"); //mainForm

            if (sFilename != "")
            {
                Process.Start(sFilename);
            }
        }
Пример #2
0
        private void downloadBuysToExcel_Click(object sender, EventArgs e)
        {
            MKMBotSettings s;

            if (settingsWindow.GenerateBotSettings(out s))
            {
                logBox.AppendText("Downloading Buys data." + Environment.NewLine);
                bot.setSettings(s);

                string sFilename = bot.getBuys(this, "8"); //mainForm

                Process.Start(sFilename);
            }
            else
            {
                logBox.AppendText("Bud data download abandoned, incorrect setting parameters." + Environment.NewLine);
            }
        }