private void Initiate() { if (InvokeRequired) { Invoke(_initiate); return; } _tanjiConnect.ShowDialog(); Text = string.Format(TanjiTitleFormat, Game.Host, Game.Port); ProtocolTxt.Text = string.Format(ProtocolFormat, Game.Protocol); if (_contractor == null) { _contractor = new Contractor(Game); ETanjiExtensionViewer.Contractor = _contractor; LoadTanjiExtensions(); } Show(); BringToFront(); _packetloggerF.Show(); _packetloggerF.BringToFront(); }
private void Initiate() { if (InvokeRequired) { Invoke(_initiate); return; } _tanjiConnect.ShowDialog(); Show(); BringToFront(); _packetlogger.Show(); _packetlogger.BringToFront(); Text = string.Format(TITLE_FORMAT, Game.Host, Game.Port); }