private void DataSıkma_CellClick_1(object sender, DataGridViewCellEventArgs e)
        {
            row  = (DataSıkma.CurrentRow.Cells[6].Value).ToString();
            Temp = sikmaOperation.FindUretimNo(int.Parse(row));
            SikmaEkle guncelle = new SikmaEkle(yetkili, (Entites.Machine.SikmaMakine)Temp);

            guncelle.MdiParent = this.MdiParent;
            guncelle.Show();
        }
示例#2
0
        private void sıkmaMakinesiToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Form kontrol = Application.OpenForms["SikmaEkle"];

            if (kontrol == null)
            {
                SikmaEkle acılan = new SikmaEkle(yetkili);
                acılan.MdiParent     = this;
                acılan.StartPosition = FormStartPosition.CenterParent;
                AnaPanel.Controls.Add(acılan);
                acılan.Show();
            }
            else
            {
                Temp = Application.OpenForms["SikmaEkle"];
                Temp.Focus();
            }
        }