/// <summary> /// Změní ovládací mód /// </summary> /// <param name="absoluteControllMode">true, pokud zobrazit absolutní pozicování</param> public void changeControllMode(bool absoluteControllMode) { if (splitContainer1.InvokeRequired) { ChangeControllModeCallback cb = new ChangeControllModeCallback(changeControllMode); this.Invoke(cb, new object[] { absoluteControllMode }); } else { if (absoluteControllMode) { splitContainer1.Panel1.Controls.Clear(); splitContainer1.Panel1.Controls.Add(absoluteControllView); } else { splitContainer1.Panel1.Controls.Clear(); splitContainer1.Panel1.Controls.Add(controllView); } } }