Esempio n. 1
0
        public Settings(Question q, Main_form m)
        {
            InitializeComponent();



            CenterToScreen();
        }
Esempio n. 2
0
        public Question(Main_form main, int port, string ip, Settings set)
        {
            InitializeComponent();
            CenterToScreen();



            this.port = port;
            this.ip   = ip;
        }
        public OnlyTitlePostButton(Post post, Main_form mf)
        {
            InitializeComponent();

            main_Form = mf;
            this.post = post;


            Title.Text = post.Title;
        }
Esempio n. 4
0
        public PostLine(Post nPost, int ypos, Main_form main)
        {
            InitializeComponent();

            yPosition = ypos;
            post      = nPost;
            mainform  = main;


            post.postline = this; // Передаем посту ссылку на объект контроллера поста


            Titile_label.Text     = nPost.Title;
            Date_Label.Text       = nPost.Date;
            PostAuthor_Label.Text = nPost.Author;

            Location = new Point(145, yPosition);
            ImportancyShow();
        }
Esempio n. 5
0
 private void PostsShow_Button_Click(object sender, EventArgs e)
 {
     main_Form = new Main_form();
     main_Form.Show();
     Hide();
 }
Esempio n. 6
0
 private void Enter_Button_Click(object sender, EventArgs e)
 {
     MP = new Main_form();
     Hide();
     MP.Show();
 }