コード例 #1
0
ファイル: ConfirmOrder.cs プロジェクト: w1r2p1/GoblinBat
        private void OnReceiveIdentify(object sender, Identify e)
        {
            if (e.Confirm != null && e.Confirm.Equals(message))
            {
                if (TimerBox.Show(string.Concat(message, new Message().Continue), "Notice", MessageBoxButtons.YesNo, MessageBoxIcon.Question, MessageBoxDefaultButton.Button1, 35752).Equals((DialogResult)6))
                {
                }
                SendTab?.Invoke(this, new Mining(9));

                return;
            }
            BeginInvoke(new Action(() => checkBox.Text = e.Confirm != null ? string.Concat(DateTime.Now.ToString("H시 m분 s초\n"), e.Confirm) : string.Concat(e.Remaining, ".")));
            SendTab?.Invoke(this, new Mining(2));
        }
コード例 #2
0
ファイル: ConfirmOrder.cs プロジェクト: w1r2p1/GoblinBat
        private void OnReceiveIdentify(object sender, Identify e)
        {
            if (e.Confirm != null && e.Confirm.Equals(message))
            {
                if (TimerBox.Show(string.Concat(message, "\n\nDo You Want to Continue with BackTesting??\n\nIf You don't Want to Proceed,\nPress 'No'.\n\nAfter 35 Seconds the Program is Terminated."), "Notice", MessageBoxButtons.YesNo, MessageBoxIcon.Question, MessageBoxDefaultButton.Button1, 35752).Equals((DialogResult)6))
                {
                    Process.Start(string.Concat(Application.StartupPath, @"\BackTesting.exe"));
                }

                SendTab?.Invoke(this, new Mining(9));
            }
            checkBox.Text = e.Confirm != null?string.Concat(DateTime.Now.ToString("H시 m분 s초\n"), e.Confirm) : string.Concat(e.Remaining, ".");

            SendTab?.Invoke(this, new Mining(2));
            BeginInvoke(new Action(() => new LogMessage().Record("Kiwoom", checkBox.Text)));
        }