-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[NEW-FEATURE] Posibility to close any dialog at init (#698)
* Create draft PR for #697 * + reopen dialogs after restart application (TcoDialog,TcoInspector) + posibilty to close all dialog by restore methods (TcoDialog,TcoInspector) --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Peter Barancek <[email protected]>
- Loading branch information
1 parent
e3684de
commit bfaf92a
Showing
24 changed files
with
225 additions
and
99 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
src/TcoCore/src/TcoCoreConnector/pex/TcoDialog/TcoCustomizedDialog.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
using TcOpen.Inxton.Dialogs; | ||
using Vortex.Connector; | ||
|
||
namespace TcoCore | ||
{ | ||
public partial class TcoCustomizedDialog : IsDialog | ||
{ | ||
public new void ShowAgainIfInvoked() | ||
{ | ||
this.Read(); | ||
if ((eDialogAnswer)this._answer.LastValue == eDialogAnswer.Invoked) | ||
{ | ||
this._restoreRequest.Synchron = true; | ||
} | ||
} | ||
} | ||
} |
22 changes: 22 additions & 0 deletions
22
src/TcoCore/src/TcoCoreConnector/pex/TcoDialog/TcoDialog.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
using TcOpen.Inxton.Dialogs; | ||
using Vortex.Connector; | ||
|
||
namespace TcoCore | ||
{ | ||
public partial class TcoDialog : IsDialog | ||
{ | ||
public new void ShowAgainIfInvoked() | ||
{ | ||
this.Read(); | ||
if ((eDialogAnswer)this._answer.LastValue == eDialogAnswer.Invoked) | ||
{ | ||
this._restoreRequest.Synchron = true; | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
src/TcoInspectors/src/TcoInspectorsConnector/pex/TcoInspectorDialog.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
using TcoCore; | ||
using TcOpen.Inxton.Dialogs; | ||
using Vortex.Connector; | ||
|
||
namespace TcoInspectors | ||
{ | ||
public partial class TcoInspectorDialog : IsDialog | ||
{ | ||
public new void ShowAgainIfInvoked() | ||
{ | ||
this.Read(); | ||
if (this._isInvoked.LastValue) | ||
{ | ||
this._restoreRequest.Synchron = true; | ||
} | ||
} | ||
} | ||
|
||
} |
Oops, something went wrong.