32 lines
781 B
C#
32 lines
781 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using System.Data;
|
|
using System.Drawing;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using System.Windows.Forms;
|
|
using System.Xml;
|
|
|
|
namespace ProgLab1.GUI
|
|
{
|
|
public partial class MathGameForm : Form
|
|
{
|
|
private Label formula;
|
|
public MathGameForm()
|
|
{
|
|
InitializeComponent();
|
|
this.Text = "Угадайка";
|
|
|
|
formula = new Label();
|
|
formula.Text = "Math.Sin((Math.Pow(a, 3) + Math.Pow(b, 5)) / (2 * PI)) + Math.Pow(Math.Cos(a + b), (1.0 / 3.0))";
|
|
formula.AutoSize = true;
|
|
formula.Top = 50;
|
|
formula.Left = 50;
|
|
|
|
this.Controls.Add(formula);
|
|
}
|
|
}
|
|
}
|