Ejemplo n.º 1
0
 private void barButtonItemAdd_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     using (ProductionForm addForm = new ProductionForm())
     {
         addForm.ShowDialog();
         addForm.Dispose();
     }
     loadData();
 }
Ejemplo n.º 2
0
        private void barButtonItemView_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            ProductionForm viewForm = new ProductionForm();

            viewForm.currentProductionGuid = (Guid)productionGridView.GetFocusedRowCellValue("GUID");
            viewForm.edit = true;
            viewForm.view = true;
            viewForm.ShowDialog();
        }
Ejemplo n.º 3
0
 private void barButtonItemEdit_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     using (ProductionForm editForm = new ProductionForm())
     {
         editForm.currentProductionGuid = (Guid)productionGridView.GetFocusedRowCellValue("GUID");
         editForm.edit = true;
         editForm.ShowDialog();
     }
     loadData();
 }
Ejemplo n.º 4
0
        private void продукцияToolStripMenuItem_Click(object sender, EventArgs e)
        {
            ProductionForm frm = new ProductionForm(deletion_allowed);

            frm.ShowDialog();
        }