Exemplo n.º 1
0
 public ContextPresenter(ContextView contextView)
 {
     // TODO: Complete member initialization
     this.contextView = contextView;
     LoadContext();
 }
Exemplo n.º 2
0
 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();
     }
 }