Пример #1
0
        public PlugPackageinInfoPage(PluginPackage pluginPackage)
        {
            InitializeComponent();

            mPluginPackage = pluginPackage;
            NameTextBox.BindControl(mPluginPackage, nameof(PluginPackage.PluginID));
            FolderTextBox.BindControl(mPluginPackage, nameof(pluginPackage.Folder));
        }
Пример #2
0
        public AddApplicationPage()
        {
            InitializeComponent();

            mApplicationPlatform = new ApplicationPlatform();
            NameTextBox.BindControl(mApplicationPlatform, nameof(ApplicationPlatform.AppName));
            PlatformComboBox.BindControl(mApplicationPlatform, nameof(ApplicationPlatform.Platform));
        }
Пример #3
0
        public BusinessFlowInfoPage(BusinessFlow businessFlow)
        {
            InitializeComponent();

            mBusinessFlow = businessFlow;

            NameTextBox.BindControl(mBusinessFlow, nameof(BusinessFlow.Name));
            DescriptionTextBox.BindControl(mBusinessFlow, nameof(BusinessFlow.Description));

            TargetApplicationsListBox.ItemsSource       = mBusinessFlow.TargetApplications;
            TargetApplicationsListBox.DisplayMemberPath = nameof(TargetApplication.AppName);
        }
Пример #4
0
        public ScanDBPage(ApplicationDBModel ApplicationDBModel)
        {
            InitializeComponent();

            mApplicationDBModel = ApplicationDBModel;

            NameTextBox.BindControl(mApplicationDBModel, nameof(ApplicationDBModel.Name));

            TableInfoGrid.ItemsSource = mApplicationDBModel.Tables;

            //TODO: TEMP - keep in AppDB RI or take from env

            // TODO: remove hard code conn string
            ConnectionStringTextBox.Text = (@"Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\yaron\Ginger\POM\POM\Documents\Customers.accdb");

            mApplicationDBModel.Name = "splcustm";
        }
Пример #5
0
 public ApplicationEditPage(ApplicationPlatform applicationPlatform)
 {
     InitializeComponent();
     NameTextBox.BindControl(applicationPlatform, nameof(ApplicationPlatform.AppName));
     PlatformComboBox.BindControl(applicationPlatform, nameof(ApplicationPlatform.Platform));
 }