Exemplo n.º 1
0
        protected override void OnClosing(CancelEventArgs e)
        {
            Properties.Settings.Default.POSMapperSize     = new Size((int)Width, (int)Height);
            Properties.Settings.Default.POSMapperPosition = new Point((int)Left, (int)Top);

            MyPosMapperControl.Dispose();

            base.OnClosing(e);
        }
Exemplo n.º 2
0
 protected override void OnActivated(EventArgs e)
 {
     base.OnActivated(e);
     MyPosMapperControl.Activate();
 }