Provide a dialog which lets users choose views to export.
Inheritance: System.Windows.Forms.Form
Exemple #1
0
 private void Select_Click(object sender, EventArgs e)
 {
     using (SelectViewsForm selectViewsForm = new SelectViewsForm(m_exportData.SelectViewsData))
     {
         m_exportData.SelectViewsData.SelectedViews.Clear();
         selectViewsForm.ShowDialog();
     }
 }
 /// <summary>
 /// Provide the views selecting dialog
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void buttonSelectViews_Click(object sender, EventArgs e)
 {
     using (SelectViewsForm selectViewsForm = new SelectViewsForm(m_exportData.SelectViewsData))
     {
         m_exportData.SelectViewsData.SelectedViews.Clear();
         selectViewsForm.ShowDialog();
         if (m_exportData.SelectViewsData.SelectedViews.Size == 0)
         {
             radioButtonCurrentView.Checked = true;
         }
         else
         {
             radioButtonCurrentView.Checked = false;
         }
     }
 }
 /// <summary>
 /// Provide the views selecting dialog
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void buttonSelectViews_Click(object sender, EventArgs e)
 {
     using (SelectViewsForm selectViewsForm = new SelectViewsForm(m_exportData.SelectViewsData))
     {
         m_exportData.SelectViewsData.SelectedViews.Clear();
         selectViewsForm.ShowDialog();
         if (m_exportData.SelectViewsData.SelectedViews.Size == 0)
         {
             radioButtonCurrentView.Checked = true;
         }
         else
         {
             radioButtonCurrentView.Checked = false;
         }
     }
 }
 private void Select_Click(object sender, EventArgs e)
 {
     using (SelectViewsForm selectViewsForm = new SelectViewsForm(m_exportData.SelectViewsData))
     {
         m_exportData.SelectViewsData.SelectedViews.Clear();
         selectViewsForm.ShowDialog();
     }
 }