Exemplo n.º 1
0
        public void loadAssetsFileInNewWin(string file_name)
        {
            if (cuf == null)
            {
                cuf = new COH_CostumeUpdaterForm();

                cuf.FormClosing += new FormClosingEventHandler(cuf_FormClosing);
            }

            cuf.loadAssetsTrick(file_name);

            cuf.showCfx(this.MenuStripColor);

            cuf.fxLauncher.selectFxFile(file_name);
        }
Exemplo n.º 2
0
        public void loadPartFileInNewWin(string file_name)
        {
            if (cuf == null)
            {
                cuf = new COH_CostumeUpdaterForm();

                cuf.FormClosing -= new FormClosingEventHandler(cuf_FormClosing);
                cuf.FormClosing += new FormClosingEventHandler(cuf_FormClosing);
            }

            if (cuf.tgaFilesDictionary == null || cuf.tgaFilesDictionary.Count == 0)
            {
                cuf.tgaFilesDictionary = this.tgaFilesDictionary.ToDictionary(k => k.Key, k => k.Value);
            }

            cuf.loadPartFile(file_name);

            cuf.showCfx(this.MenuStripColor);

            cuf.fxLauncher.selectFxFile(file_name);
        }
Exemplo n.º 3
0
 private void cuf_FormClosing(object sender, FormClosingEventArgs e)
 {
     cuf = null;
     ((Form)sender).Dispose();
 }