예제 #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);
            }
        }