public MainForm() { InitializeComponent(); m_context = new Context(this); m_context.SetState(Context.State.Init); //policies summary panel setup m_policiesSummaryPanel = new PoliciesSummaryPanelControl(m_context); //policy panel setup m_policyPanel = new PolicyDetailsPanelControl(m_context); //conditions panel setup m_conditionsPanel = new ConditionsPanelControl(m_context); //action panel setup m_actionPanel = new ActionPanelControl(m_context); //Controller for policy tree view m_treeViewController = new TreeViewControllerPolicyOriented(m_context); m_treeViewController.View = this.TreeView; this.WindowState = FormWindowState.Maximized; }