Beispiel #1
0
 public UserInformationControlForm(NViewHelper.FormViewMode mode,
                                   IUserInformationRegister register,
                                   UserInformation findedUser = null)
 {
     viewMode = mode;
     userInformationRegister = register;
     currentUser             = findedUser;
     InitializeComponent();
 }
Beispiel #2
0
        public ClientPersonalInfoControlForm(NViewHelper.FormViewMode mode,
                                             IClientInformationRegister register,
                                             ref ClientInformation client)
        {
            mViewMode = mode;
            clientInformationRegister = register;
            currentClient             = client;

            InitializeComponent();
        }
Beispiel #3
0
        public PublishHouseControlForm(NViewHelper.FormViewMode mode,
                                       IPublishHouseInformationRegister publishHouseRegister,
                                       PublishHouseInformation publishHouseInfo = null)
        {
            viewModeForm = mode;
            publishHouseInformationRegister = publishHouseRegister;
            if (publishHouseInformationRegister != null)
            {
                publishHouseInformationRegister.OnOperationExecute += PrintMessageForUser;
            }

            publishHouseInformation = publishHouseInfo;

            InitializeComponent();
        }
Beispiel #4
0
 private InventoryCodeControlForm(NViewHelper.FormViewMode view, int code)
 {
     viewMode      = view;
     inventoryCode = code;
     InitializeComponent();
 }