Пример #1
0
        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();
            }
        }
Пример #2
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();
            }
        }
Пример #3
0
        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();
            }
        }