Ejemplo n.º 1
0
        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);
        }
Ejemplo n.º 2
0
 public AbstractControler(Model model, PostitEditor view)
 {
     this.model    = model;
     this.view     = view;
     panelDesigner = view.GetPanelDesigner();
 }
Ejemplo n.º 3
0
 public DesignerControler(Model model, PostitEditor view) : base(model, view)
 {
     panelDesigner = view.GetPanelDesigner();
 }
Ejemplo n.º 4
0
 public DesignPostItControler(Model model, PostitEditor view, int idModel) : base(model, view)
 {
     mousePosition = new Point(0, 0);
     postIt        = model.GetPostItByID(idModel);
     isMoved       = false;
 }
Ejemplo n.º 5
0
 public MenuControler(Model model, PostitEditor view) : base(model, view)
 {
 }