예제 #1
0
 public ContextPresenter(ContextView contextView)
 {
     // TODO: Complete member initialization
     this.contextView = contextView;
     LoadContext();
 }
예제 #2
0
파일: card.cs 프로젝트: javilillof/pthings2
 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();
     }
 }