C# Класс Prizm.Main.Forms.MainChildForm.PrizmApplicationXtraForm

Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
localizedNotificationPanelButton List

Открытые методы

Метод Описание
HideProcessing ( ) : void

Hide wait form, when UI thread will be responsible again

IncProcessingState ( ) : void

SavePipeState progress on wait form, should be called on each processing step of the long processing with known number of steps. To init progress on the wait form you should previously call ShowProcessing(, , steps)

InvokeIfRequired ( Control control, Action method ) : void
PrizmApplicationXtraForm ( ) : System
ShowError ( string text, string header ) : void

Error message that requires user confirmation (OK)

ShowFailure ( string text, string header ) : void

Message about failure, that doesn't require user confirmation.

ShowInfo ( string text, string header ) : void

Informational message that requires user confirmation (OK)

ShowNotify ( string text, string header ) : void

Informational message, that doesn't require user confirmation.

ShowProcessing ( string text = "", string header = "", int steps ) : void

Show wait form. Call it at times when UI thread will be unresponsible For now used 1. on Executing commands through the CommandManager 2. when creating and showing child forms

ShowSuccess ( string text, string header ) : void

Message about success, that doesn't require user confirmation.

ShowWarning ( string text, string header ) : void

Warning message that requires user confirmation (OK)

ShowWindow ( ) : void
ShowYesNo ( string text, string header ) : bool

Message that requires user confirmation or denial (yes/no)

ShowYesNoCancel ( string text, string header ) : int

Message that requires user confirmation, denial or operation cancellation (yes/no/cancel) Now is not used. In case of using to avoid problems with localization it is better to create own dialog form, similar to YesNoDialog

UpdateStatusBar ( string text ) : void
UpdateTitle ( ) : void

Защищенные методы

Метод Описание
CreateLocalizedItems ( ) : List
Dispose ( bool disposing ) : void

Clean up any resources being used.

WndProc ( Message &message ) : void

Приватные методы

Метод Описание
CascadeChangeLanguage ( ) : void

Main window will modify own text according to current language, and impel it's children to do so.

CreateLanguageBarListItem ( ) : void
GetNewAppWaitForm ( ) : AppWaitForm
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

OnNotificationRefresh ( object sender, EventArgs e ) : void

SavePipeState count system notification on status bar

PrizmApplicationXtraForm_FormClosed ( object sender, FormClosedEventArgs e ) : void
PrizmApplicationXtraForm_Load ( object sender, EventArgs e ) : void
ProvideAccessToMenuItems ( ) : void
ShowNotificationForm ( ) : void
StatusNotifyText ( string text ) : void
UpdateNumberOfNotification ( ) : void
barButtonItemAbout_ItemClick ( object sender, ItemClickEventArgs e ) : void
barButtonItemAudit_ItemClick_1 ( object sender, ItemClickEventArgs e ) : void
barButtonItemComponentry_ItemClick ( object sender, ItemClickEventArgs e ) : void
barButtonItemConstructionReports_ItemClick ( object sender, ItemClickEventArgs e ) : void
barButtonItemExit_ItemClick ( object sender, ItemClickEventArgs e ) : void
barButtonItemExport_ItemClick ( object sender, ItemClickEventArgs e ) : void
barButtonItemFindEditJoints_ItemClick ( object sender, ItemClickEventArgs e ) : void
barButtonItemFindEditParts_ItemClick ( object sender, ItemClickEventArgs e ) : void
barButtonItemFindEditShipRailcars_ItemClick ( object sender, ItemClickEventArgs e ) : void
barButtonItemImport_ItemClick ( object sender, ItemClickEventArgs e ) : void
barButtonItemInspectionFindEditPipes_ItemClick ( object sender, ItemClickEventArgs e ) : void
barButtonItemInspectionReports_ItemClick ( object sender, ItemClickEventArgs e ) : void
barButtonItemMillFindEditPipes_ItemClick ( object sender, ItemClickEventArgs e ) : void
barButtonItemMillReports_ItemClick ( object sender, ItemClickEventArgs e ) : void
barButtonItemNewComponent_ItemClick ( object sender, ItemClickEventArgs e ) : void
barButtonItemNewJoint_ItemClick ( object sender, ItemClickEventArgs e ) : void
barButtonItemNewPipe_ItemClick ( object sender, ItemClickEventArgs e ) : void
barButtonItemNewRailcar_ItemClick ( object sender, ItemClickEventArgs e ) : void
barButtonItemPartIncomingInspection_ItemClick ( object sender, ItemClickEventArgs e ) : void
barButtonItemRoles_ItemClick ( object sender, ItemClickEventArgs e ) : void
barButtonItemSettingsInspectors_ItemClick ( object sender, ItemClickEventArgs e ) : void
barButtonItemSettingsPipe_ItemClick ( object sender, ItemClickEventArgs e ) : void
barButtonItemSettingsPipeline_ItemClick ( object sender, ItemClickEventArgs e ) : void
barButtonItemSettingsProject_ItemClick ( object sender, ItemClickEventArgs e ) : void
barButtonItemSettingsUsers_ItemClick ( object sender, ItemClickEventArgs e ) : void
barButtonItemSettingsWelders_ItemClick ( object sender, ItemClickEventArgs e ) : void
barButtonItemSpool_ItemClick ( object sender, ItemClickEventArgs e ) : void
barButtonStatusNotifications_ItemClick ( object sender, ItemClickEventArgs e ) : void
btnHistoryExportImport_ItemClick ( object sender, ItemClickEventArgs e ) : void
importantMessages_ItemClick ( object sender, ItemClickEventArgs e ) : void
languageBarListItem_ListItemClick ( object sender, ListItemClickEventArgs e ) : void

