/// <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="Search"/> class. /// </summary> /// <param name="provider"> /// The provider. /// </param> /// <param name="graphMode"> /// The graph mode. /// </param> public Search(Provider.Provider provider, int graphMode) { this.InitializeComponent(); this.provider = provider; 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; } this.labelTime.ResetText(); this.labelNodes.ResetText(); }
/// <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> /// <param name="mode"> /// The mode. /// </param> public AddTree(Provider.Provider provider, bool fromFile, int mode) { this.InitializeComponent(); this.provider = provider; this.fromFile = fromFile; this.mode = mode; this.FillTrees(); this.SetTitleLabel(); }
/// <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; }