public static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); var model = new Model(); var postitEditor = new PostitEditor(); var group = new ControlGroup(model, postitEditor); Application.Run(postitEditor); }
public AbstractControler(Model model, PostitEditor view) { this.model = model; this.view = view; panelDesigner = view.GetPanelDesigner(); }
public DesignerControler(Model model, PostitEditor view) : base(model, view) { panelDesigner = view.GetPanelDesigner(); }
public DesignPostItControler(Model model, PostitEditor view, int idModel) : base(model, view) { mousePosition = new Point(0, 0); postIt = model.GetPostItByID(idModel); isMoved = false; }
public MenuControler(Model model, PostitEditor view) : base(model, view) { }