2014-01-30 14:52:08 +00:00
|
|
|
|
#region ================== Namespaces
|
|
|
|
|
|
|
|
|
|
using System;
|
2020-12-24 20:28:55 +00:00
|
|
|
|
using System.Collections;
|
2020-07-04 19:26:06 +00:00
|
|
|
|
using System.Collections.Generic;
|
2020-12-23 21:08:56 +00:00
|
|
|
|
using System.Drawing;
|
2013-03-18 13:52:27 +00:00
|
|
|
|
using System.Windows.Forms;
|
|
|
|
|
using System.IO;
|
2020-07-04 19:26:06 +00:00
|
|
|
|
using System.Linq;
|
2014-10-22 13:07:17 +00:00
|
|
|
|
using CodeImp.DoomBuilder.Windows;
|
2020-07-07 20:27:13 +00:00
|
|
|
|
using CodeImp.DoomBuilder.Controls;
|
2013-03-18 13:52:27 +00:00
|
|
|
|
|
2014-01-30 14:52:08 +00:00
|
|
|
|
#endregion
|
|
|
|
|
|
2013-03-18 13:52:27 +00:00
|
|
|
|
namespace CodeImp.DoomBuilder.BuilderModes.Interface
|
|
|
|
|
{
|
2014-10-22 13:07:17 +00:00
|
|
|
|
public partial class WavefrontSettingsForm : DelayedForm
|
2013-03-18 13:52:27 +00:00
|
|
|
|
{
|
2014-01-30 14:52:08 +00:00
|
|
|
|
#region ================== Properties
|
|
|
|
|
|
|
|
|
|
public string FilePath { get { return tbExportPath.Text.Trim(); } }
|
|
|
|
|
public bool ExportTextures { get { return cbExportTextures.Checked; } }
|
2020-07-04 19:26:06 +00:00
|
|
|
|
public bool UseGZDoomScale { get { return cbExportForGZDoom.Checked; } }
|
2014-01-30 14:52:08 +00:00
|
|
|
|
public float ObjScale { get { return (float)nudScale.Value; } }
|
2020-07-04 19:26:06 +00:00
|
|
|
|
public string BasePath { get { return tbBasePath.Text.Trim(); } }
|
|
|
|
|
public string ActorPath { get { return tbActorPath.Text.Trim(); } }
|
|
|
|
|
public string ModelPath { get { return tbModelPath.Text.Trim(); } }
|
|
|
|
|
public string ActorName { get { return tbActorName.Text.Trim(); } }
|
|
|
|
|
public List<string> SkipTextures { get { return lbSkipTextures.Items.Cast<string>().ToList(); } }
|
|
|
|
|
public bool IgnoreControlSectors { get { return cbIgnoreControlSectors.Checked; } }
|
|
|
|
|
public bool NormalizeLowestVertex { get { return cbNormalizeLowestVertex.Checked; } }
|
|
|
|
|
public bool CenterModel { get { return cbCenterModel.Checked; } }
|
|
|
|
|
public bool NoGravity { get { return cbNoGravity.Checked; } }
|
|
|
|
|
public bool SpawnOnCeiling { get { return cbSpawnOnCeiling.Checked; } }
|
|
|
|
|
public bool Solid { get { return cbSolid.Checked; } }
|
|
|
|
|
public bool ZScript { get { return rbZScript.Checked; } }
|
|
|
|
|
public string Sprite { get { return tbSprite.Text.Trim().ToUpperInvariant(); } }
|
2014-01-30 14:52:08 +00:00
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
2014-12-03 23:15:26 +00:00
|
|
|
|
public WavefrontSettingsForm(int sectorsCount)
|
|
|
|
|
{
|
2013-03-18 13:52:27 +00:00
|
|
|
|
InitializeComponent();
|
|
|
|
|
|
2014-01-30 14:52:08 +00:00
|
|
|
|
string name = Path.GetFileNameWithoutExtension(General.Map.FileTitle) + "_" + General.Map.Options.LevelName + ".obj";
|
2014-12-03 23:15:26 +00:00
|
|
|
|
if(string.IsNullOrEmpty(General.Map.FilePathName))
|
|
|
|
|
{
|
2020-07-07 19:52:07 +00:00
|
|
|
|
string tmpPath = Path.GetTempPath();
|
|
|
|
|
saveFileDialog.InitialDirectory = tmpPath;
|
|
|
|
|
saveFileDialog.FileName = Path.GetDirectoryName(tmpPath) + Path.DirectorySeparatorChar + name;
|
|
|
|
|
tbExportPath.Text = saveFileDialog.FileName;
|
2014-12-03 23:15:26 +00:00
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
2014-01-30 14:52:08 +00:00
|
|
|
|
saveFileDialog.InitialDirectory = General.Map.FilePathName;
|
|
|
|
|
saveFileDialog.FileName = Path.GetDirectoryName(General.Map.FilePathName) + Path.DirectorySeparatorChar + name;
|
|
|
|
|
tbExportPath.Text = saveFileDialog.FileName;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//restore settings
|
2014-04-09 10:16:33 +00:00
|
|
|
|
cbExportTextures.Checked = General.Settings.ReadPluginSetting("objexporttextures", false);
|
2020-07-04 19:26:06 +00:00
|
|
|
|
cbExportForGZDoom.Checked = General.Settings.ReadPluginSetting("objgzdoomscale", false);
|
2014-04-09 10:16:33 +00:00
|
|
|
|
nudScale.Value = (decimal)General.Settings.ReadPluginSetting("objscale", 1.0f);
|
2013-03-18 13:52:27 +00:00
|
|
|
|
|
|
|
|
|
this.Text = "Export " + (sectorsCount == -1 ? "whole map" : sectorsCount + (sectorsCount > 1 ? "sectors" : "sector")) + " to Wavefront .obj";
|
2020-07-04 19:26:06 +00:00
|
|
|
|
|
|
|
|
|
if (General.Map.Config.MixTexturesFlats)
|
|
|
|
|
{
|
|
|
|
|
bAddFlat.Visible = false;
|
|
|
|
|
bAddTexture.Width = bRemoveTexture.Width;
|
|
|
|
|
bAddTexture.Text = "Add texture/flat";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
string mapname = Path.GetFileNameWithoutExtension(General.Map.FileTitle);
|
|
|
|
|
tbActorName.Text = char.ToUpper(mapname[0]) + mapname.Substring(1);
|
2020-07-07 19:52:07 +00:00
|
|
|
|
|
|
|
|
|
string initialPath = General.Map.FilePathName == "" ? Path.GetTempPath() : General.Map.FilePathName;
|
|
|
|
|
tbBasePath.Text = General.Settings.ReadPluginSetting("objbasepath", Path.GetDirectoryName(initialPath));
|
|
|
|
|
tbActorPath.Text = General.Settings.ReadPluginSetting("objactorpath", Path.GetDirectoryName(initialPath));
|
|
|
|
|
tbModelPath.Text = General.Settings.ReadPluginSetting("objmodelpath", Path.GetDirectoryName(initialPath));
|
2020-07-04 19:26:06 +00:00
|
|
|
|
tbSprite.Text = General.Settings.ReadPluginSetting("objsprite", "PLAY");
|
|
|
|
|
|
2020-12-24 20:28:55 +00:00
|
|
|
|
IDictionary skiptexture = General.Settings.ReadPluginSetting("objskiptextures", new Hashtable());
|
|
|
|
|
foreach (DictionaryEntry de in skiptexture)
|
|
|
|
|
{
|
|
|
|
|
lbSkipTextures.Items.Add(de.Value);
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-04 19:26:06 +00:00
|
|
|
|
// Toggle enable/disable manually because cbFixScale is a child of the group box, so disabling
|
|
|
|
|
// the group box would also disable cbFixScale
|
|
|
|
|
foreach (Control c in gbGZDoom.Controls)
|
|
|
|
|
{
|
|
|
|
|
if (c != cbExportForGZDoom)
|
|
|
|
|
c.Enabled = cbExportForGZDoom.Checked;
|
|
|
|
|
}
|
2021-03-11 20:54:48 +00:00
|
|
|
|
|
|
|
|
|
cbGenerateCode.Checked = General.Settings.ReadPluginSetting("objgeneratecode", true);
|
|
|
|
|
cbGenerateModeldef.Checked = General.Settings.ReadPluginSetting("objgeneratemodeldef", true);
|
|
|
|
|
|
|
|
|
|
if(cbExportForGZDoom.Checked)
|
|
|
|
|
{
|
|
|
|
|
gbActorFormat.Enabled = gbActorSettings.Enabled = cbGenerateCode.Checked;
|
|
|
|
|
}
|
2013-03-18 13:52:27 +00:00
|
|
|
|
}
|
|
|
|
|
|
2020-07-04 19:26:06 +00:00
|
|
|
|
#region ================== Methods
|
|
|
|
|
|
|
|
|
|
private bool PathIsValid(string path)
|
|
|
|
|
{
|
|
|
|
|
if (!path.EndsWith(Path.DirectorySeparatorChar.ToString()))
|
|
|
|
|
path += Path.DirectorySeparatorChar;
|
|
|
|
|
|
|
|
|
|
return Directory.Exists(Path.GetDirectoryName(path));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
2014-01-30 14:52:08 +00:00
|
|
|
|
#region ================== Events
|
|
|
|
|
|
2014-12-03 23:15:26 +00:00
|
|
|
|
private void browse_Click(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
if(saveFileDialog.ShowDialog() == DialogResult.OK)
|
2013-03-18 13:52:27 +00:00
|
|
|
|
tbExportPath.Text = saveFileDialog.FileName;
|
|
|
|
|
}
|
|
|
|
|
|
2014-12-03 23:15:26 +00:00
|
|
|
|
private void export_Click(object sender, EventArgs e)
|
|
|
|
|
{
|
2020-07-04 19:26:06 +00:00
|
|
|
|
// Check settings
|
|
|
|
|
if (cbExportForGZDoom.Checked)
|
2014-12-03 23:15:26 +00:00
|
|
|
|
{
|
2020-12-23 21:08:56 +00:00
|
|
|
|
if (tbActorName.Text.Trim().Length == 0)
|
|
|
|
|
{
|
|
|
|
|
MessageBox.Show("Actor name can not be empty!", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (Char.IsDigit(tbActorName.Text.Trim()[0]))
|
|
|
|
|
{
|
|
|
|
|
MessageBox.Show("Actor name can not start with a number!", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (tbActorName.Text.Trim().Any(c => Char.IsWhiteSpace(c)))
|
|
|
|
|
{
|
|
|
|
|
MessageBox.Show("Actor name can not contain whitespace!", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (!PathIsValid(tbBasePath.Text.Trim()))
|
2020-07-04 19:26:06 +00:00
|
|
|
|
{
|
|
|
|
|
MessageBox.Show("Base path does not exist!", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (!PathIsValid(tbActorPath.Text.Trim()))
|
|
|
|
|
{
|
|
|
|
|
MessageBox.Show("Actor path does not exist!", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (!PathIsValid(tbModelPath.Text.Trim()))
|
|
|
|
|
{
|
|
|
|
|
MessageBox.Show("Model path does not exist!", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (cbExportForGZDoom.Checked && tbSprite.Text.Trim().Length != 4)
|
|
|
|
|
{
|
|
|
|
|
MessageBox.Show("Sprite name must be exactly 4 alphanumeric characters long!", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
|
|
|
|
return;
|
|
|
|
|
}
|
2014-01-30 14:52:08 +00:00
|
|
|
|
}
|
2020-07-04 19:26:06 +00:00
|
|
|
|
else // Not exporting for GZDoom
|
2014-12-03 23:15:26 +00:00
|
|
|
|
{
|
2020-07-04 19:26:06 +00:00
|
|
|
|
if (nudScale.Value == 0)
|
|
|
|
|
{
|
|
|
|
|
MessageBox.Show("Scale should not be zero!", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (!Directory.Exists(Path.GetDirectoryName(tbExportPath.Text)))
|
|
|
|
|
{
|
|
|
|
|
MessageBox.Show("Selected path does not exist!", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
|
|
|
|
return;
|
|
|
|
|
}
|
2013-03-18 13:52:27 +00:00
|
|
|
|
}
|
2014-01-30 14:52:08 +00:00
|
|
|
|
|
|
|
|
|
//save settings
|
|
|
|
|
General.Settings.WritePluginSetting("objexporttextures", cbExportTextures.Checked);
|
2020-07-04 19:26:06 +00:00
|
|
|
|
General.Settings.WritePluginSetting("objgzdoomscale", cbExportForGZDoom.Checked);
|
2014-01-30 14:52:08 +00:00
|
|
|
|
General.Settings.WritePluginSetting("objscale", (float)nudScale.Value);
|
2020-07-04 19:26:06 +00:00
|
|
|
|
General.Settings.WritePluginSetting("objbasepath", tbBasePath.Text);
|
|
|
|
|
General.Settings.WritePluginSetting("objactorpath", tbActorPath.Text);
|
|
|
|
|
General.Settings.WritePluginSetting("objmodelpath", tbModelPath.Text);
|
|
|
|
|
General.Settings.WritePluginSetting("objsprite", tbSprite.Text.ToUpperInvariant());
|
2021-03-11 20:54:48 +00:00
|
|
|
|
General.Settings.WritePluginSetting("objgeneratecode", cbGenerateCode.Checked);
|
|
|
|
|
General.Settings.WritePluginSetting("objgeneratemodeldef", cbGenerateModeldef.Checked);
|
2020-07-04 19:26:06 +00:00
|
|
|
|
|
2021-03-11 20:54:48 +00:00
|
|
|
|
Dictionary <string, string> skiptexture = new Dictionary<string, string>();
|
2020-12-24 20:28:55 +00:00
|
|
|
|
int i = 0;
|
|
|
|
|
foreach(string t in lbSkipTextures.Items)
|
|
|
|
|
{
|
|
|
|
|
skiptexture["texture" + i] = t;
|
|
|
|
|
i++;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
General.Settings.WritePluginSetting("objskiptextures", skiptexture);
|
|
|
|
|
|
2014-01-30 14:52:08 +00:00
|
|
|
|
this.DialogResult = DialogResult.OK;
|
|
|
|
|
this.Close();
|
2013-03-18 13:52:27 +00:00
|
|
|
|
}
|
|
|
|
|
|
2014-12-03 23:15:26 +00:00
|
|
|
|
private void cancel_Click(object sender, EventArgs e)
|
|
|
|
|
{
|
2013-03-18 13:52:27 +00:00
|
|
|
|
this.Close();
|
|
|
|
|
}
|
2014-01-30 14:52:08 +00:00
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
2020-07-04 19:26:06 +00:00
|
|
|
|
private void cbFixScale_CheckedChanged(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
// Toggle enable/disable manually because cbFixScale is a child of the group box, so disabling
|
|
|
|
|
// the group box would also disable cbFixScale
|
|
|
|
|
foreach(Control c in cbExportForGZDoom.Parent.Controls)
|
|
|
|
|
{
|
|
|
|
|
if (c != cbExportForGZDoom)
|
|
|
|
|
c.Enabled = !c.Enabled;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
tbExportPath.Enabled = browse.Enabled = cbExportTextures.Enabled = nudScale.Enabled = !cbExportForGZDoom.Checked;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void bAddTexture_Click(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
string name = General.Interface.BrowseTexture(General.Interface, "-");
|
|
|
|
|
|
|
|
|
|
foreach(string n in lbSkipTextures.Items)
|
|
|
|
|
{
|
|
|
|
|
if (n == name)
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
lbSkipTextures.Items.Add(name);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void bAddFlat_Click(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
string name = General.Interface.BrowseFlat(General.Interface, "-");
|
|
|
|
|
|
|
|
|
|
foreach (string n in lbSkipTextures.Items)
|
|
|
|
|
{
|
|
|
|
|
if (n == name)
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
lbSkipTextures.Items.Add(name);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void bRemoveTexture_Click(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
ListBox.SelectedObjectCollection items = new ListBox.SelectedObjectCollection(lbSkipTextures);
|
|
|
|
|
|
|
|
|
|
for (int i = items.Count - 1; i >= 0; i--)
|
|
|
|
|
{
|
|
|
|
|
lbSkipTextures.Items.Remove(items[i]);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void bBrowseBasePath_Click(object sender, EventArgs e)
|
|
|
|
|
{
|
2020-07-07 20:27:13 +00:00
|
|
|
|
FolderSelectDialog dirdialog = new FolderSelectDialog();
|
|
|
|
|
dirdialog.Title = "Select base folder";
|
|
|
|
|
dirdialog.InitialDirectory = tbBasePath.Text;
|
2020-07-04 19:26:06 +00:00
|
|
|
|
|
2020-07-07 20:27:13 +00:00
|
|
|
|
if (dirdialog.ShowDialog(this.Handle))
|
2020-07-04 19:26:06 +00:00
|
|
|
|
{
|
2020-07-07 20:27:13 +00:00
|
|
|
|
tbBasePath.Text = dirdialog.FileName;
|
2020-07-04 19:26:06 +00:00
|
|
|
|
|
|
|
|
|
if (string.IsNullOrWhiteSpace(tbActorPath.Text))
|
|
|
|
|
tbActorPath.Text = tbBasePath.Text;
|
|
|
|
|
|
|
|
|
|
if (string.IsNullOrWhiteSpace(tbModelPath.Text))
|
|
|
|
|
tbModelPath.Text = tbBasePath.Text;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void bBrowseActorPath_Click(object sender, EventArgs e)
|
|
|
|
|
{
|
2020-07-07 20:27:13 +00:00
|
|
|
|
FolderSelectDialog dirdialog = new FolderSelectDialog();
|
|
|
|
|
dirdialog.Title = "Select actor folder";
|
|
|
|
|
dirdialog.InitialDirectory = tbActorPath.Text;
|
2020-07-04 19:26:06 +00:00
|
|
|
|
|
2020-07-07 20:27:13 +00:00
|
|
|
|
if (dirdialog.ShowDialog(this.Handle))
|
|
|
|
|
{
|
|
|
|
|
tbActorPath.Text = dirdialog.FileName;
|
|
|
|
|
}
|
2020-07-04 19:26:06 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void bBrowseModelPath_Click(object sender, EventArgs e)
|
|
|
|
|
{
|
2020-07-07 20:27:13 +00:00
|
|
|
|
FolderSelectDialog dirdialog = new FolderSelectDialog();
|
|
|
|
|
dirdialog.Title = "Select model folder";
|
|
|
|
|
dirdialog.InitialDirectory = tbModelPath.Text;
|
2020-07-04 19:26:06 +00:00
|
|
|
|
|
2020-07-07 20:27:13 +00:00
|
|
|
|
if (dirdialog.ShowDialog(this.Handle))
|
|
|
|
|
{
|
|
|
|
|
tbModelPath.Text = dirdialog.FileName;
|
|
|
|
|
}
|
2020-07-04 19:26:06 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void bResetPaths_Click(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
tbBasePath.Text = tbActorPath.Text = tbModelPath.Text = Path.GetDirectoryName(General.Map.FilePathName);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void cbSpawnOnCeiling_CheckedChanged(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
if (cbSpawnOnCeiling.Checked)
|
|
|
|
|
cbNoGravity.Checked = true;
|
|
|
|
|
|
|
|
|
|
cbNoGravity.Enabled = !cbSpawnOnCeiling.Checked;
|
|
|
|
|
}
|
2020-12-23 21:08:56 +00:00
|
|
|
|
|
|
|
|
|
private void tbActorName_TextChanged(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
string name = tbActorName.Text.Trim();
|
|
|
|
|
bool haserror = false;
|
|
|
|
|
string errortext = "";
|
|
|
|
|
|
|
|
|
|
if (name.Length == 0)
|
|
|
|
|
{
|
|
|
|
|
errortext += "Actor name can not be empty";
|
|
|
|
|
haserror = true;
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
if (name.Any(c => Char.IsWhiteSpace(c)))
|
|
|
|
|
{
|
|
|
|
|
errortext += "Actor name can not contain whitespace";
|
|
|
|
|
haserror = true;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (Char.IsDigit(name[0]))
|
|
|
|
|
{
|
|
|
|
|
if (errortext.Length > 0) errortext += "\n";
|
|
|
|
|
errortext += "Actor name can not start with a digit";
|
|
|
|
|
haserror = true;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (haserror)
|
|
|
|
|
{
|
|
|
|
|
tbActorName.BackColor = Color.FromArgb(255, 192, 192);
|
|
|
|
|
toolTip1.SetToolTip(actorNameError, errortext);
|
|
|
|
|
actorNameError.Visible = true;
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
tbActorName.BackColor = SystemColors.Window;
|
|
|
|
|
actorNameError.Visible = false;
|
|
|
|
|
}
|
|
|
|
|
}
|
2021-03-11 20:54:48 +00:00
|
|
|
|
|
|
|
|
|
private void cbGenerateCode_CheckedChanged(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
gbActorFormat.Enabled = gbActorSettings.Enabled = cbGenerateCode.Checked;
|
|
|
|
|
}
|
2013-03-18 13:52:27 +00:00
|
|
|
|
}
|
|
|
|
|
}
|