Squashed 'FSI.Lib/' changes from 6aa4846..4a27cd3
4a27cd3 RoboSharp eingefügt 1b2fc1f Erweiterungsmethode für Startparameter einefügt git-subtree-dir: FSI.Lib git-subtree-split: 4a27cd377a1959dc669625473b018e42c31ef147
This commit is contained in:
@@ -59,6 +59,25 @@ namespace FSI.Lib.Guis.SieTiaWinCCMsgMgt
|
||||
backgroundWorker.DoWork += BackgroundWorker_DoWork;
|
||||
backgroundWorker.ProgressChanged += BackgroundWorker_ProgressChanged;
|
||||
|
||||
|
||||
}
|
||||
|
||||
public WinCC(bool autoStart, int updateIntervall, string windowsName, string windowsClassName, string buttonName)
|
||||
{
|
||||
AutoStart = autoStart;
|
||||
UpdateIntervall = updateIntervall;
|
||||
WindowsName = windowsName;
|
||||
WindowsClassName = windowsClassName;
|
||||
ButtonName = buttonName;
|
||||
|
||||
backgroundWorker = new BackgroundWorker
|
||||
{
|
||||
WorkerReportsProgress = true,
|
||||
WorkerSupportsCancellation = true
|
||||
};
|
||||
backgroundWorker.DoWork += BackgroundWorker_DoWork;
|
||||
backgroundWorker.ProgressChanged += BackgroundWorker_ProgressChanged;
|
||||
|
||||
if (AutoStart)
|
||||
{
|
||||
Start();
|
||||
|
||||
Reference in New Issue
Block a user