Exemple #1
0
 public Form_MoviePreview()
 {
     InitializeComponent();
     buttonPanelControl = new ButtonPanelControl(MovieDataBLL.GetActorAllNameToInitial());
     InitButton();
     previewControl.Dock = DockStyle.Fill;
     panelPicSubMenu.Controls.Add(previewControl);
 }
Exemple #2
0
        private void SeachActorNames()
        {
            List <string> actorNames = MovieDataBLL.FindFuzzyActorNames(currentText);

            if (actorNames.Count != 0)
            {
                buttonPanelControl      = new ButtonPanelControl(actorNames);
                buttonPanelControl.Dock = DockStyle.Left;
                buttonPanelControl.Button_MouseDownEvent += ButtonPanelControl_Button_MouseDownEvent;
                panelButton.Controls.Add(buttonPanelControl);
            }
        }