Esempio n. 1
0
 void TimelineView_MouseDown(object sender, MouseEventArgs e)
 {
     if (e.Button == MouseButtons.Left && MoveByDrag)
     {
         Win32APIUtils.DragMove(Handle);
     }
 }
        public OverlayButtonsForm(TimelineController controller_)
        {
            controller = controller_;

            InitializeComponent();

            this.ShowInTaskbar = false;

            // Force set small window size below OS minimum.
            Win32APIUtils.SetWindowSize(Handle, 55, 20);

            Win32APIUtils.SetWS_EX_NOACTIVATE(Handle, true);

            controller.PausedUpdate += controller_PausedUpdate;
            controller_PausedUpdate(null, EventArgs.Empty);
        }