Наследование: System.ComponentModel.Component
Пример #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.components     = new System.ComponentModel.Container();
     this.windowsHook    = new Balloon.NET.Hooks.WindowsHook(this.components);
     this.closeButton    = new System.Windows.Forms.Button();
     this.nextButton     = new System.Windows.Forms.Button();
     this.previousButton = new System.Windows.Forms.Button();
     this.SuspendLayout();
     //
     // windowsHook
     //
     this.windowsHook.ThreadID = 0;
     //
     // closeButton
     //
     this.closeButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.closeButton.FlatAppearance.BorderColor = System.Drawing.Color.Orange;
     this.closeButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.closeButton.Image     = global::Nexus.Client.Properties.Resources.tipsClose;
     this.closeButton.Location  = new System.Drawing.Point(198, 0);
     this.closeButton.Name      = "closeButton";
     this.closeButton.Size      = new System.Drawing.Size(20, 20);
     this.closeButton.TabIndex  = 0;
     this.closeButton.Click    += new System.EventHandler(this.closeButton_Click);
     //
     // nextButton
     //
     this.nextButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.nextButton.FlatAppearance.BorderColor = System.Drawing.Color.Orange;
     this.nextButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.nextButton.Image     = global::Nexus.Client.Properties.Resources.arrow_state_blue_right;
     this.nextButton.Location  = new System.Drawing.Point(182, 2);
     this.nextButton.Name      = "nextButton";
     this.nextButton.Size      = new System.Drawing.Size(16, 16);
     this.nextButton.TabIndex  = 0;
     this.nextButton.Click    += new System.EventHandler(this.nextButton_Click);
     //
     // previousButton
     //
     this.previousButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.previousButton.FlatAppearance.BorderColor = System.Drawing.Color.Orange;
     this.previousButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.previousButton.Image     = global::Nexus.Client.Properties.Resources.arrow_state_blue_left;
     this.previousButton.Location  = new System.Drawing.Point(164, 2);
     this.previousButton.Name      = "previousButton";
     this.previousButton.Size      = new System.Drawing.Size(16, 16);
     this.previousButton.TabIndex  = 0;
     this.previousButton.Click    += new System.EventHandler(this.previousButton_Click);
     //
     // BalloonHelp
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.BackColor         = System.Drawing.Color.Orange;
     this.ClientSize        = new System.Drawing.Size(224, 190);
     this.Controls.Add(this.closeButton);
     this.Controls.Add(this.previousButton);
     this.Controls.Add(this.nextButton);
     this.Name = "BalloonHelp";
     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.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(BalloonHelp));
     this.windowsHook = new Balloon.NET.Hooks.WindowsHook(this.components);
     this.closeButton = new System.Windows.Forms.Button();
     this.timer1      = new System.Windows.Forms.Timer(this.components);
     this.groupBox1   = new System.Windows.Forms.GroupBox();
     this.SuspendLayout();
     //
     // windowsHook
     //
     this.windowsHook.ThreadID = 0;
     //
     // closeButton
     //
     this.closeButton.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.closeButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.closeButton.Image     = ((System.Drawing.Image)(resources.GetObject("closeButton.Image")));
     this.closeButton.Location  = new System.Drawing.Point(520, 0);
     this.closeButton.Name      = "closeButton";
     this.closeButton.Size      = new System.Drawing.Size(14, 14);
     this.closeButton.TabIndex  = 0;
     this.closeButton.Click    += new System.EventHandler(this.closeButton_Click);
     //
     // timer1
     //
     this.timer1.Interval = 5000;
     this.timer1.Tick    += new System.EventHandler(this.timer1_Tick);
     //
     // groupBox1
     //
     this.groupBox1.Location = new System.Drawing.Point(134, 108);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(200, 100);
     this.groupBox1.TabIndex = 1;
     this.groupBox1.TabStop  = false;
     this.groupBox1.Text     = "groupBox1";
     //
     // BalloonHelp
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(534, 292);
     this.Controls.Add(this.groupBox1);
     this.Controls.Add(this.closeButton);
     this.Name = "BalloonHelp";
     this.ResumeLayout(false);
 }
