iSpyApplication.Controls.FloorPlanControl.DrawButton C# (CSharp) 메소드

DrawButton() 개인적인 메소드

private DrawButton ( Graphics gCam, int buttonIndex ) : void
gCam System.Drawing.Graphics
buttonIndex int
리턴 void
        private void DrawButton(Graphics gCam, int buttonIndex)
        {
            Rectangle rDest;
            Rectangle rSrc = GetButtonByIndex(buttonIndex, out rDest);

            gCam.DrawImage(MainForm.Conf.BigButtons ? Properties.Resources.icons_big : Properties.Resources.icons, rDest, rSrc, GraphicsUnit.Pixel);
        }