Ejemplo n.º 1
0
        private void BtnIssueWorkorder_Click(object sender, EventArgs e)
        {
            var wov = new WorkOrderView();

            wov.Equipment = _equipment;
            wov.ShowObject(null);
            wov.MdiParent = this.MdiParent;
            wov.Show();
        }
Ejemplo n.º 2
0
        private void toolStripButton2_Click(object sender, EventArgs e)
        {
            var wo = new WorkOrderView();

            wo.Equipment = _selectedEquipment;
            wo.ShowObject(null);
            wo.MdiParent = this.MdiParent;
            wo.Show();
        }
Ejemplo n.º 3
0
 public void OpenSelectedItem()
 {
     if (_selectedWorkOrder != null)
     {
         var wov = new WorkOrderView();
         wov.WorkOrderListView = this;
         wov.ShowObject(_selectedWorkOrder.WorkOrderId);
         wov.MdiParent = this.MdiParent;
         wov.Show();
     }
 }