Пример #3
0
 internal void SetHook(WindowsHook parent, System.IntPtr hinstance, int threadID)
 {
     if (this.handle != System.IntPtr.Zero)
     {
         this.Dispose(false);
     }
     this.parent = parent;
     Balloon.NET.Hooks.HookProc lpfn = new Balloon.NET.Hooks.HookProc(this.HookProc);
     this.handle = SetWindowsHookEx((int) this.Type, lpfn, hinstance, threadID);
     if (this.handle == System.IntPtr.Zero)
     {
         System.GC.SuppressFinalize(this);
         System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(System.Runtime.InteropServices.Marshal.GetHRForLastWin32Error());
     }
     this.delegateHandle = System.Runtime.InteropServices.GCHandle.Alloc(lpfn);
 }
Пример #4
0
		internal void SetHook(WindowsHook parent, IntPtr hinstance, int threadID)
		{
			if (handle != IntPtr.Zero)
				Dispose(false);
			
			this.parent = parent;
			
			HookProc proc = new HookProc(this.HookProc);

			handle = SetWindowsHookEx((int)Type, proc, hinstance, threadID);
			
			if (handle == IntPtr.Zero)
			{
				GC.SuppressFinalize(this);
				Marshal.ThrowExceptionForHR(Marshal.GetHRForLastWin32Error());
			}
			
			this.delegateHandle = GCHandle.Alloc(proc);
		}
Пример #5
0
        internal void SetHook(WindowsHook parent, IntPtr hinstance, int threadID)
        {
            if (handle != IntPtr.Zero)
            {
                Dispose(false);
            }

            this.parent = parent;

            HookProc proc = new HookProc(this.HookProc);

            handle = SetWindowsHookEx((int)Type, proc, hinstance, threadID);

            if (handle == IntPtr.Zero)
            {
                GC.SuppressFinalize(this);
                Marshal.ThrowExceptionForHR(Marshal.GetHRForLastWin32Error());
            }

            this.delegateHandle = GCHandle.Alloc(proc);
        }
Пример #6
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(BalloonHelp));
     this.windowsHook = new Balloon.NET.Hooks.WindowsHook(this.components);
     this.closeButton = new System.Windows.Forms.Button();
     this.timer1      = new System.Windows.Forms.Timer(this.components);
     this.SuspendLayout();
     //
     // windowsHook
     //
     this.windowsHook.ThreadID = 0;
     //
     // closeButton
     //
     this.closeButton.Anchor    = (System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right);
     this.closeButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.closeButton.Image     = ((System.Drawing.Bitmap)(resources.GetObject("closeButton.Image")));
     this.closeButton.Location  = new System.Drawing.Point(138, 0);
     this.closeButton.Name      = "closeButton";
     this.closeButton.Size      = new System.Drawing.Size(14, 14);
     this.closeButton.TabIndex  = 0;
     this.closeButton.Click    += new System.EventHandler(this.closeButton_Click);
     //
     // timer1
     //
     this.timer1.Interval = 5000;
     this.timer1.Tick    += new System.EventHandler(this.timer1_Tick);
     //
     // BalloonHelp
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(152, 94);
     this.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.closeButton
     });
     this.Name = "BalloonHelp";
     this.ResumeLayout(false);
 }
Пример #7
0
 private void InitializeComponent()
 {
     this.components = new Container();
     System.Resources.ResourceManager manager = new System.Resources.ResourceManager(typeof(BalloonHelp));
     this.windowsHook = new WindowsHook(this.components);
     this.closeButton = new System.Windows.Forms.Button();
     this.timer1 = new System.Windows.Forms.Timer(this.components);
     base.SuspendLayout();
     this.windowsHook.ThreadID = 0;
     this.closeButton.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Top);
     this.closeButton.set_FlatStyle(System.Windows.Forms.FlatStyle.Flat);
     this.closeButton.set_Image((System.Drawing.Bitmap) manager.GetObject("closeButton.Image"));
     this.closeButton.set_Location(new System.Drawing.Point(0x8a, 0));
     this.closeButton.set_Name("closeButton");
     this.closeButton.set_Size(new System.Drawing.Size(14, 14));
     this.closeButton.set_TabIndex(0);
     this.closeButton.add_Click(new System.EventHandler(this.closeButton_Click));
     this.timer1.set_Interval(0x1388);
     this.timer1.add_Tick(new System.EventHandler(this.timer1_Tick));
     this.set_AutoScaleBaseSize(new System.Drawing.Size(5, 13));
     base.set_ClientSize(new System.Drawing.Size(0x98, 0x5e));
     base.Controls.AddRange(new System.Windows.Forms.Control[] { this.closeButton });
     base.set_Name("BalloonHelp");
     base.ResumeLayout(false);
 }
