コード例 #1
0
 private void moviePanel_Click(object sender, EventArgs e)
 {
     MovieInfo info = new MovieInfo(m);
     info.Show();
 }
コード例 #2
0
 private void moviePanel_MouseDown(object sender, MouseEventArgs e)
 {
     if (e.Button == MouseButtons.Left && e.Clicks == 1)
     {
         this.DoDragDrop(m, DragDropEffects.Copy | DragDropEffects.Move);
     }
     else if(e.Button == MouseButtons.Left && e.Clicks == 2)
     {
         MovieInfo mi = new MovieInfo(m);
         mi.Show();
     }
 }
コード例 #3
0
        private void openMovieInfo(object sender, EventArgs e)
        {
            Panel p = (Panel)sender;

            MovieInfo m = new MovieInfo(curMovies[p]);
            m.Show();
        }