private void b_format_change_options_Click(object sender, EventArgs e) { if ((null != m_sel_header) && (0 < m_sel_subitems.Count)) { if (2 > m_sel_subitems.Count) { ListViewItem.ListViewSubItem lsi = m_sel_subitems[0]; FormatOptionsForm form = new FormatOptionsForm(); form.m_desc = (m_sel_header.Tag as conv_core.cFormat).writer_options_desc; form.m_target = lsi.Tag as conv_core.cImageFile; form.l_file_type.Text = m_sel_header.Text; switch (form.ShowDialog(this)) { case DialogResult.OK: form.m_target.options = form.m_new_options; t_mod.Enabled = true; break; } ; } else { }; } ; }
private void b_format_change_options_Click(object sender, EventArgs e) { if( ( null != m_sel_header ) && ( 0 < m_sel_subitems.Count ) ){ if( 2 > m_sel_subitems.Count ){ ListViewItem.ListViewSubItem lsi = m_sel_subitems[0]; FormatOptionsForm form = new FormatOptionsForm(); form.m_desc = (m_sel_header.Tag as conv_core.cFormat).writer_options_desc; form.m_target = lsi.Tag as conv_core.cImageFile; form.l_file_type.Text = m_sel_header.Text; switch( form.ShowDialog( this ) ){ case DialogResult.OK: form.m_target.options = form.m_new_options; t_mod.Enabled = true; break; }; }else{ }; }; }