Skocz do zawartości

Sharp266

Użytkownik
  • Postów

    4
  • Dołączył

  • Ostatnia wizyta

Reputacja

6 Nowy
  1. Jak ktoś chce zmienić kolor progressbaru na taki jak w tej aplikacji To udostępniam kod,ten kod wklejamy do przycisku gdzie mamy start timera,trójka w tym kodzie oznacza kolor progressbaru w tym przypadku kolor żółty,aby zmienić żeby kolor progressbaru był czerwony wystarczy za trójkę dać dwójkę. SendMessage(ProgressBar1.Handle, 1040, 3, 0) Declare Function SendMessage Lib "user32" Alias "SendMessageA" (ByVal hwnd As Integer, ByVal wMsg As Integer, ByVal wParam As Integer, ByVal lParam As Integer) As Integer To wklejamy przed Public Class Form1 A tutaj daje cały kod aplikacji Public Class Form1 Declare Function SendMessage Lib "user32" Alias "SendMessageA" (ByVal hwnd As Integer, ByVal wMsg As Integer, ByVal wParam As Integer, ByVal lParam As Integer) As Integer Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load End Sub Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Timer1.Start() SendMessage(ProgressBar1.Handle, 1040, 2, 0) End Sub Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click Timer2.Start() SendMessage(ProgressBar2.Handle, 1040, 3, 0) End Sub Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick ProgressBar1.Increment(1) If ProgressBar1.Value = 101 Then Timer1.Stop() End If End Sub Private Sub Timer2_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer2.Tick ProgressBar2.Increment(1) If ProgressBar2.Value = 101 Then Timer2.Stop() End If End SubEnd Class
  2. Jakby ktoś chciał usunąć date kometarzy w szablonie arras to wystarczy usunąć ten kod z template.php <?php printf( __('Posted %1$s at %2$s', 'arras'), '<abbr class="comment-datetime" title="' . get_comment_time( __('c', 'arras') ) . '">' . get_comment_time( __('F j, Y', 'arras') ), get_comment_time( __('g:i A', 'arras') ) . '</abbr>' ); ?>
  3. Hej spróbuj poszukać tego kodu w functions.php i go usunąć,ale najpierw sobie go skopiuj jakby coś nie poszło pozdrawiam <small><?php printf(__('%1$s at %2$s', 'pyre'), get_comment_date(), get_comment_time()) ?></a><?php edit_comment_link(__('Edit', 'pyre'),' ','') ?> - <?php comment_reply_link(array_merge( $args, array('reply_text' => __('Reply', 'pyre'), 'add_below' => $add_below, 'depth' => $depth, 'max_depth' => $args['max_depth']))) ?></small>
  4. Zobacz na to http://getaccounts.org/youtube-views
×
×
  • Dodaj nową pozycję...

Powiadomienie o plikach cookie

Ta strona korzysta z ciasteczek, aby świadczyć usługi na najwyższym poziomie. Dalsze korzystanie z witryny oznacza zgodę na ich wykorzystanie. Polityka prywatności .