123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- 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 СУБД_Фабрика
- {
- public partial class FormKlad : Form
- {
- public FormKlad()
- {
- InitializeComponent();
- }
- private void FormKlad_Load(object sender, EventArgs e)
- {
- // TODO: This line of code loads data into the 'sewingFactoryMURDataSet1.Users' table. You can move, or remove it, as needed.
- this.usersTableAdapter.Fill(this.sewingFactoryMURDataSet1.Users);
- BsUsers.Filter = $"IDUser = {FormMain.IDUser}";
- }
- private void BtnProfile_Click(object sender, EventArgs e)
- {
- FormProfile FrmProf = new FormProfile();
- if (FrmProf.ShowDialog() == DialogResult.OK)
- {
- this.usersTableAdapter.Fill(this.sewingFactoryMURDataSet1.Users);
- }
- }
- private void BtnGetMaterial_Click(object sender, EventArgs e)
- {
- FormGetMaterial FrmGetMat = new FormGetMaterial();
- FrmGetMat.ShowDialog();
- }
- private void button1_Click(object sender, EventArgs e)
- {
- FormSpisMaterial FrmSpis = new FormSpisMaterial();
- FrmSpis.ShowDialog();
- }
- }
- }
|