/// <summary> /// Initialize values and status of controls /// </summary> private void InitializeControls() { textBoxSaveAs.Text = m_exportData.ExportFolder + "\\" + m_exportData.ExportFileName; radioButtonCurrentView.Checked = true; // Initialize the title this.Text = m_exportData.Title; if (m_exportData.ExportFormat == ExportFormat.SAT) { buttonOptions.Visible = false; } else if (m_exportData.ExportFormat == ExportFormat.Image) { this.Hide(); ExportIMGData exportIMGData = m_exportData as ExportIMGData; using (ExportIMGOptionsForm exportOptionsForm = new ExportIMGOptionsForm(m_exportData)) { exportOptionsForm.ShowDialog(); } } }