public ContextPresenter(ContextView contextView) { // TODO: Complete member initialization this.contextView = contextView; LoadContext(); }
private void btn_Context_Click(object sender, EventArgs e) { using (ctxV = new ContextView()) { ctxV.Dock = DockStyle.Fill; ctxV.Location = this.Location; ctxV.Location = new Point(ctxV.Location.X, this.Location.Y+this.mainFormHeightLocation); ctxV.TopMost = true; ctxV.changeSelectedContextEvent += ctxV_changeSelectedContextEvent; ctxV.ShowDialog(); } }