public SelectedTaskDescriptions(ExportForm mainForm)
        {
            InitializeComponent();
            _mainForm   = mainForm;
            _exportList = new List <TaskDescription>();
            ReBuildTree(AppContext.Current.TaskDescriptionsProvider.TaskDescriptions);
            _mainForm.SelectedTaskDescriptions = _exportList;

            labelCount.Text = string.Format(
                CultureInfo.InvariantCulture,
                "There are {0} TaskDescriptions currently selected.", _exportList.Count);
        }
        public SelectedTaskDescriptions(ExportForm mainForm)
        {
            InitializeComponent();
            _mainForm = mainForm;
            _exportList = new List<TaskDescription>();
            ReBuildTree(AppContext.Current.TaskDescriptionsProvider.TaskDescriptions);
            _mainForm.SelectedTaskDescriptions = _exportList;

            labelCount.Text = string.Format(
                CultureInfo.InvariantCulture,
                "There are {0} TaskDescriptions currently selected.", _exportList.Count);
        }
 public ExportSelector(ExportForm mainForm)
 {
     InitializeComponent();
     _mainForm = mainForm;
     RebuildList();
 }
Exemple #4
0
 public ExportSummary(ExportForm mainForm)
 {
     InitializeComponent();
     _mainForm = mainForm;
 }
 public DatePeriodSelector(ExportForm mainForm)
 {
     InitializeComponent();
     _mainForm = mainForm;
     StoreInContext(this, EventArgs.Empty);
 }
 public ExportSummary(ExportForm mainForm)
 {
     InitializeComponent();
     _mainForm = mainForm;
 }
        private void exportToolStripMenuItem_Click(object sender, EventArgs e)
        {
            ExportForm ef = new ExportForm();

            ef.ShowDialog(this);
        }
 public ExportSelector(ExportForm mainForm)
 {
     InitializeComponent();
     _mainForm = mainForm;
     RebuildList();
 }
 private void exportToolStripMenuItem_Click(object sender, EventArgs e)
 {
     ExportForm ef = new ExportForm();
     ef.ShowDialog(this);
 }
Exemple #10
0
 public DatePeriodSelector(ExportForm mainForm)
 {
     InitializeComponent();
     _mainForm = mainForm;
     StoreInContext(this, EventArgs.Empty);
 }