Exemplo n.º 1
0
 private void btnRecordMacro_Click(object sender, EventArgs e)
 {
     rb                 = new RecordBox(this);
     rb.TopLevel        = true;
     rb.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     rb.ShowDialog();
 }
Exemplo n.º 2
0
 void OpenRecordBox(int i)
 {
     rb                 = new RecordBox(this, i);
     rb.TopLevel        = true;
     rb.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     rb.ShowDialog();
 }
Exemplo n.º 3
0
 private void btnRecordMacro_Click(object sender, EventArgs e)
 {
     rb          = new RecordBox(this);
     rb.TopLevel = false;
     rb.Dock     = DockStyle.Fill;
     rb.Visible  = true;
     Controls.Add(rb);
     rb.BringToFront();
 }
Exemplo n.º 4
0
 private void btnMacro_Click(object sender, EventArgs e)
 {
     gBExtras.Controls.Add(cBScanCode);
     cBScanCode.Location = new Point(lBTip.Location.X, lBTip.Location.Y + lBTip.Size.Height);
     rb          = new RecordBox(this);
     rb.TopLevel = false;
     rb.Dock     = DockStyle.Fill;
     rb.Visible  = true;
     Controls.Add(rb);
     rb.BringToFront();
     rb.FormClosed += delegate { Controls.Add(cBScanCode); cBScanCode.Location = oldSC; ActiveControl = lBMacroOn; rb = null; };
 }
Exemplo n.º 5
0
 private void btnMacro_Click(object sender, EventArgs e)
 {
     gBExtras.Controls.Add(cBScanCode);
     cBScanCode.Location = new Point(20, 320);
     rb          = new RecordBox(this);
     rb.TopLevel = false;
     rb.Dock     = DockStyle.Fill;
     rb.Visible  = true;
     Controls.Add(rb);
     rb.BringToFront();
     rb.FormClosed += delegate { Controls.Add(cBScanCode); cBScanCode.Location = new Point(663, 8); ActiveControl = lBMacroOn; };
 }