Beispiel #1
0
        private void setTypeToolStripMenuItem_Click(object sender, EventArgs e)
        {
#if !NO_CONTROL
            var uc = new MemoryTyperControl();
            this.Controls.Add(uc);
            uc.Location  = this.PointToClient(Control.MousePosition);
            uc.BackColor = Color.Transparent;
            uc.BringToFront();
            uc.Show();
#else
            var dlg = new TypeDialog();
            dlg.Owner    = this;
            dlg.Location = Control.MousePosition;
            dlg.BringToFront();
            dlg.Show();
#endif
        }
Beispiel #2
0
        private void setTypeToolStripMenuItem_Click(object sender, EventArgs e)
        {
#if !NO_CONTROL
            var uc = new MemoryTyperControl();
            this.Controls.Add(uc);
            uc.Location = this.PointToClient(Control.MousePosition);
            uc.BackColor = Color.Transparent;
            uc.BringToFront();
            uc.Show();
#else
            var dlg = new TypeDialog();
            dlg.Owner = this;
            dlg.Location = Control.MousePosition;
            dlg.BringToFront();
            dlg.Show();

#endif
        }