/// <summary> /// Initializes a new instance of the <see cref="EditNodeForm"/> class. /// </summary> /// <param name="provider"> /// The provider. /// </param> /// <param name="oldVertexId"> /// The old vertex id. /// </param> public EditNodeForm(Provider.Provider provider, string oldVertexId) { this.InitializeComponent(); this.provider = provider; this.oldVertexId = oldVertexId; this.FillForm(); }
/// <summary> /// Initializes a new instance of the <see cref="BatchProcess"/> class. /// </summary> /// <param name="provider"> /// The provider. /// </param> public BatchProcess(Provider.Provider provider) { this.InitializeComponent(); this.PrepareDialog(); this.InitializeEditBox(); this.provider = provider; this.IsAdd = false; }
/// <summary> /// Initializes a new instance of the <see cref="AddTree"/> class. /// </summary> /// <param name="provider"> /// The provider. /// </param> /// <param name="fromFile"> /// The from file. /// </param> public AddTree(Provider.Provider provider, bool fromFile) { this.InitializeComponent(); this.InitializeAdd(); this.provider = provider; this.fromFile = fromFile; this.FillTrees(); this.SetTitleLabel(); }
private void Search_Click(object sender, RoutedEventArgs e) { Provider.Provider provider = Provider.Provider.GetProviderByName(Utils.Settings.provider); foreach (Window window in Application.Current.Windows) { if (window.GetType() == typeof(MainWindow)) { (window as MainWindow).MainContentControl.Content = new AnimeListView(provider.Search(aniname.Text)); } } }
public DataAccessLayer(SourceType dataType, string targetFile) { if (string.IsNullOrWhiteSpace(nameof(targetFile))) { throw new ArgumentException(nameof(targetFile)); } _provider = new Provider.Provider(); _dataType = dataType; _targetFile = targetFile; _libraryDataSet = _provider.GetAllData(dataType, targetFile); }
private void Button_Click(object sender, RoutedEventArgs e) { Item item = (Item)this.animes.SelectedItem; Provider.Provider provider = Provider.Provider.GetProviderByName(Settings.provider); foreach (Window window in Application.Current.Windows) { if (window.GetType() == typeof(MainWindow)) { (window as MainWindow).MainContentControl.Content = new DownloadView(provider.GetEpisodes( new Anime(item.Title, item.URL, item.Id))); } } }
//public Provider.ProviderAffiliation ProviderAffilation { get { return application.ProviderAffiliationGet (providerAffiliationId, true); } } //public Provider.Provider PcpAffiliateProvider { get { return ((ProviderAffilation != null) ? ProviderAffilation.AffiliateProvider : null); } } #endregion #region Property Data Binding Callbacks private void PcpProviderGetCompleted(Object sender, Server.Application.ProviderGetCompletedEventArgs e) { serverRequests.Remove("PcpProvider"); GlobalProgressBarHide("PcpProvider"); if ((!e.Cancelled) && (e.Error == null) && (e.Result != null)) { pcpProvider = new Provider.Provider(Application, e.Result); NotifyPropertyChanged("Name"); NotifyPropertyChanged("PcpProvider"); } return; }
/// <summary> /// Initializes a new instance of the <see cref="Create"/> class. /// </summary> /// <param name="provider"> /// The provider. /// </param> /// <param name="mode"> /// The mode. /// </param> /// <param name="graphMode"> /// The graph mode. /// </param> public Create(Provider.Provider provider, int mode, int graphMode) { this.InitializeComponent(); this.provider = provider; this.Mode = mode; this.GraphMode = graphMode; this.FillSelectedTreeComboBox(); switch (this.GraphMode) { case 0: // do nothing break; case 1: this.InitializeTreeView(); break; case 2: this.InitializeGraph(); break; case 3: this.InitializeGleeGraph(); break; } }
/// <summary> /// Initializes a new instance of the <see cref="GraphSummary"/> class. /// </summary> /// <param name="provider"> /// The provider. /// </param> public GraphSummary(Provider.Provider provider) { this.InitializeComponent(); this.provider = provider; this.PrepareDialog(); }
/// <summary> /// Initializes a new instance of the <see cref="OpenDialog"/> class. /// </summary> /// <param name="provider"> /// The provider. /// </param> /// <param name="multiselect"> /// The multiselect. /// </param> public OpenDialog(Provider.Provider provider, bool multiselect) { this.InitializeComponent(); this.provider = provider; this.multiselect = multiselect; }
/// <summary> /// Initializes a new instance of the <see cref="OpenDialog"/> class. /// </summary> /// <param name="provider"> /// The provider. /// </param> public OpenDialog(Provider.Provider provider) { this.InitializeComponent(); this.provider = provider; this.multiselect = false; }
/// <summary> /// Initializes a new instance of the <see cref="ResultsSet"/> class. /// </summary> /// <param name="provider"> /// The provider. /// </param> public ResultsSet(Provider.Provider provider) { this.InitializeComponent(); this.provider = provider; this.dataGridViewResultsSet.ColumnHeadersBorderStyle = ProperColumnHeadersBorderStyle; }
/// <summary> /// Initializes a new instance of the <see cref="AddEdgeForm"/> class. /// </summary> /// <param name="provider"> /// The provider. /// </param> public AddEdgeForm(Provider.Provider provider) { this.InitializeComponent(); this.provider = provider; this.FillSourceVertexIdComboBox(); }
/// <summary> /// Initializes a new instance of the <see cref="AddTree"/> class. /// </summary> /// <param name="provider"> /// The provider. /// </param> /// <param name="fromFile"> /// The from file. /// </param> /// <param name="mode"> /// The mode. /// </param> /// <param name="group"> /// The group. /// </param> public AddTree(Provider.Provider provider, bool fromFile, int mode, bool group) { this.InitializeComponent(); this.provider = provider; this.fromFile = fromFile; this.mode = mode; this.@group = @group; this.FillTrees(); this.SetTitleLabel(); }