ATMLCommonLibrary.controls.network.MappingListControl.btnAdd_Click C# (CSharp) 메소드

btnAdd_Click() 보호된 메소드

protected btnAdd_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
리턴 void
        protected override void btnAdd_Click( object sender, EventArgs e )
        {
            var form = new MappingForm(HardwareItemDescription);
            form.Text = @"Add New Map";
            if (DialogResult.OK == form.ShowDialog())
            {
                Mapping mapping = form.Mapping;
                AddMappingItem( mapping );
            }
        }