C# Class MGShaderEditor.TextureSlotsUserControl

UserControl for Textures Slots display and selection
Inheritance: System.Windows.Forms.UserControl
Show file Open project: procfxgen/MGShaderEditor

Public Methods

Method Description
SetTextureSlot ( int _nSlotIdx, Microsoft.Xna.Framework.Graphics.Texture2D _tex ) : void
SetTextureSlot ( int _nSlotIdx, string _strFileName ) : void
TextureSlotsUserControl ( ) : System

Protected Methods

Method Description
OnDoubleClick ( EventArgs e ) : void
OnPaint ( PaintEventArgs e ) : void
OnScroll ( ScrollEventArgs se ) : void
OnSizeChanged ( EventArgs e ) : void

Method Details

OnDoubleClick() protected method

protected OnDoubleClick ( EventArgs e ) : void
e System.EventArgs
return void

OnPaint() protected method

protected OnPaint ( PaintEventArgs e ) : void
e PaintEventArgs
return void

OnScroll() protected method

protected OnScroll ( ScrollEventArgs se ) : void
se System.Windows.Forms.ScrollEventArgs
return void

OnSizeChanged() protected method

protected OnSizeChanged ( EventArgs e ) : void
e System.EventArgs
return void

SetTextureSlot() public method

public SetTextureSlot ( int _nSlotIdx, Microsoft.Xna.Framework.Graphics.Texture2D _tex ) : void
_nSlotIdx int
_tex Microsoft.Xna.Framework.Graphics.Texture2D
return void

SetTextureSlot() public method

public SetTextureSlot ( int _nSlotIdx, string _strFileName ) : void
_nSlotIdx int
_strFileName string
return void

TextureSlotsUserControl() public method

public TextureSlotsUserControl ( ) : System
return System