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