private void startButton_Click(object sender, EventArgs e) { if (File.Exists(ddoProject.Text)) { if (Directory.Exists(targetDirectoryPath.Text)) { m_quixelSuiteDDOLiveConvert = new CQuixelSuiteDDOLiveConvert(ddoProject.Text, targetDirectoryPath.Text, crossAppCheckbox.Checked); this.Close(); m_manWindowDDOButton.Text = "Stop DDO Connexion"; m_manWindowDDOButton.ForeColor = System.Drawing.Color.Red; m_manWindowDDOButton.Width = 140; Framework.FocusProcess("Photoshop"); } else { Framework.ShowError("Target directory dosen't exist"); } } else { Framework.ShowError("Unable to find the DDO project xml"); } }
public void Stop() { m_quixelSuiteDDOLiveConvert.Stop(); m_quixelSuiteDDOLiveConvert = null; }