示例#1
0
        // This browses for a texture
        protected override string BrowseImage(string imagename)
        {
            // Browse for texture
            string result = TextureBrowserForm.Browse(this.ParentForm, imagename, false);

            return(result ?? imagename);
        }
        // This browses for a flat
        protected override string BrowseImage(string imagename)
        {
            // Browse for texture
            string result = TextureBrowserForm.Browse(this.ParentForm, imagename, true);

            if (result != null)
            {
                return(result);
            }
            else
            {
                return(imagename);
            }
        }
 public override void Browse(IWin32Window parent)
 {
     this.value = TextureBrowserForm.Browse(parent, this.value, false);
 }
示例#4
0
 public override void Browse(IWin32Window parent)
 {
     this.value = TextureBrowserForm.Browse(parent, this.value, true);             //mxd. was FlatBrowserForm
 }