Ejemplo n.º 1
0
        public CreateProblem(ForumForm forumForm)
        {
            this.StartPosition = FormStartPosition.CenterParent;

            this.forumForm = forumForm;
            this.subjects  = forumForm.subjects;
            InitializeComponent();

            foreach (var subject in subjects)
            {
                SubjectComboBox.Items.Add(subject);
            }
        }
Ejemplo n.º 2
0
 public static void SwitchToForumFrom(Form form)
 {
     //if (forum == null)
     forum = new forumNeeds.ForumForm();
     NormalSwitch(form, forum);
 }