Example #1
0
 /// <summary>
 /// Conditongroup wird einer Playlist zugefügt
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void btnAddConditionGroup_Click(object sender, RoutedEventArgs e)
 {
     tpadd                 = new TextPopup();
     tpadd.Title           = "Feldgruppe Hinzufügen.";
     tpadd.btnOk.Click    += AddConditionGroup;
     tpadd.tbflex.KeyDown += AddConditionGroupTextBox_PreviewKeyDown;
     tpadd.Owner           = this;
     tpadd.Show();
     tpadd.tbflex.Focus();
 }
Example #2
0
 /// <summary>
 /// eine Playlist wird zugefügt.
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void btnAdd_Click(object sender, RoutedEventArgs e)
 {
     tpadd = new TextPopup {
         Title = "Wiedergabeliste Anlegen", Owner = this
     };
     tpadd.btnOk.Click    += AddPlaylist;
     tpadd.tbflex.KeyDown += AddPlaylistTextBox_PreviewKeyDown;
     tpadd.Show();
     tpadd.tbflex.Focus();
 }
Example #3
0
 /// <summary>
 /// Conditongroup wird umbenannt
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void btnEditConditionGroup_Click(object sender, RoutedEventArgs e)
 {
     tpadd                 = new TextPopup();
     tpadd.Title           = "Bedingunsgruppe Ändern";
     tpadd.btnOk.Click    += EditConditionGroup;
     tpadd.tbflex.KeyDown += EditConditionGroupTextBox_PreviewKeyDown;
     tpadd.tbflex.Text     = lbConditionList.SelectedValue.ToString();
     tpadd.Owner           = this;
     tpadd.Show();
     tpadd.tbflex.Focus();
 }
Example #4
0
 /// <summary>
 /// Playlist wird umbenannt
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void btnEditPlaylist_Click(object sender, RoutedEventArgs e)
 {
     tpadd                 = new TextPopup();
     tpadd.Title           = "Wiedergabeliste Ändern";
     tpadd.btnOk.Click    += EditPlaylist;
     tpadd.tbflex.KeyDown += EditPlaylistTextBox_PreviewKeyDown;
     tpadd.tbflex.Text     = lbPlaylist.SelectedValue.ToString();
     tpadd.Owner           = this;
     tpadd.Show();
     tpadd.tbflex.Focus();
 }