Esempio n. 1
0
        private void btnBrowseImageNPC_Click(object sender, EventArgs e)
        {
            ImportImage tIImg = new ImportImage();

            tIImg.ImgPath = IMAGESPATH;
            tIImg.ShowDialog();
            txtImageNPC.Text = tIImg.ImgToReturn;
            CurrentTemplate.NPCs[dgNPCs.CurrentRow.Index].TextureImg = tIImg.ImgToReturn;
        }
Esempio n. 2
0
        private void btnImgSelect_Click(object sender, EventArgs e)
        {
            ImportImage tIImg = new ImportImage();

            tIImg.ImgPath = IMAGESPATH;
            tIImg.ShowDialog();
            txtItemImage.Text = tIImg.ImgToReturn;
            CurrentTemplate.Items[dgItems.CurrentRow.Index].TextureImg = tIImg.ImgToReturn;
        }