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
include( ../common.pri ) | |
TEMPLATE = app | |
SOURCES += main.cpp | |
LIBS += -L../logic -llogic \ | |
-L../gui -lgui | |
# Will build the final executable in the main project directory. |
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
class Client | |
{ | |
public static TClient CreateInst<TClient, TInterface>(string url, string domain, string username, string password) | |
where TClient : System.ServiceModel.ClientBase<TInterface> | |
where TInterface : class | |
{ | |
BasicHttpBinding binding = new BasicHttpBinding(); | |
binding.Security.Mode = BasicHttpSecurityMode.TransportWithMessageCredential; | |
binding.Security.Transport.ClientCredentialType = HttpClientCredentialType.Windows; |
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
.arrow { | |
height: 15px; | |
width: 0px; | |
border-top: 15px solid rgba(0,0,0,0.75); | |
border-right: 15px solid transparent; | |
border-left: 15px solid transparent; | |
bottom: -15px; | |
content: ''; | |
display: block; | |
} |
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
$.fn.serializeObject = function() | |
{ | |
var o = {}; | |
var a = this.serializeArray(); | |
$.each(a, function() { | |
if (o[this.name]) { | |
if (!o[this.name].push) { | |
o[this.name] = [o[this.name]]; | |
} | |
o[this.name].push(this.value || ''); |
NewerOlder