public SequencePackageImportSummaryStage(ImportConfig data)
 {
     _data = data;
     InitializeComponent();
     ThemeUpdateControls.UpdateControls(this);
     taskProgress.Minimum    = 0;
     taskProgress.Maximum    = 100;
     overallProgress.Minimum = 0;
     overallProgress.Maximum = 100;
 }
예제 #2
0
 public SequencePackageImportWizard(ImportConfig data)
 {
     Stages = new List <WizardStage>
     {
         new SequencePackageImportInputStage(data),
         new SequencePackageImportSequencesStage(data),
         new SequencePackageImportSummaryStage(data),
         new SequencePackageImportFinishedStage()
     };
 }
        public SequencePackageImportInputStage(ImportConfig data)
        {
            _data = data;
            InitializeComponent();

            int iconSize = (int)(16 * ScalingTools.GetScaleFactor());

            btnOuputFolderSelect.Image = btnMapFile.Image = Tools.GetIcon(Resources.folder_explore, iconSize);
            btnOuputFolderSelect.Text  = btnMapFile.Text = "";

            ThemeUpdateControls.UpdateControls(this);
            txtProfileMap.BackColor = ThemeColorTable.BackgroundColor;

            btnCreateMap.Enabled = false;
            btnEditMap.Enabled   = false;
        }