ObjectEditor.frmMain.txtInvPic_TextChanged C# (CSharp) Метод

txtInvPic_TextChanged() приватный Метод

private txtInvPic_TextChanged ( object sender, EventArgs e ) : void
sender object
e EventArgs
Результат void
        private void txtInvPic_TextChanged(object sender, EventArgs e)
        {
            if (Data.Graphics.ContainsKey(txtInvPic.Text.ToLower()))
            {
                Bitmap bmp = Data.Graphics[txtInvPic.Text.ToLower()];
                pctInventory.Image = bmp;
            }
            else
                pctInventory.Image = null;
        }