Example #1
0
 void chart_user1_SetColor()
 {
     FormColor fc = new FormColor();
     fc.DT = dataTable;
     fc.ID = forecastReport.ID.ToString();
     fc.For = type;
     if (fc.ShowDialog() == DialogResult.OK)
         RefreshChart();
 }
Example #2
0
 private void barButtonItem22_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     FormColor fc = new FormColor();
     fc.DT = dataTable;
     fc.For = typeFlag;
     fc.ID = forecastReport.ID.ToString();
     if (fc.ShowDialog() == DialogResult.OK)
         RefreshChart();
 }
 void chart_user1_SetColor()
 {
     DataTable dt = dataTable.Copy();
     foreach (DataRow row in dt.Rows)
     {
         row["Title"] = row["Col3"].ToString() + "-" + row["Title"].ToString();
     }
     FormColor fc = new FormColor();
     fc.DT = dt;
     fc.ID =  MIS.ProgUID;
     fc.For = type;
     if (fc.ShowDialog() == DialogResult.OK)
         RefreshChart();
 }