void Carrega(Principal _principal, PropietarisManager _propietaris_manager, PointsManager _points_manager,
                     ServerManager _server_manager, UIManager _ui_manager)
        {
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize          = new System.Drawing.Size(970, 465);
            this.Name = "Maquinaria";
            this.Text = this.Name;
            this.ResumeLayout(false);
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
            this.MaximizeBox     = false;
            this.MinimizeBox     = false;
            this.Load           += new System.EventHandler(this.LoadF);

            // Set Managers ----------------------
            propietaris_manager = _propietaris_manager;
            point_manager       = _points_manager;
            server_manager      = _server_manager;
            ui_manager          = _ui_manager;
            principal           = _principal;
            // -----------------------------------

            // UI --------------------------------
            LoadUI();
            // -----------------------------------
        }
        void Carrega(Principal _principal, PropietarisManager _propietaris_manager, PointsManager _points_manager,
                     ServerManager _server_manager, UIManager _ui_manager, Forms.QuadernCamp q_form)
        {
            this.components    = new System.ComponentModel.Container();
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.Name          = "Imprimir quadern camp";
            this.Text          = this.Name;
            this.Load         += new System.EventHandler(this.Form_Load);
            this.ClientSize    = new System.Drawing.Size(230, 120);

            // Set Managers ----------------------
            propietaris_manager = _propietaris_manager;
            point_manager       = _points_manager;
            server_manager      = _server_manager;
            ui_manager          = _ui_manager;
            principal           = _principal;

            quadern_form = q_form;
            // -----------------------------------

            // UI --------------------------------
            LoadUI();
            // -----------------------------------
        }
Example #3
0
 public Adobats(Principal principal, PropietarisManager _propietaris_manager, PointsManager _points_manager,
                ServerManager _server_manager, UIManager _ui_manager)
 {
     InitializeComponent();
     Carrega(principal, _propietaris_manager, _points_manager, _server_manager, _ui_manager);
 }
 public ConfiguraQuadernCamp(Principal principal, PropietarisManager _propietaris_manager, PointsManager _points_manager,
                             ServerManager _server_manager, UIManager _ui_manager, Forms.QuadernCamp q_form)
 {
     InitializeComponent();
     Carrega(principal, _propietaris_manager, _points_manager, _server_manager, _ui_manager, q_form);
 }