Example #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();
			System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(Form1));
			this.OpenFileDialog1 = new System.Windows.Forms.OpenFileDialog();
			this.Timer1 = new System.Windows.Forms.Timer(this.components);
			this.SaveFileDialog1 = new System.Windows.Forms.SaveFileDialog();
			this.ComSpeed = new System.Windows.Forms.ComboBox();
			this.StopRecordBut = new System.Windows.Forms.Button();
			this.RecordBut = new System.Windows.Forms.Button();
			this.GroupBox1 = new System.Windows.Forms.GroupBox();
			this.PlaybackBut = new System.Windows.Forms.Button();
			this.Label3 = new System.Windows.Forms.Label();
			this.Label2 = new System.Windows.Forms.Label();
			this.Label1 = new System.Windows.Forms.Label();
			this.axMacroRecorder1 = new AxMacroRecorderActX.AxMacroRecorder();
			this.GroupBox1.SuspendLayout();
			((System.ComponentModel.ISupportInitialize)(this.axMacroRecorder1)).BeginInit();
			this.SuspendLayout();
			// 
			// Timer1
			// 
			this.Timer1.Enabled = true;
			this.Timer1.Tick += new System.EventHandler(this.Timer1_Tick);
			// 
			// ComSpeed
			// 
			this.ComSpeed.ItemHeight = 13;
			this.ComSpeed.Items.AddRange(new object[] {
														  "High Speed",
														  "Normal Speed",
														  "Low Speed"});
			this.ComSpeed.Location = new System.Drawing.Point(104, 128);
			this.ComSpeed.Name = "ComSpeed";
			this.ComSpeed.Size = new System.Drawing.Size(104, 21);
			this.ComSpeed.TabIndex = 4;
			this.ComSpeed.Text = "Replay Speed";
			this.ComSpeed.SelectedIndexChanged += new System.EventHandler(this.ComSpeed_SelectedIndexChanged);
			// 
			// StopRecordBut
			// 
			this.StopRecordBut.Location = new System.Drawing.Point(8, 80);
			this.StopRecordBut.Name = "StopRecordBut";
			this.StopRecordBut.Size = new System.Drawing.Size(88, 24);
			this.StopRecordBut.TabIndex = 1;
			this.StopRecordBut.Text = "&Stop Record";
			this.StopRecordBut.Click += new System.EventHandler(this.StopRecordBut_Click);
			// 
			// RecordBut
			// 
			this.RecordBut.Location = new System.Drawing.Point(8, 32);
			this.RecordBut.Name = "RecordBut";
			this.RecordBut.Size = new System.Drawing.Size(88, 24);
			this.RecordBut.TabIndex = 0;
			this.RecordBut.Text = "&Record";
			this.RecordBut.Click += new System.EventHandler(this.RecordBut_Click);
			// 
			// GroupBox1
			// 
			this.GroupBox1.Controls.Add(this.PlaybackBut);
			this.GroupBox1.Controls.Add(this.Label3);
			this.GroupBox1.Controls.Add(this.Label2);
			this.GroupBox1.Controls.Add(this.Label1);
			this.GroupBox1.Controls.Add(this.ComSpeed);
			this.GroupBox1.Controls.Add(this.StopRecordBut);
			this.GroupBox1.Controls.Add(this.RecordBut);
			this.GroupBox1.Controls.Add(this.axMacroRecorder1);
			this.GroupBox1.Location = new System.Drawing.Point(8, 8);
			this.GroupBox1.Name = "GroupBox1";
			this.GroupBox1.Size = new System.Drawing.Size(408, 160);
			this.GroupBox1.TabIndex = 1;
			this.GroupBox1.TabStop = false;
			// 
			// PlaybackBut
			// 
			this.PlaybackBut.Location = new System.Drawing.Point(8, 128);
			this.PlaybackBut.Name = "PlaybackBut";
			this.PlaybackBut.Size = new System.Drawing.Size(88, 24);
			this.PlaybackBut.TabIndex = 10;
			this.PlaybackBut.Text = "&Replay";
			this.PlaybackBut.Click += new System.EventHandler(this.PlaybackBut_Click);
			// 
			// Label3
			// 
			this.Label3.Location = new System.Drawing.Point(8, 112);
			this.Label3.Name = "Label3";
			this.Label3.Size = new System.Drawing.Size(304, 16);
			this.Label3.TabIndex = 9;
			this.Label3.Text = "Click Replay button to Replay the macro you had saved";
			// 
			// Label2
			// 
			this.Label2.Location = new System.Drawing.Point(8, 64);
			this.Label2.Name = "Label2";
			this.Label2.Size = new System.Drawing.Size(392, 16);
			this.Label2.TabIndex = 8;
			this.Label2.Text = "2. Click Stop Record button to stop recording and save the macro to the disk.";
			// 
			// Label1
			// 
			this.Label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(178)));
			this.Label1.Location = new System.Drawing.Point(8, 16);
			this.Label1.Name = "Label1";
			this.Label1.Size = new System.Drawing.Size(208, 16);
			this.Label1.TabIndex = 7;
			this.Label1.Text = "1. Click Record button to start recording.";
			// 
			// axMacroRecorder1
			// 
			this.axMacroRecorder1.ContainingControl = this;
			this.axMacroRecorder1.Enabled = true;
			this.axMacroRecorder1.Location = new System.Drawing.Point(368, 8);
			this.axMacroRecorder1.Name = "axMacroRecorder1";
			this.axMacroRecorder1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axMacroRecorder1.OcxState")));
			this.axMacroRecorder1.Size = new System.Drawing.Size(35, 35);
			this.axMacroRecorder1.TabIndex = 2;
			this.axMacroRecorder1.ReplayFinish += new AxMacroRecorderActX.__MacroRecorder_ReplayFinishEventHandler(this.axMacroRecorder1_ReplayFinish);
			this.axMacroRecorder1.ReplayStart += new AxMacroRecorderActX.__MacroRecorder_ReplayStartEventHandler(this.axMacroRecorder1_ReplayStart);
			this.axMacroRecorder1.RecordStart += new System.EventHandler(this.axMacroRecorder1_RecordStart);
			this.axMacroRecorder1.SaveComplete += new AxMacroRecorderActX.__MacroRecorder_SaveCompleteEventHandler(this.axMacroRecorder1_SaveComplete);
			// 
			// Form1
			// 
			this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
			this.ClientSize = new System.Drawing.Size(424, 174);
			this.Controls.Add(this.GroupBox1);
			this.Name = "Form1";
			this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
			this.Text = "VC# Macro Recorder";
			this.Load += new System.EventHandler(this.Form1_Load);
			this.GroupBox1.ResumeLayout(false);
			((System.ComponentModel.ISupportInitialize)(this.axMacroRecorder1)).EndInit();
			this.ResumeLayout(false);

		}
