Beispiel #1
0
        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();
        }
Beispiel #2
0
        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);
        }