Is this a precision error that I have to deal with, or is there a way to start playing the item precisely from 0.00, without delay? This is annoying me because I'm trying to have a single smooth progress bar, and it gets glitchy around the transitions, because of this time issue. zero, completion:) between the items, but this requires me to stop the playback for a short time, which I don't want - I want the items to play smoothly. I have checked with the system time and it's not a problem of the callback not being called during those 0.06s, it really starts at 0.06. but we start at 6 100th of a second instead of 0 ġ.191027518 // here the first item is playing and reaching its endĠ.068323045 // and here we switched to the second item. That is, if you print the time given by the addPeriodicTimeObserver method (here called every 100th of a second), you'll get something like this around the first transition. My problem is that, starting from the second item, the items are not played exactly from zero.
#Devexpress progress bar series#
(WaitFormCommand.I'm using AVQueuePlayer to play a series of recordings one after another. XtraMessageBox.Show(this, "No entries found")
#Devexpress progress bar code#
Here i'll try to get you correct approach:Īt first, the code for running search operation with WaitForm showing should looks like this: void OnRunSearchOperation_ButtonClick(object sender, EventArgs e) You should'not show/hide the WaitForm directly rather then use the SplashScreenManager API to show/hide and interact with WaitForm. The reason of the issue is incorrect usage of WaitForm instance. XtraMessageBox.Show(ex.Message.ToString() + " " + ex.Source.ToString(), Program.MessageBoxTitle, MessageBoxButtons.OK, MessageBoxIcon.Error) XtraMessageBox.Show("No Records(s) Found", Program.MessageBoxTitle, MessageBoxButtons.OK, MessageBoxIcon.Information) XtraMessageBox.Show("No Records(s) Found", Program.MessageBoxTitle, MessageBoxButtons.OK, MessageBoxIcon.Information) Obj_report.DataMember = "DMS_View_Payments" SelectionCriteria += " Both Active And Abort Cases" + ", " SelectionCriteria += " Active Cases" + ", " SelectionCriteria += " Abort Cases" + ", " SelectionCriteria += " Payment Confirmed='Y' And 'N'" + ", " SelectionCriteria += " Payment Confirmed='N'" + ", " Įlse if (radioPayment.SelectedIndex = 2) SelectionCriteria += " Payment Confirmed='Y'" + ", " Įlse if (radioPayment.SelectedIndex = 1) SelectionCriteria += " AccType: " + + ", " SelectionCriteria += " Collector: " + + ", " SelectionCriteria += " Branch: " + + ", " SelectionCriteria += " Batch: " + + ", " SelectionCriteria += " Client: " + + ", " Obj_ = "Payments From " + ("dd/MM/yyyy") + " To " + ("dd/MM/yyyy") XrtPaymentsDevx obj_report = new XrtPaymentsDevx() If (() != string.Empty)ĬommandText += " and v_clientid in (" + () + ")" ĬommandText += " and v_clientid in (" + Logs.UserLimitedClients + ")" + "' and '" + General.DateToDatabase(()) + "'" String CommandText = "select * from DMS_View_Payments where v_Paymentdate between '" + General.DateToDatabase(()) XtraMessageBox.Show("Start date should be less than End date", Program.MessageBoxTitle, MessageBoxButtons.OK, MessageBoxIcon.Error) XtraMessageBox.Show(ex.Message.ToString() + " " + ex.Source.ToString()) Ĭode for Showing Message Box private void btnshow_Click(object sender, EventArgs e) SetDescription(i.ToString() + "% Completed.") Int i = int.Parse(Math.Floor(double.Parse(())).ToString()) Private void progressBarControl1_EditValueChanged(object sender, EventArgs e) Public override void ProcessCommand(Enum cmd, object arg) Public override void SetDescription(string description) Public override void SetCaption(string caption) Public partial class ProgressBar : WaitForm When i click search button on my form,the progress bar displays percentage and then grid will be bind with records.Īnd when it returns no records, message box will appear after progress bar like "No Records Found"īut after showing No records found,it is closing automatically with out clicking OK or CANCEL button on messagebox I have a Devexpress form which is having Progress bar and MessageBox.