Пример #1
0
        public void StartConnection()
        {
            ConnectionDialog dialog = new ConnectionDialog(this);

            dialog.ShowDialog(this.View);

            if (this.IsConnected == true)
            {
                this.Code       = new CodeView(this);
                this.Statistics = new StatisticsViewer(this);
                this.CallStack  = new CallstackViewer(this);

                this.Code.Show(this.View.DockPanel);
                this.Log.Show(this.View.DockPanel);
                this.Statistics.Show(this.View.DockPanel);
                if (this.CallStacksEnabled == true)
                {
                    this.CallStack.Show(this.View.DockPanel);
                }
            }
            else
            {
                Environment.Exit(0);
            }
        }
Пример #2
0
        public void StartConnection()
        {
            ConnectionDialog dialog = new ConnectionDialog( this );
            dialog.ShowDialog( this.View );

            if( this.IsConnected == true )
            {
                this.Code = new CodeView( this );
                this.Statistics = new StatisticsViewer( this );
                this.CallStack = new CallstackViewer( this );

                this.Code.Show( this.View.DockPanel );
                this.Log.Show( this.View.DockPanel );
                this.Statistics.Show( this.View.DockPanel );
                if( this.CallStacksEnabled == true )
                    this.CallStack.Show( this.View.DockPanel );
            }
            else
                Environment.Exit( 0 );
        }