我让这个密封的类表示视图状态 sealed class ViewState<out ResultType>( data class Success<ResultType>(val data: ViewState<ResultType>() objectLoading : ViewState<Nothing>()
If Page.IsPostBack Then ViewState(5)put another if command or whatever else is possible to check if the buttong was clicked''
If ViewState(2) = ViewState(1) And ViewState(5)