override protected views.popup.IMTGridPopup CreatePopup() { popup = new views.popup.HojoKamokuPopup(); popup.AddHojoKamokuButtonClicked += ShowAddHojoKamokuView; popup.CloseButtonClicked += CloseButtonClicked; popup.PopupClosed += () => popup = null; popup.StartPosition = System.Windows.Forms.FormStartPosition.Manual; int screenHeight = System.Windows.Forms.Screen.PrimaryScreen.Bounds.Height; popup.Location = new System.Drawing.Point(popup.Width, screenHeight - popup.Height - 48); return(popup); }
public HojoKamokuPopupController() { popup = null; kamokuId = 0; ShowChildren = true; }