public DeleteRelease(MainWindow window, TrackDatabase track_database)
 {
     this.Owner          = window;
     this.track_database = track_database;
     InitializeComponent();
     track_input_handler = new TrackInputHandler(combo_title, combo_artist, combo_label, combo_release, combo_side, button_reset, track_database);
 }
 public CreateRelation(MainWindow window, TrackDatabase track_database)
 {
     this.Owner          = window;
     this.track_database = track_database;
     InitializeComponent();
     track_1 = new TrackInputHandler(combo_title1, combo_artist1, combo_label1, combo_release1, combo_side1, button_reset1, track_database);
     track_2 = new TrackInputHandler(combo_title2, combo_artist2, combo_label2, combo_release2, combo_side2, button_reset2, track_database);
 }
Exemple #3
0
        public MainWindow()
        {
            track_database    = new TrackDatabase();
            related_tracks    = new List <Track>();
            current_relations = new List <Relation>();

            InitializeComponent();

            track_input_handler = new TrackInputHandler(combo_title, combo_artist, combo_label, combo_release, combo_side, button_reset, track_database);
        }