Example #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.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(Form1));
			this.Timer1 = new System.Windows.Forms.Timer(this.components);
			this.SaveFileDialog1 = new System.Windows.Forms.SaveFileDialog();
			this.GroupBox1 = new System.Windows.Forms.GroupBox();
			this.Label2 = new System.Windows.Forms.Label();
			this.Label1 = new System.Windows.Forms.Label();
			this.butSaveExe = new System.Windows.Forms.Button();
			this.RecordBut = new System.Windows.Forms.Button();
			this.axMacroRecorder1 = new AxMacroRecorderActX.AxMacroRecorder();
			this.GroupBox1.SuspendLayout();
			((System.ComponentModel.ISupportInitialize)(this.axMacroRecorder1)).BeginInit();
			this.SuspendLayout();
			// 
			// Timer1
			// 
			this.Timer1.Enabled = true;
			this.Timer1.Tick += new System.EventHandler(this.Timer1_Tick);
			// 
			// GroupBox1
			// 
			this.GroupBox1.Controls.Add(this.Label2);
			this.GroupBox1.Controls.Add(this.Label1);
			this.GroupBox1.Controls.Add(this.butSaveExe);
			this.GroupBox1.Controls.Add(this.RecordBut);
			this.GroupBox1.Controls.Add(this.axMacroRecorder1);
			this.GroupBox1.Location = new System.Drawing.Point(8, 8);
			this.GroupBox1.Name = "GroupBox1";
			this.GroupBox1.Size = new System.Drawing.Size(464, 128);
			this.GroupBox1.TabIndex = 1;
			this.GroupBox1.TabStop = false;
			// 
			// Label2
			// 
			this.Label2.Location = new System.Drawing.Point(8, 72);
			this.Label2.Name = "Label2";
			this.Label2.Size = new System.Drawing.Size(448, 24);
			this.Label2.TabIndex = 15;
			this.Label2.Text = "2.Click Save as Exe button to stop recording and save the macro as an exectutable" +
				" file.";
			// 
			// Label1
			// 
			this.Label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(178)));
			this.Label1.Location = new System.Drawing.Point(8, 16);
			this.Label1.Name = "Label1";
			this.Label1.Size = new System.Drawing.Size(208, 16);
			this.Label1.TabIndex = 14;
			this.Label1.Text = "1.Click Record button to start recording.";
			// 
			// butSaveExe
			// 
			this.butSaveExe.Location = new System.Drawing.Point(8, 96);
			this.butSaveExe.Name = "butSaveExe";
			this.butSaveExe.Size = new System.Drawing.Size(88, 24);
			this.butSaveExe.TabIndex = 13;
			this.butSaveExe.Text = "&Save As Exe";
			this.butSaveExe.Click += new System.EventHandler(this.StopRecordBut_Click);
			// 
			// RecordBut
			// 
			this.RecordBut.Location = new System.Drawing.Point(8, 40);
			this.RecordBut.Name = "RecordBut";
			this.RecordBut.Size = new System.Drawing.Size(88, 24);
			this.RecordBut.TabIndex = 12;
			this.RecordBut.Text = "&Record";
			this.RecordBut.Click += new System.EventHandler(this.RecordBut_Click);
			// 
			// axMacroRecorder1
			// 
			this.axMacroRecorder1.ContainingControl = this;
			this.axMacroRecorder1.Enabled = true;
			this.axMacroRecorder1.Location = new System.Drawing.Point(424, 8);
			this.axMacroRecorder1.Name = "axMacroRecorder1";
			this.axMacroRecorder1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axMacroRecorder1.OcxState")));
			this.axMacroRecorder1.Size = new System.Drawing.Size(35, 35);
			this.axMacroRecorder1.TabIndex = 2;
			this.axMacroRecorder1.RecordStart += new System.EventHandler(this.axMacroRecorder1_RecordStart);
			this.axMacroRecorder1.SaveComplete += new AxMacroRecorderActX.__MacroRecorder_SaveCompleteEventHandler(this.axMacroRecorder1_SaveComplete);
			// 
			// Form1
			// 
			this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
			this.ClientSize = new System.Drawing.Size(480, 142);
			this.Controls.Add(this.GroupBox1);
			this.Name = "Form1";
			this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
			this.Text = "VC# Macro Recorder";
			this.GroupBox1.ResumeLayout(false);
			((System.ComponentModel.ISupportInitialize)(this.axMacroRecorder1)).EndInit();
			this.ResumeLayout(false);

		}
