GetLastVersion() public méthode

public GetLastVersion ( string currentVersion ) : bool
currentVersion string
Résultat bool
Exemple #1
0
    private void on_button_check_last_version_clicked(object o, EventArgs args)
    {
        Json js      = new Json();
        bool success = js.GetLastVersion(progVersion);

        if (success)
        {
            LogB.Information(js.ResultMessage);
            label_send_log_message.Text = js.ResultMessage;
        }
        else
        {
            LogB.Error(js.ResultMessage);
            label_send_log_message.Text = js.ResultMessage;
        }
    }
Exemple #2
0
    private void on_button_check_last_version_clicked(object o, EventArgs args)
    {
        Json js      = new Json();
        bool success = js.GetLastVersion(progVersion);

        if (success)
        {
            LogB.Information(js.ResultMessage);
            new DialogMessage(
                "Chronojump",
                Constants.MessageTypes.INFO,
                js.ResultMessage
                );
        }
        else
        {
            LogB.Error(js.ResultMessage);
            new DialogMessage(
                "Chronojump",
                Constants.MessageTypes.WARNING,
                js.ResultMessage);
        }
    }
Exemple #3
0
    private void on_button_check_last_version_clicked(object o, EventArgs args)
    {
        Json js = new Json();
        bool success = js.GetLastVersion(progVersion);

        if(success) {
            LogB.Information(js.ResultMessage);
            new DialogMessage(
                    "Chronojump",
                    Constants.MessageTypes.INFO,
                    js.ResultMessage
                    );
        }
        else {
            LogB.Error(js.ResultMessage);
            new DialogMessage(
                    "Chronojump",
                    Constants.MessageTypes.WARNING,
                    js.ResultMessage);
        }
    }