Пример #1
0
 private void BtnCreateNewGroupClick(object sender, RoutedEventArgs e)
 {
     if (cmbbxAccountForGroupTab.SelectedItem != null && !string.IsNullOrWhiteSpace(txtbxNewGroupName.Text) && !string.IsNullOrWhiteSpace(txtbxNewGroupDescription.Text) && !string.IsNullOrWhiteSpace(txtbxNewGroupShortUrl.Text))
     {
         DmUploader.CreateNewGroupForAccount((Account)cmbbxAccountForGroupTab.SelectedItem, txtbxNewGroupName.Text, txtbxNewGroupDescription.Text, txtbxNewGroupShortUrl.Text);
     }
 }