Example #3
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(Form1));
			this.SaveFileDialog1 = new System.Windows.Forms.SaveFileDialog();
			this.OpenFileDialog1 = new System.Windows.Forms.OpenFileDialog();
			this.GroupBox1 = new System.Windows.Forms.GroupBox();
			this.Label3 = new System.Windows.Forms.Label();
			this.Label2 = new System.Windows.Forms.Label();
			this.Label1 = new System.Windows.Forms.Label();
			this.ButConvert = new System.Windows.Forms.Button();
			this.StopRecordBut = new System.Windows.Forms.Button();
			this.RecordBut = new System.Windows.Forms.Button();
			this.Timer1 = new System.Windows.Forms.Timer(this.components);
			this.axMacroRecorder1 = new AxMacroRecorderActX.AxMacroRecorder();
			this.GroupBox1.SuspendLayout();
			((System.ComponentModel.ISupportInitialize)(this.axMacroRecorder1)).BeginInit();
			this.SuspendLayout();
			// 
			// GroupBox1
			// 
			this.GroupBox1.Controls.Add(this.axMacroRecorder1);
			this.GroupBox1.Controls.Add(this.Label3);
			this.GroupBox1.Controls.Add(this.Label2);
			this.GroupBox1.Controls.Add(this.Label1);
			this.GroupBox1.Controls.Add(this.ButConvert);
			this.GroupBox1.Controls.Add(this.StopRecordBut);
			this.GroupBox1.Controls.Add(this.RecordBut);
			this.GroupBox1.Location = new System.Drawing.Point(8, 8);
			this.GroupBox1.Name = "GroupBox1";
			this.GroupBox1.Size = new System.Drawing.Size(432, 184);
			this.GroupBox1.TabIndex = 13;
			this.GroupBox1.TabStop = false;
			// 
			// Label3
			// 
			this.Label3.Location = new System.Drawing.Point(8, 128);
			this.Label3.Name = "Label3";
			this.Label3.Size = new System.Drawing.Size(416, 24);
			this.Label3.TabIndex = 5;
			this.Label3.Text = "3. Click Convert button to convert a normal macro file to an executable macro fil" +
				"e.";
			// 
			// Label2
			// 
			this.Label2.Location = new System.Drawing.Point(8, 72);
			this.Label2.Name = "Label2";
			this.Label2.Size = new System.Drawing.Size(392, 24);
			this.Label2.TabIndex = 4;
			this.Label2.Text = "2. Click Stop Record button to stop recording and save the macro to the disk.";
			// 
			// Label1
			// 
			this.Label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(178)));
			this.Label1.Location = new System.Drawing.Point(8, 16);
			this.Label1.Name = "Label1";
			this.Label1.Size = new System.Drawing.Size(288, 24);
			this.Label1.TabIndex = 3;
			this.Label1.Text = "1. Click Record button to start recording.";
			// 
			// ButConvert
			// 
			this.ButConvert.Location = new System.Drawing.Point(8, 152);
			this.ButConvert.Name = "ButConvert";
			this.ButConvert.Size = new System.Drawing.Size(88, 24);
			this.ButConvert.TabIndex = 2;
			this.ButConvert.Text = "&Convert";
			this.ButConvert.Click += new System.EventHandler(this.ButConvert_Click);
			// 
			// StopRecordBut
			// 
			this.StopRecordBut.Location = new System.Drawing.Point(8, 96);
			this.StopRecordBut.Name = "StopRecordBut";
			this.StopRecordBut.Size = new System.Drawing.Size(88, 24);
			this.StopRecordBut.TabIndex = 1;
			this.StopRecordBut.Text = "&Stop Record";
			this.StopRecordBut.Click += new System.EventHandler(this.StopRecordBut_Click);
			// 
			// RecordBut
			// 
			this.RecordBut.Location = new System.Drawing.Point(8, 40);
			this.RecordBut.Name = "RecordBut";
			this.RecordBut.Size = new System.Drawing.Size(88, 24);
			this.RecordBut.TabIndex = 0;
			this.RecordBut.Text = "&Record";
			this.RecordBut.Click += new System.EventHandler(this.RecordBut_Click);
			// 
			// Timer1
			// 
			this.Timer1.Enabled = true;
			this.Timer1.Tick += new System.EventHandler(this.Timer1_Tick);
			// 
			// axMacroRecorder1
			// 
			this.axMacroRecorder1.ContainingControl = this;
			this.axMacroRecorder1.Enabled = true;
			this.axMacroRecorder1.Location = new System.Drawing.Point(392, 16);
			this.axMacroRecorder1.Name = "axMacroRecorder1";
			this.axMacroRecorder1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axMacroRecorder1.OcxState")));
			this.axMacroRecorder1.Size = new System.Drawing.Size(35, 35);
			this.axMacroRecorder1.TabIndex = 6;
			this.axMacroRecorder1.RecordStart += new System.EventHandler(this.axMacroRecorder1_RecordStart);
			this.axMacroRecorder1.ConvertComplete += new AxMacroRecorderActX.__MacroRecorder_ConvertCompleteEventHandler(this.axMacroRecorder1_ConvertComplete);
			// 
			// Form1
			// 
			this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
			this.ClientSize = new System.Drawing.Size(448, 198);
			this.Controls.Add(this.GroupBox1);
			this.Name = "Form1";
			this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
			this.Text = "VC# Macro Recorder";
			this.GroupBox1.ResumeLayout(false);
			((System.ComponentModel.ISupportInitialize)(this.axMacroRecorder1)).EndInit();
			this.ResumeLayout(false);

		}