コード例 #1
0
        private void SnapCreateBtn_Click(object sender, EventArgs e)
        {
            SnapOverlay Overlay = new SnapOverlay();

            InitializeOverlay(Overlay);
            Overlay.Width  = SystemInformation.VirtualScreen.Width;
            Overlay.Height = SystemInformation.VirtualScreen.Height;
            Overlay.Show();
        }
コード例 #2
0
 private void InitializeOverlay(SnapOverlay Overlay)
 {
     Overlay.OnReceivedSnapPoint += fReceivedSnapPoint;
     SetOpacityToSlider(Overlay);
 }
コード例 #3
0
 void SetOpacityToSlider(SnapOverlay Overlay)
 {
     Overlay.Opacity = ((double)OpacitySlider.Value / 100.0);
 }