Click here to Skip to main content
15,899,937 members
Home / Discussions / C#
   

C#

 
GeneralRe: c# winforms Listview column sorting, won't change on 2nd click [works now] Pin
Luc Pattyn5-Feb-19 13:00
sitebuilderLuc Pattyn5-Feb-19 13:00 
GeneralRe: c# winforms Listview column sorting, won't change on 2nd click [works now] Pin
jkirkerx6-Feb-19 6:25
professionaljkirkerx6-Feb-19 6:25 
GeneralRe: c# winforms Listview column sorting, won't change on 2nd click [works now] Pin
Gerry Schmitz6-Feb-19 7:58
mveGerry Schmitz6-Feb-19 7:58 
GeneralRe: c# winforms Listview column sorting, won't change on 2nd click [works now] Pin
jkirkerx6-Feb-19 8:37
professionaljkirkerx6-Feb-19 8:37 
GeneralRe: c# winforms Listview column sorting, won't change on 2nd click [works now] Pin
Gerry Schmitz7-Feb-19 6:11
mveGerry Schmitz7-Feb-19 6:11 
GeneralRe: c# winforms Listview column sorting, won't change on 2nd click [works now] Pin
jkirkerx7-Feb-19 9:48
professionaljkirkerx7-Feb-19 9:48 
QuestionsignalR client server stops working after DNS-ip record for server changed Pin
impeham5-Feb-19 3:00
impeham5-Feb-19 3:00 
GeneralRe: signalR client server stops working after DNS-ip record for server changed Pin
Richard MacCutchan5-Feb-19 3:28
mveRichard MacCutchan5-Feb-19 3:28 
GeneralRe: signalR client server stops working after DNS-ip record for server changed Pin
impeham5-Feb-19 6:47
impeham5-Feb-19 6:47 
AnswerRe: signalR client server stops working after DNS-ip record for server changed Pin
Dave Kreskowiak5-Feb-19 4:06
mveDave Kreskowiak5-Feb-19 4:06 
GeneralRe: signalR client server stops working after DNS-ip record for server changed Pin
impeham5-Feb-19 6:44
impeham5-Feb-19 6:44 
GeneralRe: signalR client server stops working after DNS-ip record for server changed Pin
Dave Kreskowiak5-Feb-19 7:10
mveDave Kreskowiak5-Feb-19 7:10 
Questionarrays Pin
Member 141391973-Feb-19 22:21
Member 141391973-Feb-19 22:21 
AnswerRe: arrays Pin
Pete O'Hanlon3-Feb-19 22:40
mvePete O'Hanlon3-Feb-19 22:40 
GeneralRe: arrays Pin
Member 141391973-Feb-19 22:54
Member 141391973-Feb-19 22:54 
AnswerRe: arrays Pin
OriginalGriff4-Feb-19 0:05
mveOriginalGriff4-Feb-19 0:05 
GeneralRe: arrays Pin
Member 141391974-Feb-19 0:43
Member 141391974-Feb-19 0:43 
GeneralRe: arrays Pin
OriginalGriff4-Feb-19 0:46
mveOriginalGriff4-Feb-19 0:46 
GeneralRe: arrays Pin
Pete O'Hanlon4-Feb-19 1:19
mvePete O'Hanlon4-Feb-19 1:19 
Questionhow to get the corresponding y values for given x values from the chart series Pin
Mohamed Fahad3-Feb-19 21:54
Mohamed Fahad3-Feb-19 21:54 
SuggestionRe: how to get the corresponding y values for given x values from the chart series Pin
Richard MacCutchan3-Feb-19 22:21
mveRichard MacCutchan3-Feb-19 22:21 
AnswerRe: how to get the corresponding y values for given x values from the chart series Pin
Eddy Vluggen3-Feb-19 22:42
professionalEddy Vluggen3-Feb-19 22:42 
AnswerRe: how to get the corresponding y values for given x values from the chart series Pin
Jeff_T_12344-Feb-19 5:49
Jeff_T_12344-Feb-19 5:49 
AnswerRe: how to get the corresponding y values for given x values from the chart series Pin
Gerry Schmitz4-Feb-19 6:47
mveGerry Schmitz4-Feb-19 6:47 
Questionthe timer is slowed Pin
Mohamed Fahad3-Feb-19 0:57
Mohamed Fahad3-Feb-19 0:57 
i use the one timer in program i set 100ms intravel for that timer.every 100ms i need to increment the values and plot in chart.now my problem is the timer is got slowed when iam using the chart in my application without chart the working of timer is fine.

this is my code
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace chart
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }
        double a,b = 0;
        private void Form1_Load(object sender, EventArgs e)
        {
            timer1.Start();
        }

        private void timer1_Tick(object sender, EventArgs e)
        {
            a = a + 1;
            b = b + 3;
            timervaluee.Text=a.ToString();
            chart1.Series[0].Points.AddXY(a, b);
        }
    }
}

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.