Пример #8
0
		/// <summary>
		/// Required method for Designer support - do not modify
		/// the contents of this method with the code editor.
		/// </summary>
		private void InitializeComponent()
		{
			this.components = new System.ComponentModel.Container();
			System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(BalloonHelp));
			this.windowsHook = new Balloon.NET.Hooks.WindowsHook(this.components);
			this.closeButton = new System.Windows.Forms.Button();
			this.timer1 = new System.Windows.Forms.Timer(this.components);
			this.SuspendLayout();
			// 
			// windowsHook
			// 
			this.windowsHook.ThreadID = 0;
			// 
			// closeButton
			// 
			this.closeButton.Anchor = (System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right);
			this.closeButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
			this.closeButton.Image = ((System.Drawing.Bitmap)(resources.GetObject("closeButton.Image")));
			this.closeButton.Location = new System.Drawing.Point(138, 0);
			this.closeButton.Name = "closeButton";
			this.closeButton.Size = new System.Drawing.Size(14, 14);
			this.closeButton.TabIndex = 0;
			this.closeButton.Click += new System.EventHandler(this.closeButton_Click);
			// 
			// timer1
			// 
			this.timer1.Interval = 5000;
			this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
			// 
			// BalloonHelp
			// 
			this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
			this.ClientSize = new System.Drawing.Size(152, 94);
			this.Controls.AddRange(new System.Windows.Forms.Control[] {
																		  this.closeButton});
			this.Name = "BalloonHelp";
			this.ResumeLayout(false);

		}
Пример #9
0
		/// <summary>
		/// Required method for Designer support - do not modify
		/// the contents of this method with the code editor.
		/// </summary>
		private void InitializeComponent()
		{
			this.components = new System.ComponentModel.Container();
			this.windowsHook = new Balloon.NET.Hooks.WindowsHook(this.components);
			this.closeButton = new System.Windows.Forms.Button();
			this.nextButton = new System.Windows.Forms.Button();
			this.previousButton = new System.Windows.Forms.Button();
			this.SuspendLayout();
			// 
			// windowsHook
			// 
			this.windowsHook.ThreadID = 0;
			// 
			// closeButton
			// 
			this.closeButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
			this.closeButton.FlatAppearance.BorderColor = System.Drawing.Color.LightYellow;
			this.closeButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
			this.closeButton.Image = global::Nexus.Client.Properties.Resources.tipsClose;
			this.closeButton.Location = new System.Drawing.Point(198, 0);
			this.closeButton.Name = "closeButton";
			this.closeButton.Size = new System.Drawing.Size(20, 20);
			this.closeButton.TabIndex = 0;
			this.closeButton.Click += new System.EventHandler(this.closeButton_Click);
			// 
			// nextButton
			// 
			this.nextButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
			this.nextButton.FlatAppearance.BorderColor = System.Drawing.Color.LightYellow;
			this.nextButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
			this.nextButton.Image = global::Nexus.Client.Properties.Resources.arrow_state_blue_right;
			this.nextButton.Location = new System.Drawing.Point(182, 2);
			this.nextButton.Name = "nextButton";
			this.nextButton.Size = new System.Drawing.Size(16, 16);
			this.nextButton.TabIndex = 0;
			this.nextButton.Click += new System.EventHandler(this.nextButton_Click);
			// 
			// previousButton
			// 
			this.previousButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
			this.previousButton.FlatAppearance.BorderColor = System.Drawing.Color.LightYellow;
			this.previousButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
			this.previousButton.Image = global::Nexus.Client.Properties.Resources.arrow_state_blue_left;
			this.previousButton.Location = new System.Drawing.Point(164, 2);
			this.previousButton.Name = "previousButton";
			this.previousButton.Size = new System.Drawing.Size(16, 16);
			this.previousButton.TabIndex = 0;
			this.previousButton.Click += new System.EventHandler(this.previousButton_Click);
			// 
			// BalloonHelp
			// 
			this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
			this.BackColor = System.Drawing.Color.LightYellow;
			this.ClientSize = new System.Drawing.Size(224, 190);
			this.Controls.Add(this.closeButton);
			this.Controls.Add(this.previousButton);
			this.Controls.Add(this.nextButton);
			this.Name = "BalloonHelp";
			this.ResumeLayout(false);

		}