Beispiel #1
0
        public DockerImages()
        {
            InitializeComponent();

            _presenter = DockerPresenter.Instance;

            if (!this.IsInDesignMode())
            {
                ReloadImages();
            }
        }
        public DockerContainers()
        {
            InitializeComponent();

            _presenter = DockerPresenter.Instance;

            if (!this.IsInDesignMode())
            {
                ReloadContainersAsync();
            }
        }
        public DockerContainers()
        {
            InitializeComponent();

            comboUpdateInterval.ComboBox.DataSource =
                _updateTextToValue.Select(i => new TaggedString <TimeSpan>(i.Key, i.Value)).ToArray();
            comboUpdateInterval.ComboBox.SelectedIndexChanged += ComboBox_SelectedIndexChanged;
            dockerContainerDetails.Visible = false;
            UpdateInterval = Settings.Instance.AutoRefreshContainersInterval;
            _presenter     = DockerPresenter.Instance;

            if (!this.IsInDesignMode())
            {
                ReloadContainers();
            }
        }