1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980 |
- 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 ShtukoSpecOdejda
- {
- public partial class FCeh : Form
- {
- public FCeh()
- {
- InitializeComponent();
- }
- private void цехBindingNavigatorSaveItem_Click(object sender, EventArgs e)
- {
- this.Validate();
- this.цехBindingSource.EndEdit();
- this.tableAdapterManager.UpdateAll(this.iS32SpecOdegdaShtukoDataSet);
- }
- private void FCeh_Load(object sender, EventArgs e)
- {
- // TODO: данная строка кода позволяет загрузить данные в таблицу "iS32SpecOdegdaShtukoDataSet.Цех". При необходимости она может быть перемещена или удалена.
- this.цехTableAdapter.Fill(this.iS32SpecOdegdaShtukoDataSet.Цех);
- }
- private void butExCeh_Click(object sender, EventArgs e)
- {
- FMain newfrm = new FMain();
- newfrm.Show();
- this.Close();
- }
- private void button1_Click(object sender, EventArgs e)
- {
- цехBindingSource.MoveFirst();
- }
- private void button3_Click(object sender, EventArgs e)
- {
- цехBindingSource.MovePrevious();
- }
- private void button5_Click(object sender, EventArgs e)
- {
- цехBindingSource.AddNew();
- }
- private void button2_Click(object sender, EventArgs e)
- {
- цехBindingSource.MoveLast();
- }
- private void button4_Click(object sender, EventArgs e)
- {
- цехBindingSource.MoveNext();
- }
- private void button6_Click(object sender, EventArgs e)
- {
- цехBindingSource.RemoveCurrent();
- }
- private void button7_Click(object sender, EventArgs e)
- {
- this.Validate();
- this.цехBindingSource.EndEdit();
- this.tableAdapterManager.UpdateAll(this.iS32SpecOdegdaShtukoDataSet);
- }
- }
- }
|