示例#1
0
        public RegistrationForm()
        {
            InitializeComponent();
            DesingerService desingerService = DesingerServiceImpl.GetInstance();

            desingerService.AddFormToDesinger(this);
            registrationService = RegistrationServiceImpl.GetService();
        }
 public NotifitactionForm(string message)
 {
     InitializeComponent();
     desingerService = DesingerServiceImpl.GetInstance();
     desingerService.AddFormToDesinger(this);
     desingerService.AddPanelToChangeColor(contentPanel);
     textLabel.Text = message;
 }
示例#3
0
 public PriceForm()
 {
     InitializeComponent();
     desingerService = DesingerServiceImpl.GetInstance();
     desingerService.AddFormToDesinger(this);
     desingerService.AddPanelToChangeColor(panel1);
     desingerService.AddPanelToChangeColor(panel2);
 }
示例#4
0
 public SettingsForm()
 {
     InitializeComponent();
     desingerService = DesingerServiceImpl.GetInstance();
     desingerService.AddFormToDesinger(this);
     desingerService.AddPanelToChangeColor(themePanel);
     desingerService.AddPanelToChangeColor(deleteDataPanel);
     desingerService.AddPanelToChangeColor(authorPanel);
 }
示例#5
0
        public LoginForm()
        {
            InitializeComponent();
            DesingerService desingerService = DesingerServiceImpl.GetInstance();

            desingerService.AddFormToDesinger(this);

            loginService = LoginServiceImpl.GetService();
        }
示例#6
0
        public CommentsForm(Movie movie)
        {
            InitializeComponent();
            desingerService = DesingerServiceImpl.GetInstance();
            desingerService.AddFormToDesinger(this);
            desingerService.AddPanelToChangeColor(titlePanel);
            this.movie = movie;

            SetLabels();
        }
        public MovieAdminInfoForm(Movie movie)
        {
            InitializeComponent();
            desingerService = DesingerServiceImpl.GetInstance();
            desingerService.AddFormToDesinger(this);
            desingerService.AddPanelToChangeColor(contentPanel);

            this.movie = movie;
            SetLabels();
        }
示例#8
0
        public UserInfoForm(Backend.Data.User user)
        {
            InitializeComponent();
            desingerService = DesingerServiceImpl.GetInstance();
            desingerService.AddFormToDesinger(this);
            desingerService.AddPanelToChangeColor(contentPanel);

            this.user = user;
            SetLabels();
        }
示例#9
0
        public SeanceAdminInfoForm(Backend.Data.Seance seance)
        {
            InitializeComponent();
            desingerService = DesingerServiceImpl.GetInstance();
            desingerService.AddFormToDesinger(this);
            desingerService.AddPanelToChangeColor(contentPanel);

            this.seance = seance;
            SetLabels();
        }
示例#10
0
        public NewsInfoForm(Article article)
        {
            InitializeComponent();
            desingerService = DesingerServiceImpl.GetInstance();
            desingerService.AddFormToDesinger(this);
            desingerService.AddPanelToChangeColor(contentPanel);

            this.article = article;
            SetLabels();
        }
示例#11
0
        public LoadingForm()
        {
            InitializeComponent();
            desingerService = DesingerServiceImpl.GetInstance();
            desingerService.AddFormToDesinger(this);
            desingerService.AddPanelToChangeColor(progressPanel);

            FormsController formsController = FormsControllerImpl.GetInstance();

            mainForm = formsController.GetMainForm();
        }
示例#12
0
        public MainForm()
        {
            InitializeComponent();
            desinger = DesingerServiceImpl.GetInstance();
            desinger.AddFormToDesinger(this);
            desinger.AddPanelToChangeColor(menuPanel);
            desinger.AddPanelToChangeColor(logoPanel);

            content = ContentPanelControllerImpl.CreateController(contentPanel);
            content.OpenNewsForm();
        }
示例#13
0
        public HallsAdminInfoForm(Hall hall)
        {
            InitializeComponent();
            desingerService = DesingerServiceImpl.GetInstance();
            desingerService.AddFormToDesinger(this);
            desingerService.AddPanelToChangeColor(contentPanel);

            service   = HallsAdminServiceImpl.GetService();
            this.hall = hall;
            SetLabels();
        }
示例#14
0
        public UserForm()
        {
            InitializeComponent();
            desingerService = DesingerServiceImpl.GetInstance();
            desingerService.AddFormToDesinger(this);
            desingerService.AddPanelToChangeColor(passwordPanel);
            desingerService.AddPanelToChangeColor(accoutnDeletePanel);
            desingerService.AddPanelToChangeColor(panel1);
            desingerService.AddPanelToChangeColor(panel2);
            desingerService.AddPanelToChangeColor(panel3);
            desingerService.AddPanelToChangeColor(userInfoPanel);

            mainUser = MainUserServiceImpl.GetInstance();
            SetLabels();
        }
        public MoviesAdminListForm()
        {
            InitializeComponent();
            desingerService = DesingerServiceImpl.GetInstance();
            desingerService.AddFormToDesinger(this);

            moviesService   = MoviesAdminServiceImpl.GetService();
            listFormService = new ListFormService();

            DownloadList();
            listFormService.SetControlButtonsAndLabel(previusPageButton, nextPageButton, pageNumberLabel);
            listFormService.SetInfoPanel(infoLabel);

            ConnectPanels();
            ConnectForms();

            listFormService.ShowForms();
        }
示例#16
0
        public AddSeanceForm()
        {
            InitializeComponent();
            desingerService = DesingerServiceImpl.GetInstance();
            desingerService.AddFormToDesinger(this);

            MoviesAdminService moviesService = MoviesAdminServiceImpl.GetService();

            movies          = moviesService.GetMoviesList();
            movieLabel.Text = movies[checkMovie].GetTitle();

            HallsAdminService hallsService = HallsAdminServiceImpl.GetService();

            halls = hallsService.GetHallsList();
            SetHallInfo(halls[checkHall]);

            timePickerData.Format       = DateTimePickerFormat.Custom;
            timePickerData.CustomFormat = "dd/MM/yyyy hh:mm";
        }
示例#17
0
        public AdminForm()
        {
            InitializeComponent();
            desingerService = DesingerServiceImpl.GetInstance();
            desingerService.AddFormToDesinger(this);
            desingerService.AddPanelToChangeColor(checkTicketPanel);

            newsContent = new PanelCreator(newsPanel);
            newsContent.Open(new NewsAdminListForm());

            moviesContent = new PanelCreator(moviesPanel);
            moviesContent.Open(new MoviesAdminListForm());

            usersContent = new PanelCreator(usersPanel);
            usersContent.Open(new UsersListForm());

            hallsContent = new PanelCreator(hallsPanel);
            hallsContent.Open(new HallsAdminListForm());

            seanceContent = new PanelCreator(seancePanel);
            seanceContent.Open(new SeanceAdminListForm());
        }
示例#18
0
 public AddMovieForm()
 {
     InitializeComponent();
     desingerService = DesingerServiceImpl.GetInstance();
     desingerService.AddFormToDesinger(this);
 }