protected override void prepareCtrls() { base.prepareCtrls(); InitializeComponent(); dct_Fifos = new Dictionary <string, object>(); DspWndLayoutManager = new DspWndLayout(); ArrangeDspWnds(); AttachFifoTool(); }
protected override void prepareCtrls() { base.prepareCtrls(); InitializeComponent(); DspWndLayoutManager = new DspWndLayout(); string text; while (true) { text = base.CompactDB.FetchValue("AppName", true, "0"); if (text != null) { break; } base.CompactDB.Write("AppName", "视觉检测应用"); } Text = text; if (-99999 == base.CompactDB.FetchIntValue("DisplayWndNum")) { base.CompactDB.Write("DisplayWndNum", "1"); } DspWndLayoutManager.PrepareDspWnds(typeof(CogRecordDisplay), canvasPanel1, base.CompactDB.FetchIntValue("DisplayWndNum")); SpecialInfo(); }