private void barButtonItem4_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { FormColor fc = new FormColor(); fc.DT = dataTable; fc.ID = forecastReport.ID.ToString(); fc.For = typeFlag; if (fc.ShowDialog() == DialogResult.OK) { RefreshChart(); } }
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(); } }
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(); } }