Пример #1
0
		/// <summary> 
		/// Required method for Designer support - do not modify 
		/// the contents of this method with the code editor.
		/// </summary>
		private void InitializeComponent()
		{
			this.nuGenSnoopControl1 = new Genetibase.Debug.NuGenSnoopControl();
			this.splitter1 = new System.Windows.Forms.Splitter();
			this.nuGenOInternal1 = new Genetibase.Debug.NuGenOInternal();
			this.SuspendLayout();
			// 
			// nuGenSnoopControl1
			// 
			this.nuGenSnoopControl1.Dock = System.Windows.Forms.DockStyle.Top;
			this.nuGenSnoopControl1.Location = new System.Drawing.Point(0, 0);
			this.nuGenSnoopControl1.Name = "nuGenSnoopControl1";
			this.nuGenSnoopControl1.RecurseIntoSubControls = true;
			this.nuGenSnoopControl1.RecursionDepth = 10;
			this.nuGenSnoopControl1.ScrollingEnabled = true;
			this.nuGenSnoopControl1.SelectedObject = null;
			this.nuGenSnoopControl1.Size = new System.Drawing.Size(824, 448);
			this.nuGenSnoopControl1.TabIndex = 0;
			this.nuGenSnoopControl1.TrackingEnabled = true;
			// 
			// splitter1
			// 
			this.splitter1.Dock = System.Windows.Forms.DockStyle.Top;
			this.splitter1.Location = new System.Drawing.Point(0, 448);
			this.splitter1.Name = "splitter1";
			this.splitter1.Size = new System.Drawing.Size(824, 3);
			this.splitter1.TabIndex = 1;
			this.splitter1.TabStop = false;
			// 
			// nuGenOInternal1
			// 
			this.nuGenOInternal1.Dock = System.Windows.Forms.DockStyle.Bottom;
			this.nuGenOInternal1.Location = new System.Drawing.Point(0, 456);
			this.nuGenOInternal1.Name = "nuGenOInternal1";
			this.nuGenOInternal1.Size = new System.Drawing.Size(824, 232);
			this.nuGenOInternal1.TabIndex = 2;
			// 
			// SnoopTraceControl
			// 
			this.Controls.Add(this.nuGenOInternal1);
			this.Controls.Add(this.splitter1);
			this.Controls.Add(this.nuGenSnoopControl1);
			this.Name = "SnoopTraceControl";
			this.Size = new System.Drawing.Size(824, 688);
			this.ResumeLayout(false);

		}
Пример #2
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.nuGenSnoopControl1 = new Genetibase.Debug.NuGenSnoopControl();
     this.splitter1          = new System.Windows.Forms.Splitter();
     this.nuGenOInternal1    = new Genetibase.Debug.NuGenOInternal();
     this.SuspendLayout();
     //
     // nuGenSnoopControl1
     //
     this.nuGenSnoopControl1.Dock     = System.Windows.Forms.DockStyle.Top;
     this.nuGenSnoopControl1.Location = new System.Drawing.Point(0, 0);
     this.nuGenSnoopControl1.Name     = "nuGenSnoopControl1";
     this.nuGenSnoopControl1.RecurseIntoSubControls = true;
     this.nuGenSnoopControl1.RecursionDepth         = 10;
     this.nuGenSnoopControl1.ScrollingEnabled       = true;
     this.nuGenSnoopControl1.SelectedObject         = null;
     this.nuGenSnoopControl1.Size            = new System.Drawing.Size(824, 448);
     this.nuGenSnoopControl1.TabIndex        = 0;
     this.nuGenSnoopControl1.TrackingEnabled = true;
     //
     // splitter1
     //
     this.splitter1.Dock     = System.Windows.Forms.DockStyle.Top;
     this.splitter1.Location = new System.Drawing.Point(0, 448);
     this.splitter1.Name     = "splitter1";
     this.splitter1.Size     = new System.Drawing.Size(824, 3);
     this.splitter1.TabIndex = 1;
     this.splitter1.TabStop  = false;
     //
     // nuGenOInternal1
     //
     this.nuGenOInternal1.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.nuGenOInternal1.Location = new System.Drawing.Point(0, 456);
     this.nuGenOInternal1.Name     = "nuGenOInternal1";
     this.nuGenOInternal1.Size     = new System.Drawing.Size(824, 232);
     this.nuGenOInternal1.TabIndex = 2;
     //
     // SnoopTraceControl
     //
     this.Controls.Add(this.nuGenOInternal1);
     this.Controls.Add(this.splitter1);
     this.Controls.Add(this.nuGenSnoopControl1);
     this.Name = "SnoopTraceControl";
     this.Size = new System.Drawing.Size(824, 688);
     this.ResumeLayout(false);
 }
Пример #3
0
        private void windowFinder1_ActiveWindowChanged(object sender, System.EventArgs e)
        {
            NuGenWindowFinder windowFinder1 = (NuGenWindowFinder)sender;

            if (windowFinder1.Window.SameProcess)
            {
                closeSpyData();

                Genetibase.Debug.NuGenSnoopControl snoop = new Genetibase.Debug.NuGenSnoopControl();
                snoop.Dock = DockStyle.Fill;
                snoop.RecurseIntoSubControls = checkBox1.Checked;
                snoop.RecursionDepth         = (int)numericUpDown1.Value;
                snoop.SelectedObject         = Control.FromHandle(windowFinder1.Window.HWND);
                panel1.Controls.Add(snoop);
            }
            else if (windowFinder1.Window.IsManaged)
            {
                closeSpyData();
                send_spy(windowFinder1.Window.HWND);
            }
        }
Пример #4
0
		private void windowFinder1_ActiveWindowChanged(object sender, System.EventArgs e)
		{
			NuGenWindowFinder windowFinder1 = (NuGenWindowFinder) sender;
			if (windowFinder1.Window.SameProcess)
			{
				closeSpyData();

				Genetibase.Debug.NuGenSnoopControl snoop = new Genetibase.Debug.NuGenSnoopControl();
				snoop.Dock = DockStyle.Fill;
				snoop.RecurseIntoSubControls = checkBox1.Checked;
				snoop.RecursionDepth = (int) numericUpDown1.Value;
				snoop.SelectedObject = Control.FromHandle(windowFinder1.Window.HWND);
				panel1.Controls.Add(snoop);					
			}
			else if (windowFinder1.Window.IsManaged)
			{
				closeSpyData();
				send_spy(windowFinder1.Window.HWND);
			}
		}