資料已經系結到控制元件了,現在想點擊按鈕獲取系結到控制元件里的值(選中狀態的)。怎么處理呢,研究半天沒明白。
系結的代碼如下:
for (int i = 0; i < list.Count; i++)
{
Appointment app = new DevExpress.XtraScheduler.Appointment();
app.AllDay = false;
app.LabelId = 3;
//app.Location = list[i].f_ti_code;
app.Location = "";
app.Start = list[i].f_ti_implementtime.Value;
app.End = app.Start;
app.Subject = list[i].f_ti_name + " " + list[i].f_ti_implementtime.Value.ToString("HH:mm");
// app.StatusId = 1;
app.Description = list[i].pkid;
//整天設定成true 否則顯示開始結束時間
app.AllDay = true;
schedulerStorage1.Appointments.Add(app);
}
uj5u.com熱心網友回復:
https://documentation.devexpress.com/WindowsForms/DevExpress.XtraScheduler.SchedulerControl.members 只能看它的屬性串列了uj5u.com熱心網友回復:
我看了自帶的DEMO,還是沒找到。我再看看吧,謝謝。
uj5u.com熱心網友回復:
DEV繪制的甘特圖如何列印出來也是甘特圖樣式?轉載請註明出處,本文鏈接:https://www.uj5u.com/net/60506.html
標籤:C#
上一篇:.net core 專案+jenkins+git+docker實作自動化部署
下一篇:mschart中文顯示亂碼
