Esempio n. 1
0
 public TerrainTitleButton(string titleName, TexturePaneFull parent)
 {
     mTitle      = titleName;
     this.Width  = parent.flowLayoutPanel1.Width - 10;// mThumbnailSize;
     this.Height = 16;
     mWidth      = parent.flowLayoutPanel1.Width - 10;
 }
Esempio n. 2
0
 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;
 }