On choosing language in main program menu

notifyBarStaticItem_ItemClick ( object sender, ItemClickEventArgs e ) : void
pipeConstructionRepoBarButton_ItemClick ( object sender, ItemClickEventArgs e ) : void
weldConstructionRepoBarButton_ItemClick ( object sender, ItemClickEventArgs e ) : void

Описание методов

CreateLocalizedItems() защищенный Метод

protected CreateLocalizedItems ( ) : List
Результат List

Dispose() защищенный Метод

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
Результат void

HideProcessing() публичный Метод

Hide wait form, when UI thread will be responsible again
public HideProcessing ( ) : void
Результат void

IncProcessingState() публичный Метод

SavePipeState progress on wait form, should be called on each processing step of the long processing with known number of steps. To init progress on the wait form you should previously call ShowProcessing(, , steps)
public IncProcessingState ( ) : void
Результат void

InvokeIfRequired() публичный Метод

public InvokeIfRequired ( Control control, Action method ) : void
control Control
method Action
Результат void

PrizmApplicationXtraForm() публичный Метод

public PrizmApplicationXtraForm ( ) : System
Результат System

ShowError() публичный Метод

Error message that requires user confirmation (OK)
public ShowError ( string text, string header ) : void
text string
header string
Результат void

ShowFailure() публичный Метод

Message about failure, that doesn't require user confirmation.
public ShowFailure ( string text, string header ) : void
text string message body
header string message header
Результат void

ShowInfo() публичный Метод

Informational message that requires user confirmation (OK)
public ShowInfo ( string text, string header ) : void
text string message body
header string message header
Результат void

ShowNotify() публичный Метод

Informational message, that doesn't require user confirmation.
public ShowNotify ( string text, string header ) : void
text string message body
header string message header
Результат void

ShowProcessing() публичный Метод

Show wait form. Call it at times when UI thread will be unresponsible For now used 1. on Executing commands through the CommandManager 2. when creating and showing child forms
public ShowProcessing ( string text = "", string header = "", int steps ) : void
text string message body, optional
header string message header, optional
steps int overall steps provide to show progress bar, and on each step call IncProcessingState(), optional
Результат void

ShowSuccess() публичный Метод

Message about success, that doesn't require user confirmation.
public ShowSuccess ( string text, string header ) : void
text string message body
header string message header
Результат void

ShowWarning() публичный Метод

Warning message that requires user confirmation (OK)
public ShowWarning ( string text, string header ) : void
text string message body
header string message header
Результат void

ShowWindow() публичный Метод

public ShowWindow ( ) : void
Результат void

ShowYesNo() публичный Метод

Message that requires user confirmation or denial (yes/no)
public ShowYesNo ( string text, string header ) : bool
text string message body
header string message header
Результат bool

ShowYesNoCancel() публичный Метод

Message that requires user confirmation, denial or operation cancellation (yes/no/cancel) Now is not used. In case of using to avoid problems with localization it is better to create own dialog form, similar to YesNoDialog
public ShowYesNoCancel ( string text, string header ) : int
text string message body
header string message header
Результат int

UpdateStatusBar() публичный Метод

public UpdateStatusBar ( string text ) : void
text string
Результат void

UpdateTitle() публичный Метод

public UpdateTitle ( ) : void
Результат void

WndProc() защищенный Метод

protected WndProc ( Message &message ) : void
message Message
Результат void

Описание свойств

localizedNotificationPanelButton защищенное свойство

protected List localizedNotificationPanelButton
Результат List