public TerrainTitleButton(string titleName, TexturePaneFull parent) { mTitle = titleName; this.Width = parent.flowLayoutPanel1.Width - 10;// mThumbnailSize; this.Height = 16; mWidth = parent.flowLayoutPanel1.Width - 10; }
public TerrainTextureDecalButton(string displayName, string fullfilename, Image imageRep, TexturePaneFull parent) { this.Width = parent.flowLayoutPanel1.Width - 10;// mThumbnailSize; this.Height = parent.mThumbnailSize; this.Image = imageRep; typename = displayName; mParent = parent; this.MouseUp += new MouseEventHandler(TerrainTextureDecalButton_MouseUp); mFullFilename = fullfilename; }