Ejemplo n.º 1
0
        private void AgainBtn_Click(object sender, EventArgs e)
        {
            Create_Info();

            ResultBtn.Show();
            ListPanel.Show();

            AgainBtn.Hide();
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Calculates an arithmetic operation based on a comma-separated list of operands and operators
        /// </summary>
        /// <param name="ops">A comma-separated list of operands and operators which form the expression. Example: 2,+,2 for 2 + 2</param>
        public void Calculate(string ops)
        {
            var opKeys = ops.Split(",");

            foreach (var opKey in opKeys)
            {
                Ops[opKey].Click();
            }
            ResultBtn.VisibleWait();
            ResultBtn.Click();
            WaitForReady(timeout);
        }
Ejemplo n.º 3
0
        private void button1_Click(object sender, EventArgs e)
        {
            ListPanel.Hide();
            ResultBtn.Hide();

            AgainBtn.Show();

            ResultPanel.Controls.Clear();

            Label ResuL = new Label();

            ResuL.Name      = 1 + ToString();
            ResuL.Font      = new Font("Cambria", 130);
            ResuL.ForeColor = Color.FromArgb(178, 8, 55);
            ResuL.AutoSize  = true;
            ResuL.Text      = MindReader.Sym[MindReader.NC];

            ResultPanel.Controls.Add(ResuL);
        }