ATMLCommonLibrary.controls.capability.CapabilityListControl.btnImportCapabilityDocument_Click C# (CSharp) 메소드

btnImportCapabilityDocument_Click() 개인적인 메소드

private btnImportCapabilityDocument_Click ( object sender, EventArgs e ) : void
sender object
e EventArgs
리턴 void
        private void btnImportCapabilityDocument_Click(object sender, EventArgs e)
        {
            var form = new CapabilityReferenceForm();
            form.InstrumentDescription = _instrumentDescription;
            form.DocumentReference = new DocumentReference();
            if (DialogResult.OK == form.ShowDialog())
            {
                DocumentReference docRef = form.DocumentReference;
                _capabilityItems.Add(docRef);
            }

            //Select the resource, then the resource port.
            //Create a class reporesentation of a capability mapping
        }