C1MultiDocument 的LongOperation事件怎麼樣才能觸發?
我寫代碼邦定這個事件結果沒有觸發
mdoc.LongOperation += (ss, ee) =>
{
pf.SetProgress(string.Format("Generating C1MultiDocument, {0} complete...", ee.Complete), (float)ee.Complete);
if (pf.Cancelled && mdoc.BusyState == BusyStateEnum.Generating)
mdoc.Cancel = true;
}; |
|