Exemple #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();
        }
Exemple #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();
        }
 public void OpenSelectedItem()
 {
     if (_selectedWorkOrder != null)
     {
         var wov = new WorkOrderView();
         wov.WorkOrderListView = this;
         wov.ShowObject(_selectedWorkOrder.WorkOrderId);
         wov.MdiParent = this.MdiParent;
         wov.Show();
     }
 }