Пример #1
0
        public CarPartsEditor(DBModelPart model)
        {
            this._openforms = new List <Form>();
            this.InitializeComponent();
            this.ToggleTheme();
            this.Model = model;
            this.Text  = $"{this.Model.CollectionName} Editor";
            this.LoadTreeView();
            this.ToggleMenuStripControls(null);

            this.FindAndReplaceToolStripMenuItem.Enabled = true;
        }
Пример #2
0
 /// <summary>
 /// Initializes new instance of <see cref="RealCarPart"/>.
 /// </summary>
 /// <param name="model"><see cref="DBModelPart"/> to which this instance belongs to.</param>
 /// <param name="capacity">Initial capacity of the attribute list.</param>
 public RealCarPart(DBModelPart model, int capacity) : this(capacity) { this.Model = model; }
Пример #3
0
 /// <summary>
 /// Initializes new instance of <see cref="RealCarPart"/>.
 /// </summary>
 /// <param name="model"><see cref="DBModelPart"/> to which this instance belongs to.</param>
 public RealCarPart(DBModelPart model) : this()
 {
     this.Model = model;
 }