public AddApplicationPage() { InitializeComponent(); mApplicationPlatform = new ApplicationPlatform(); NameTextBox.BindControl(mApplicationPlatform, nameof(ApplicationPlatform.AppName)); PlatformComboBox.BindControl(mApplicationPlatform, nameof(ApplicationPlatform.Platform)); }
public ApplicationEditPage(ApplicationPlatform applicationPlatform) { InitializeComponent(); NameTextBox.BindControl(applicationPlatform, nameof(ApplicationPlatform.AppName)); PlatformComboBox.BindControl(applicationPlatform, nameof(ApplicationPlatform.Platform)); }