Пример #1
0
		protected override void initializeComponents() {
			_staCheckForUpdates = new statusLabel {
			                                      	Text = "Suche nach Aktualisierungen...",
			                                      	Location = new Point(0, 0),
			                                      	State = statusLabelStates.Progress
			                                      };

			Controls.AddRange(new Control[] {_staCheckForUpdates});
		}
		protected override void initializeComponents() {
			//Progressbar
			prgUpdate = new ProgressBar {
			                            	Height = 15,
			                            	Value = 60
			                            };
			addControl(prgUpdate);

			//StatusLabel Installation
			staApply = new statusLabel {
			                           	Text = "Updates werden installiert",
			                           	State = statusLabelStates.Waiting,
			                           	Size = new Size(Width, 30)
			                           };
			addControl(staApply);

			//StatusLabel Download
			staDownload = new statusLabel {
			                              	Text = "Updates werden heruntergeladen (60% abgeschlossen)",
			                              	State = statusLabelStates.Progress,
			                              	Size = new Size(Width, 30)
			                              };
			addControl(staDownload);
		}