Pibd-14_Eredavkin.R.A_Cours.../CourseWorkEreda копия/FormInput.cs

39 lines
756 B
C#
Raw Permalink Normal View History

2024-05-27 17:45:42 +04:00
using CourseWork_EredavkinRA;
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;
namespace CourseWorkEreda;
public partial class FormInput : Form
{
public event Action<int>? PushClicked;
public FormInput()
{
InitializeComponent();
}
private void label1_Click(object sender, EventArgs e)
{
}
private void buttonAdd_Click(object sender, EventArgs e)
{
int element = (int)numElement.Value;
PushClicked?.Invoke(element);
Close();
}
private void numElement_ValueChanged(object sender, EventArgs e)
{
}
}