상속: System.Windows.Forms.UserControl
예제 #1
0
        public MainForm()
        {
            InitializeComponent();

            AssetBrowser = new AssetBrowser();
            ModelBrowser = new ModelBrowser();
            TextureBrowser = new TextureBrowser();
            SoundBrowser = new SoundBrowser();
            ZoneBrowser = new ZoneBrowser();
        }
예제 #2
0
        public MainForm()
        {
            InitializeComponent();

            AssetBrowser   = new AssetBrowser();
            ModelBrowser   = new ModelBrowser();
            TextureBrowser = new TextureBrowser();
            SoundBrowser   = new SoundBrowser();
            ZoneBrowser    = new ZoneBrowser();
        }
예제 #3
0
        private void Form1_Load(object sender, EventArgs e)
        {
            AssetBrowser.CreateInstance();
            ModelBrowser.CreateInstance();
            MaterialBrowser.CreateInstance();
            ImageBrowser.CreateInstance();
            SoundBrowser.CreateInstance();
            ActorForm.CreateInstance();

            ImageList imageList = new ImageList();

            imageList.Images.Add(Properties.Resources.box_small);
            imageList.Images.Add(Properties.Resources.tree_small);
            tabControl1.ImageList = imageList;

            TabPage assetBrowserTabPage = new TabPage("Asset Browser");

            assetBrowserTabPage.Controls.Add(AssetBrowser.Instance);
            assetBrowserTabPage.ImageIndex = 0;
            tabControl1.TabPages.Add(assetBrowserTabPage);

            TabPage materialBrowserTabPage = new TabPage("Actor Browser");

            materialBrowserTabPage.Controls.Add(ActorForm.Instance);
            materialBrowserTabPage.ImageIndex = 2;
            tabControl1.TabPages.Add(materialBrowserTabPage);


            TabPage modelBrowserTabPage = new TabPage("Model Browser");

            modelBrowserTabPage.Controls.Add(ModelBrowser.Instance);
            modelBrowserTabPage.ImageIndex = 1;
            tabControl1.TabPages.Add(modelBrowserTabPage);


            TabPage imageBrowser = new TabPage("Image Browser");

            imageBrowser.Controls.Add(ImageBrowser.Instance);
            imageBrowser.ImageIndex = 3;
            tabControl1.TabPages.Add(imageBrowser);

            TabPage soundBrowser = new TabPage("Sound Browser");

            soundBrowser.Controls.Add(SoundBrowser.Instance);
            soundBrowser.ImageIndex = 4;
            soundBrowser.Enter     += SoundBrowser.Instance.onEnter;
            tabControl1.TabPages.Add(soundBrowser);
        }
예제 #4
0
파일: ModelBrowser.cs 프로젝트: PakL/ps2ls
 public static void DeleteInstance()
 {
     instance = null;
 }
예제 #5
0
파일: ModelBrowser.cs 프로젝트: PakL/ps2ls
 public static void CreateInstance()
 {
     instance = new ModelBrowser();
 }
예제 #6
0
파일: ModelBrowser.cs 프로젝트: psemu/ps2ls
 public static void DeleteInstance()
 {
     instance = null;
 }
예제 #7
0
파일: ModelBrowser.cs 프로젝트: psemu/ps2ls
 public static void CreateInstance()
 {
     instance = new ModelBrowser();
 }