Esempio n. 1
0
 protected virtual void Export_ProgressEx(object sender, DevExpress.XtraPrinting.ChangeEventArgs e)
 {
     if (e.EventName == DevExpress.XtraPrinting.SR.ProgressPositionChanged)
     {
         int pos = (int)e.ValueOf(DevExpress.XtraPrinting.SR.ProgressPosition);
         progressForm.SetProgressValue(pos);
     }
 }
        void PrintingSystem_AfterChange(object sender, DevExpress.XtraPrinting.ChangeEventArgs e)
        {
            switch (e.EventName)
            {
            case "BrickMove":
                return;

            case "PageSettingsChanged":
            case "AfterMarginsChange":
                sbTotal.Caption = "Total Halaman: " +
                                  printControl1.PrintingSystem.Pages.Count;
                ribbonStatusBar1.Refresh();
                break;
            }
        }