Néhány fordítás + WIN-WEB keveredés ...
This commit is contained in:
@@ -6,14 +6,14 @@ using DevExpress.ExpressApp;
|
||||
using DevExpress.ExpressApp.Actions;
|
||||
using DevExpress.ExpressApp.Xpo;
|
||||
using Nuvolar.Module.BusinessObjects;
|
||||
using Nuvolar.Module.Win;
|
||||
//using Nuvolar.Module.Win;
|
||||
|
||||
namespace Nuvolar.Module.Controllers
|
||||
{
|
||||
// For more typical usage scenarios, be sure to check out https://documentation.devexpress.com/eXpressAppFramework/clsDevExpressExpressAppViewControllertopic.aspx.
|
||||
public partial class NewCustomersFromVC : ViewController
|
||||
{
|
||||
private WaitFormClass _WaitFormClass;
|
||||
//private WaitFormClass _WaitFormClass;
|
||||
private XPObjectSpace _onew;
|
||||
private int _Counter = 0;
|
||||
public NewCustomersFromVC()
|
||||
@@ -24,7 +24,7 @@ namespace Nuvolar.Module.Controllers
|
||||
protected override void OnActivated()
|
||||
{
|
||||
base.OnActivated();
|
||||
_WaitFormClass = new WaitFormClass();
|
||||
//_WaitFormClass = new WaitFormClass();
|
||||
// Perform various tasks depending on the target View.
|
||||
}
|
||||
protected override void OnViewControlsCreated()
|
||||
@@ -102,11 +102,11 @@ namespace Nuvolar.Module.Controllers
|
||||
}
|
||||
private void NewCustomersFrom_FinalWork(object sender, WorkEventArgs e)
|
||||
{
|
||||
_WaitFormClass.FinalWork();
|
||||
//_WaitFormClass.FinalWork();
|
||||
}
|
||||
private void NewCustomersFrom_DoWork(object sender, WorkEventArgs e)
|
||||
{
|
||||
_WaitFormClass.DoWork();
|
||||
//_WaitFormClass.DoWork();
|
||||
_Counter++;
|
||||
|
||||
if (_Counter % 100 == 0)
|
||||
@@ -116,8 +116,8 @@ namespace Nuvolar.Module.Controllers
|
||||
}
|
||||
private void NewCustomersFrom_InitWork(object sender, WorkEventArgs e)
|
||||
{
|
||||
_WaitFormClass.Initwork(1, 1, e.Count);
|
||||
_WaitFormClass.Caption = e.Message;
|
||||
//_WaitFormClass.Initwork(1, 1, e.Count);
|
||||
//_WaitFormClass.Caption = e.Message;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user