상속: System.Windows.Forms.Form
예제 #1
0
파일: ModelBrowser.cs 프로젝트: PakL/ps2ls
        private void toolStripButton1_Click(object sender, EventArgs e)
        {
            List <String> fileNames = new List <string>();

            foreach (object selectedItem in modelsListBox.SelectedItems)
            {
                Asset asset = null;

                try
                {
                    asset = (Asset)selectedItem;
                }
                catch (InvalidCastException) { continue; }

                fileNames.Add(asset.Name);
            }

            ModelExportForm modelExportForm = new ModelExportForm();

            modelExportForm.FileNames = fileNames;
            modelExportForm.ShowDialog();
        }
예제 #2
0
        private void extractSelectedModels()
        {
            List <string> fileNames = new List <string>();

            foreach (object selectedItem in modelsListBox.SelectedItems)
            {
                Asset asset = null;

                try
                {
                    asset = (Asset)selectedItem;
                }
                catch (InvalidCastException) { continue; }

                fileNames.Add(asset.Name);
            }

            ModelExportForm modelExportForm = new ModelExportForm();

            modelExportForm.FileNames = fileNames;
            modelExportForm.ShowDialog();
        }
예제 #3
0
        private void extractSelectedModels()
        {
            List<string> fileNames = new List<string>();

            foreach (object selectedItem in modelsListBox.SelectedItems)
            {
                Asset asset = null;

                try
                {
                    asset = (Asset)selectedItem;
                }
                catch (InvalidCastException) { continue; }

                fileNames.Add(asset.Name);
            }

            ModelExportForm modelExportForm = new ModelExportForm();
            modelExportForm.FileNames = fileNames;
            modelExportForm.ShowDialog();
        }
예제 #4
0
파일: ModelBrowser.cs 프로젝트: psemu/ps2ls
        private void toolStripButton1_Click(object sender, EventArgs e)
        {
            List<String> fileNames = new List<string>();

            foreach (object selectedItem in modelsListBox.SelectedItems)
            {
                Asset asset = null;

                try
                {
                    asset = (Asset)selectedItem;
                }
                catch (InvalidCastException) { continue; }

                fileNames.Add(asset.Name);
            }

            ModelExportForm modelExportForm = new ModelExportForm();
            modelExportForm.FileNames = fileNames;
            modelExportForm.ShowDialog();
        }