public void Init(CMSViewAdapter viewAdapter) { this.viewAdapter = viewAdapter; form = new SettingsForm(); otherForm = new OtherOutputForm(); otherMessagesThread = new Thread(new ThreadStart(OtherFormsGo)); otherMessagesThread.Start(); standardMessagesThread = new Thread(new ThreadStart(StandardFormsGo)); standardMessagesThread.Start(); form.Init(viewAdapter); }
public void Init(CMSViewAdapter viewAdapter) { animationImage = Properties.Resources.indicator; this.viewAdapter = viewAdapter; form = new SettingsForm(); otherForm = new OtherOutputForm(); //otherForm.Show(); //otherForm.Visible = false; otherMessagesThread = new Thread(new ThreadStart(OtherFormsGo)); otherMessagesThread.Start(); standardMessagesThread = new Thread(new ThreadStart(StandardFormsGo)); standardMessagesThread.Start(); form.Init(viewAdapter); }