Commit for development environment setup

This commit is contained in:
2023-06-19 16:12:33 -04:00
parent be72063a3c
commit bbce2ad0a6
2209 changed files with 1171775 additions and 625 deletions

View File

@@ -0,0 +1,667 @@
namespace PTServiceClient
{
partial class MainForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
System.Windows.Forms.Label DescriptionLabel;
System.Windows.Forms.Label EndedLabel;
System.Windows.Forms.Label StartedLabel;
System.Windows.Forms.Label NameLabel;
System.Windows.Forms.Label IdLabel;
System.Windows.Forms.Label NameLabel3;
System.Windows.Forms.Label IdLabel4;
System.Windows.Forms.Label NameLabel1;
System.Windows.Forms.Label IdLabel2;
this.Label3 = new System.Windows.Forms.Label();
this.Label2 = new System.Windows.Forms.Label();
this.Label1 = new System.Windows.Forms.Label();
this.Label5 = new System.Windows.Forms.Label();
this.Label4 = new System.Windows.Forms.Label();
this.NameLabel2 = new System.Windows.Forms.Label();
this.ProjectDataBindingSource = new System.Windows.Forms.BindingSource(this.components);
this.AssignToProjectButton = new System.Windows.Forms.Button();
this.NameLabel4 = new System.Windows.Forms.Label();
this.ResourceDataBindingSource = new System.Windows.Forms.BindingSource(this.components);
this.GroupBox1 = new System.Windows.Forms.GroupBox();
this.ProjectResourcesDataGridView = new System.Windows.Forms.DataGridView();
this.RoleDataBindingSource = new System.Windows.Forms.BindingSource(this.components);
this.ProjectResourcesBindingSource = new System.Windows.Forms.BindingSource(this.components);
this.ProjectDetailBindingSource = new System.Windows.Forms.BindingSource(this.components);
this.ClearProjectButton = new System.Windows.Forms.Button();
this.SaveProjectButton = new System.Windows.Forms.Button();
this.DescriptionTextBox = new System.Windows.Forms.TextBox();
this.EndedTextBox = new System.Windows.Forms.TextBox();
this.StartedTextBox = new System.Windows.Forms.TextBox();
this.NameTextBox = new System.Windows.Forms.TextBox();
this.IdLabel1 = new System.Windows.Forms.Label();
this.ResourceIdLabel = new System.Windows.Forms.Label();
this.ProjectIdLabel = new System.Windows.Forms.Label();
this.GroupBox2 = new System.Windows.Forms.GroupBox();
this.RoleInfoDataGridView = new System.Windows.Forms.DataGridView();
this.idDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.nameDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.ProjectDataDataGridView = new System.Windows.Forms.DataGridView();
this.DataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.DataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.ResourceDataDataGridView = new System.Windows.Forms.DataGridView();
this.DataGridViewTextBoxColumn6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.DataGridViewTextBoxColumn7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.label6 = new System.Windows.Forms.Label();
this.usernameTextBox = new System.Windows.Forms.TextBox();
this.label7 = new System.Windows.Forms.Label();
this.passwordTextBox = new System.Windows.Forms.TextBox();
this.DataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.DataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.DataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.DataGridViewTextBoxColumn10 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.DataGridViewTextBoxColumn11 = new System.Windows.Forms.DataGridViewComboBoxColumn();
DescriptionLabel = new System.Windows.Forms.Label();
EndedLabel = new System.Windows.Forms.Label();
StartedLabel = new System.Windows.Forms.Label();
NameLabel = new System.Windows.Forms.Label();
IdLabel = new System.Windows.Forms.Label();
NameLabel3 = new System.Windows.Forms.Label();
IdLabel4 = new System.Windows.Forms.Label();
NameLabel1 = new System.Windows.Forms.Label();
IdLabel2 = new System.Windows.Forms.Label();
((System.ComponentModel.ISupportInitialize)(this.ProjectDataBindingSource)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.ResourceDataBindingSource)).BeginInit();
this.GroupBox1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.ProjectResourcesDataGridView)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.RoleDataBindingSource)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.ProjectResourcesBindingSource)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.ProjectDetailBindingSource)).BeginInit();
this.GroupBox2.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.RoleInfoDataGridView)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.ProjectDataDataGridView)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.ResourceDataDataGridView)).BeginInit();
this.SuspendLayout();
//
// DescriptionLabel
//
DescriptionLabel.AutoSize = true;
DescriptionLabel.Location = new System.Drawing.Point(7, 148);
DescriptionLabel.Name = "DescriptionLabel";
DescriptionLabel.Size = new System.Drawing.Size(63, 13);
DescriptionLabel.TabIndex = 8;
DescriptionLabel.Text = "Description:";
//
// EndedLabel
//
EndedLabel.AutoSize = true;
EndedLabel.Location = new System.Drawing.Point(7, 117);
EndedLabel.Name = "EndedLabel";
EndedLabel.Size = new System.Drawing.Size(41, 13);
EndedLabel.TabIndex = 6;
EndedLabel.Text = "Ended:";
//
// StartedLabel
//
StartedLabel.AutoSize = true;
StartedLabel.Location = new System.Drawing.Point(7, 88);
StartedLabel.Name = "StartedLabel";
StartedLabel.Size = new System.Drawing.Size(44, 13);
StartedLabel.TabIndex = 4;
StartedLabel.Text = "Started:";
//
// NameLabel
//
NameLabel.AutoSize = true;
NameLabel.Location = new System.Drawing.Point(7, 59);
NameLabel.Name = "NameLabel";
NameLabel.Size = new System.Drawing.Size(38, 13);
NameLabel.TabIndex = 2;
NameLabel.Text = "Name:";
//
// IdLabel
//
IdLabel.AutoSize = true;
IdLabel.Location = new System.Drawing.Point(7, 30);
IdLabel.Name = "IdLabel";
IdLabel.Size = new System.Drawing.Size(19, 13);
IdLabel.TabIndex = 0;
IdLabel.Text = "Id:";
//
// NameLabel3
//
NameLabel3.AutoSize = true;
NameLabel3.Location = new System.Drawing.Point(9, 153);
NameLabel3.Name = "NameLabel3";
NameLabel3.Size = new System.Drawing.Size(38, 13);
NameLabel3.TabIndex = 7;
NameLabel3.Text = "Name:";
//
// IdLabel4
//
IdLabel4.AutoSize = true;
IdLabel4.Location = new System.Drawing.Point(9, 130);
IdLabel4.Name = "IdLabel4";
IdLabel4.Size = new System.Drawing.Size(19, 13);
IdLabel4.TabIndex = 5;
IdLabel4.Text = "Id:";
//
// NameLabel1
//
NameLabel1.AutoSize = true;
NameLabel1.Location = new System.Drawing.Point(7, 68);
NameLabel1.Name = "NameLabel1";
NameLabel1.Size = new System.Drawing.Size(38, 13);
NameLabel1.TabIndex = 2;
NameLabel1.Text = "Name:";
//
// IdLabel2
//
IdLabel2.AutoSize = true;
IdLabel2.Location = new System.Drawing.Point(9, 44);
IdLabel2.Name = "IdLabel2";
IdLabel2.Size = new System.Drawing.Size(19, 13);
IdLabel2.TabIndex = 0;
IdLabel2.Text = "Id:";
//
// Label3
//
this.Label3.AutoSize = true;
this.Label3.Location = new System.Drawing.Point(596, 93);
this.Label3.Name = "Label3";
this.Label3.Size = new System.Drawing.Size(34, 13);
this.Label3.TabIndex = 13;
this.Label3.Text = "Roles";
//
// Label2
//
this.Label2.AutoSize = true;
this.Label2.Location = new System.Drawing.Point(293, 93);
this.Label2.Name = "Label2";
this.Label2.Size = new System.Drawing.Size(204, 13);
this.Label2.TabIndex = 12;
this.Label2.Text = "Resources (double-click to change name)";
//
// Label1
//
this.Label1.AutoSize = true;
this.Label1.Location = new System.Drawing.Point(10, 93);
this.Label1.Name = "Label1";
this.Label1.Size = new System.Drawing.Size(45, 13);
this.Label1.TabIndex = 11;
this.Label1.Text = "Projects";
//
// Label5
//
this.Label5.AutoSize = true;
this.Label5.Location = new System.Drawing.Point(9, 109);
this.Label5.Name = "Label5";
this.Label5.Size = new System.Drawing.Size(56, 13);
this.Label5.TabIndex = 4;
this.Label5.Text = "Resource:";
//
// Label4
//
this.Label4.AutoSize = true;
this.Label4.Location = new System.Drawing.Point(9, 25);
this.Label4.Name = "Label4";
this.Label4.Size = new System.Drawing.Size(43, 13);
this.Label4.TabIndex = 4;
this.Label4.Text = "Project:";
//
// NameLabel2
//
this.NameLabel2.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.ProjectDataBindingSource, "Name", true));
this.NameLabel2.Location = new System.Drawing.Point(53, 68);
this.NameLabel2.Name = "NameLabel2";
this.NameLabel2.Size = new System.Drawing.Size(227, 23);
this.NameLabel2.TabIndex = 3;
//
// ProjectDataBindingSource
//
this.ProjectDataBindingSource.DataSource = typeof(PTServiceClient.PTService.ProjectData);
//
// AssignToProjectButton
//
this.AssignToProjectButton.Location = new System.Drawing.Point(196, 205);
this.AssignToProjectButton.Name = "AssignToProjectButton";
this.AssignToProjectButton.Size = new System.Drawing.Size(75, 23);
this.AssignToProjectButton.TabIndex = 9;
this.AssignToProjectButton.Text = "Assign";
this.AssignToProjectButton.UseVisualStyleBackColor = true;
this.AssignToProjectButton.Click += new System.EventHandler(this.AssignToProjectButton_Click);
//
// NameLabel4
//
this.NameLabel4.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.ResourceDataBindingSource, "Name", true));
this.NameLabel4.Location = new System.Drawing.Point(53, 153);
this.NameLabel4.Name = "NameLabel4";
this.NameLabel4.Size = new System.Drawing.Size(218, 23);
this.NameLabel4.TabIndex = 8;
//
// ResourceDataBindingSource
//
this.ResourceDataBindingSource.DataSource = typeof(PTServiceClient.PTService.ResourceData);
//
// GroupBox1
//
this.GroupBox1.Controls.Add(this.ProjectResourcesDataGridView);
this.GroupBox1.Controls.Add(this.ClearProjectButton);
this.GroupBox1.Controls.Add(this.SaveProjectButton);
this.GroupBox1.Controls.Add(DescriptionLabel);
this.GroupBox1.Controls.Add(this.DescriptionTextBox);
this.GroupBox1.Controls.Add(EndedLabel);
this.GroupBox1.Controls.Add(this.EndedTextBox);
this.GroupBox1.Controls.Add(StartedLabel);
this.GroupBox1.Controls.Add(this.StartedTextBox);
this.GroupBox1.Controls.Add(NameLabel);
this.GroupBox1.Controls.Add(this.NameTextBox);
this.GroupBox1.Controls.Add(IdLabel);
this.GroupBox1.Controls.Add(this.IdLabel1);
this.GroupBox1.Location = new System.Drawing.Point(10, 335);
this.GroupBox1.Name = "GroupBox1";
this.GroupBox1.Size = new System.Drawing.Size(583, 282);
this.GroupBox1.TabIndex = 14;
this.GroupBox1.TabStop = false;
this.GroupBox1.Text = "Project";
//
// ProjectResourcesDataGridView
//
this.ProjectResourcesDataGridView.AllowUserToAddRows = false;
this.ProjectResourcesDataGridView.AllowUserToDeleteRows = false;
this.ProjectResourcesDataGridView.AutoGenerateColumns = false;
this.ProjectResourcesDataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.DataGridViewTextBoxColumn4,
this.DataGridViewTextBoxColumn3,
this.DataGridViewTextBoxColumn5,
this.DataGridViewTextBoxColumn10,
this.DataGridViewTextBoxColumn11});
this.ProjectResourcesDataGridView.DataSource = this.ProjectResourcesBindingSource;
this.ProjectResourcesDataGridView.Location = new System.Drawing.Point(257, 56);
this.ProjectResourcesDataGridView.MultiSelect = false;
this.ProjectResourcesDataGridView.Name = "ProjectResourcesDataGridView";
this.ProjectResourcesDataGridView.ReadOnly = true;
this.ProjectResourcesDataGridView.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
this.ProjectResourcesDataGridView.Size = new System.Drawing.Size(313, 220);
this.ProjectResourcesDataGridView.TabIndex = 12;
//
// RoleDataBindingSource
//
this.RoleDataBindingSource.DataSource = typeof(PTServiceClient.PTService.RoleInfo);
//
// ProjectResourcesBindingSource
//
this.ProjectResourcesBindingSource.DataMember = "ProjectResources";
this.ProjectResourcesBindingSource.DataSource = this.ProjectDetailBindingSource;
//
// ProjectDetailBindingSource
//
this.ProjectDetailBindingSource.DataSource = typeof(PTServiceClient.PTService.ProjectData);
//
// ClearProjectButton
//
this.ClearProjectButton.Location = new System.Drawing.Point(95, 253);
this.ClearProjectButton.Name = "ClearProjectButton";
this.ClearProjectButton.Size = new System.Drawing.Size(75, 23);
this.ClearProjectButton.TabIndex = 11;
this.ClearProjectButton.Text = "Clear";
this.ClearProjectButton.UseVisualStyleBackColor = true;
this.ClearProjectButton.Click += new System.EventHandler(this.ClearProjectButton_Click);
//
// SaveProjectButton
//
this.SaveProjectButton.Location = new System.Drawing.Point(176, 253);
this.SaveProjectButton.Name = "SaveProjectButton";
this.SaveProjectButton.Size = new System.Drawing.Size(75, 23);
this.SaveProjectButton.TabIndex = 10;
this.SaveProjectButton.Text = "Save";
this.SaveProjectButton.UseVisualStyleBackColor = true;
this.SaveProjectButton.Click += new System.EventHandler(this.SaveProjectButton_Click);
//
// DescriptionTextBox
//
this.DescriptionTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.ProjectDetailBindingSource, "Description", true));
this.DescriptionTextBox.Location = new System.Drawing.Point(76, 145);
this.DescriptionTextBox.Multiline = true;
this.DescriptionTextBox.Name = "DescriptionTextBox";
this.DescriptionTextBox.ScrollBars = System.Windows.Forms.ScrollBars.Both;
this.DescriptionTextBox.Size = new System.Drawing.Size(175, 102);
this.DescriptionTextBox.TabIndex = 9;
//
// EndedTextBox
//
this.EndedTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.ProjectDetailBindingSource, "Ended", true));
this.EndedTextBox.Location = new System.Drawing.Point(76, 114);
this.EndedTextBox.Name = "EndedTextBox";
this.EndedTextBox.Size = new System.Drawing.Size(175, 20);
this.EndedTextBox.TabIndex = 7;
//
// StartedTextBox
//
this.StartedTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.ProjectDetailBindingSource, "Started", true));
this.StartedTextBox.Location = new System.Drawing.Point(76, 85);
this.StartedTextBox.Name = "StartedTextBox";
this.StartedTextBox.Size = new System.Drawing.Size(175, 20);
this.StartedTextBox.TabIndex = 5;
//
// NameTextBox
//
this.NameTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.ProjectDetailBindingSource, "Name", true));
this.NameTextBox.Location = new System.Drawing.Point(76, 56);
this.NameTextBox.Name = "NameTextBox";
this.NameTextBox.Size = new System.Drawing.Size(175, 20);
this.NameTextBox.TabIndex = 3;
//
// IdLabel1
//
this.IdLabel1.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.ProjectDetailBindingSource, "Id", true));
this.IdLabel1.Location = new System.Drawing.Point(73, 30);
this.IdLabel1.Name = "IdLabel1";
this.IdLabel1.Size = new System.Drawing.Size(175, 23);
this.IdLabel1.TabIndex = 1;
//
// ResourceIdLabel
//
this.ResourceIdLabel.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.ResourceDataBindingSource, "Id", true));
this.ResourceIdLabel.Location = new System.Drawing.Point(53, 130);
this.ResourceIdLabel.Name = "ResourceIdLabel";
this.ResourceIdLabel.Size = new System.Drawing.Size(218, 23);
this.ResourceIdLabel.TabIndex = 6;
//
// ProjectIdLabel
//
this.ProjectIdLabel.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.ProjectDataBindingSource, "Id", true));
this.ProjectIdLabel.Location = new System.Drawing.Point(53, 44);
this.ProjectIdLabel.Name = "ProjectIdLabel";
this.ProjectIdLabel.Size = new System.Drawing.Size(227, 23);
this.ProjectIdLabel.TabIndex = 1;
//
// GroupBox2
//
this.GroupBox2.Controls.Add(this.AssignToProjectButton);
this.GroupBox2.Controls.Add(NameLabel3);
this.GroupBox2.Controls.Add(this.NameLabel4);
this.GroupBox2.Controls.Add(IdLabel4);
this.GroupBox2.Controls.Add(this.ResourceIdLabel);
this.GroupBox2.Controls.Add(this.Label5);
this.GroupBox2.Controls.Add(this.Label4);
this.GroupBox2.Controls.Add(NameLabel1);
this.GroupBox2.Controls.Add(this.NameLabel2);
this.GroupBox2.Controls.Add(IdLabel2);
this.GroupBox2.Controls.Add(this.ProjectIdLabel);
this.GroupBox2.Location = new System.Drawing.Point(600, 335);
this.GroupBox2.Name = "GroupBox2";
this.GroupBox2.Size = new System.Drawing.Size(300, 282);
this.GroupBox2.TabIndex = 15;
this.GroupBox2.TabStop = false;
this.GroupBox2.Text = "Add assignment";
//
// RoleInfoDataGridView
//
this.RoleInfoDataGridView.AutoGenerateColumns = false;
this.RoleInfoDataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.idDataGridViewTextBoxColumn,
this.nameDataGridViewTextBoxColumn});
this.RoleInfoDataGridView.DataSource = this.RoleDataBindingSource;
this.RoleInfoDataGridView.Location = new System.Drawing.Point(599, 109);
this.RoleInfoDataGridView.MultiSelect = false;
this.RoleInfoDataGridView.Name = "RoleInfoDataGridView";
this.RoleInfoDataGridView.ReadOnly = true;
this.RoleInfoDataGridView.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
this.RoleInfoDataGridView.Size = new System.Drawing.Size(300, 220);
this.RoleInfoDataGridView.TabIndex = 10;
//
// idDataGridViewTextBoxColumn
//
this.idDataGridViewTextBoxColumn.DataPropertyName = "Id";
this.idDataGridViewTextBoxColumn.HeaderText = "Id";
this.idDataGridViewTextBoxColumn.Name = "idDataGridViewTextBoxColumn";
this.idDataGridViewTextBoxColumn.ReadOnly = true;
//
// nameDataGridViewTextBoxColumn
//
this.nameDataGridViewTextBoxColumn.DataPropertyName = "Name";
this.nameDataGridViewTextBoxColumn.HeaderText = "Name";
this.nameDataGridViewTextBoxColumn.Name = "nameDataGridViewTextBoxColumn";
this.nameDataGridViewTextBoxColumn.ReadOnly = true;
//
// ProjectDataDataGridView
//
this.ProjectDataDataGridView.AutoGenerateColumns = false;
this.ProjectDataDataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.DataGridViewTextBoxColumn1,
this.DataGridViewTextBoxColumn2});
this.ProjectDataDataGridView.DataSource = this.ProjectDataBindingSource;
this.ProjectDataDataGridView.Location = new System.Drawing.Point(10, 109);
this.ProjectDataDataGridView.MultiSelect = false;
this.ProjectDataDataGridView.Name = "ProjectDataDataGridView";
this.ProjectDataDataGridView.ReadOnly = true;
this.ProjectDataDataGridView.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
this.ProjectDataDataGridView.Size = new System.Drawing.Size(277, 220);
this.ProjectDataDataGridView.TabIndex = 8;
this.ProjectDataDataGridView.SelectionChanged += new System.EventHandler(this.ProjectDataDataGridView_SelectionChanged);
//
// DataGridViewTextBoxColumn1
//
this.DataGridViewTextBoxColumn1.DataPropertyName = "Id";
this.DataGridViewTextBoxColumn1.HeaderText = "Id";
this.DataGridViewTextBoxColumn1.Name = "DataGridViewTextBoxColumn1";
this.DataGridViewTextBoxColumn1.ReadOnly = true;
//
// DataGridViewTextBoxColumn2
//
this.DataGridViewTextBoxColumn2.DataPropertyName = "Name";
this.DataGridViewTextBoxColumn2.HeaderText = "Name";
this.DataGridViewTextBoxColumn2.Name = "DataGridViewTextBoxColumn2";
this.DataGridViewTextBoxColumn2.ReadOnly = true;
//
// ResourceDataDataGridView
//
this.ResourceDataDataGridView.AutoGenerateColumns = false;
this.ResourceDataDataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.DataGridViewTextBoxColumn6,
this.DataGridViewTextBoxColumn7});
this.ResourceDataDataGridView.DataSource = this.ResourceDataBindingSource;
this.ResourceDataDataGridView.Location = new System.Drawing.Point(293, 109);
this.ResourceDataDataGridView.MultiSelect = false;
this.ResourceDataDataGridView.Name = "ResourceDataDataGridView";
this.ResourceDataDataGridView.ReadOnly = true;
this.ResourceDataDataGridView.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
this.ResourceDataDataGridView.Size = new System.Drawing.Size(300, 220);
this.ResourceDataDataGridView.TabIndex = 9;
this.ResourceDataDataGridView.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.ResourceDataDataGridView_CellDoubleClick);
//
// DataGridViewTextBoxColumn6
//
this.DataGridViewTextBoxColumn6.DataPropertyName = "Id";
this.DataGridViewTextBoxColumn6.HeaderText = "Id";
this.DataGridViewTextBoxColumn6.Name = "DataGridViewTextBoxColumn6";
this.DataGridViewTextBoxColumn6.ReadOnly = true;
//
// DataGridViewTextBoxColumn7
//
this.DataGridViewTextBoxColumn7.DataPropertyName = "Name";
this.DataGridViewTextBoxColumn7.HeaderText = "Name";
this.DataGridViewTextBoxColumn7.Name = "DataGridViewTextBoxColumn7";
this.DataGridViewTextBoxColumn7.ReadOnly = true;
//
// label6
//
this.label6.AutoSize = true;
this.label6.Location = new System.Drawing.Point(10, 21);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(58, 13);
this.label6.TabIndex = 16;
this.label6.Text = "Username:";
//
// usernameTextBox
//
this.usernameTextBox.Location = new System.Drawing.Point(70, 18);
this.usernameTextBox.Name = "usernameTextBox";
this.usernameTextBox.Size = new System.Drawing.Size(127, 20);
this.usernameTextBox.TabIndex = 17;
//
// label7
//
this.label7.AutoSize = true;
this.label7.Location = new System.Drawing.Point(10, 47);
this.label7.Name = "label7";
this.label7.Size = new System.Drawing.Size(56, 13);
this.label7.TabIndex = 18;
this.label7.Text = "Password:";
//
// passwordTextBox
//
this.passwordTextBox.Location = new System.Drawing.Point(70, 44);
this.passwordTextBox.Name = "passwordTextBox";
this.passwordTextBox.PasswordChar = '*';
this.passwordTextBox.Size = new System.Drawing.Size(127, 20);
this.passwordTextBox.TabIndex = 19;
//
// DataGridViewTextBoxColumn4
//
this.DataGridViewTextBoxColumn4.DataPropertyName = "ResourceId";
this.DataGridViewTextBoxColumn4.HeaderText = "ResourceId";
this.DataGridViewTextBoxColumn4.Name = "DataGridViewTextBoxColumn4";
this.DataGridViewTextBoxColumn4.ReadOnly = true;
this.DataGridViewTextBoxColumn4.Visible = false;
//
// DataGridViewTextBoxColumn3
//
this.DataGridViewTextBoxColumn3.DataPropertyName = "LastName";
this.DataGridViewTextBoxColumn3.HeaderText = "LastName";
this.DataGridViewTextBoxColumn3.Name = "DataGridViewTextBoxColumn3";
this.DataGridViewTextBoxColumn3.ReadOnly = true;
//
// DataGridViewTextBoxColumn5
//
this.DataGridViewTextBoxColumn5.DataPropertyName = "FirstName";
this.DataGridViewTextBoxColumn5.HeaderText = "FirstName";
this.DataGridViewTextBoxColumn5.Name = "DataGridViewTextBoxColumn5";
this.DataGridViewTextBoxColumn5.ReadOnly = true;
//
// DataGridViewTextBoxColumn10
//
this.DataGridViewTextBoxColumn10.DataPropertyName = "Assigned";
this.DataGridViewTextBoxColumn10.HeaderText = "Assigned";
this.DataGridViewTextBoxColumn10.Name = "DataGridViewTextBoxColumn10";
this.DataGridViewTextBoxColumn10.ReadOnly = true;
//
// DataGridViewTextBoxColumn11
//
this.DataGridViewTextBoxColumn11.DataPropertyName = "Role";
this.DataGridViewTextBoxColumn11.DataSource = this.RoleDataBindingSource;
this.DataGridViewTextBoxColumn11.DisplayMember = "Name";
this.DataGridViewTextBoxColumn11.HeaderText = "Role";
this.DataGridViewTextBoxColumn11.Name = "DataGridViewTextBoxColumn11";
this.DataGridViewTextBoxColumn11.ReadOnly = true;
this.DataGridViewTextBoxColumn11.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.DataGridViewTextBoxColumn11.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
this.DataGridViewTextBoxColumn11.ValueMember = "Id";
//
// MainForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(914, 638);
this.Controls.Add(this.passwordTextBox);
this.Controls.Add(this.label7);
this.Controls.Add(this.usernameTextBox);
this.Controls.Add(this.label6);
this.Controls.Add(this.Label3);
this.Controls.Add(this.Label2);
this.Controls.Add(this.Label1);
this.Controls.Add(this.GroupBox1);
this.Controls.Add(this.GroupBox2);
this.Controls.Add(this.RoleInfoDataGridView);
this.Controls.Add(this.ProjectDataDataGridView);
this.Controls.Add(this.ResourceDataDataGridView);
this.Name = "MainForm";
this.Text = "Project Tracker Client";
this.Load += new System.EventHandler(this.MainForm_Load);
((System.ComponentModel.ISupportInitialize)(this.ProjectDataBindingSource)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.ResourceDataBindingSource)).EndInit();
this.GroupBox1.ResumeLayout(false);
this.GroupBox1.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.ProjectResourcesDataGridView)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.RoleDataBindingSource)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.ProjectResourcesBindingSource)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.ProjectDetailBindingSource)).EndInit();
this.GroupBox2.ResumeLayout(false);
this.GroupBox2.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.RoleInfoDataGridView)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.ProjectDataDataGridView)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.ResourceDataDataGridView)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
internal System.Windows.Forms.Label Label3;
internal System.Windows.Forms.Label Label2;
internal System.Windows.Forms.Label Label1;
internal System.Windows.Forms.BindingSource RoleDataBindingSource;
internal System.Windows.Forms.BindingSource ProjectResourcesBindingSource;
internal System.Windows.Forms.BindingSource ProjectDetailBindingSource;
internal System.Windows.Forms.Label Label5;
internal System.Windows.Forms.Label Label4;
internal System.Windows.Forms.Label NameLabel2;
internal System.Windows.Forms.BindingSource ProjectDataBindingSource;
internal System.Windows.Forms.Button AssignToProjectButton;
internal System.Windows.Forms.Label NameLabel4;
internal System.Windows.Forms.BindingSource ResourceDataBindingSource;
internal System.Windows.Forms.GroupBox GroupBox1;
internal System.Windows.Forms.DataGridView ProjectResourcesDataGridView;
internal System.Windows.Forms.Button ClearProjectButton;
internal System.Windows.Forms.Button SaveProjectButton;
internal System.Windows.Forms.TextBox DescriptionTextBox;
internal System.Windows.Forms.TextBox EndedTextBox;
internal System.Windows.Forms.TextBox StartedTextBox;
internal System.Windows.Forms.TextBox NameTextBox;
internal System.Windows.Forms.Label IdLabel1;
internal System.Windows.Forms.Label ResourceIdLabel;
internal System.Windows.Forms.Label ProjectIdLabel;
internal System.Windows.Forms.GroupBox GroupBox2;
internal System.Windows.Forms.DataGridViewTextBoxColumn DataGridViewTextBoxColumn1;
internal System.Windows.Forms.DataGridView RoleInfoDataGridView;
internal System.Windows.Forms.DataGridView ProjectDataDataGridView;
internal System.Windows.Forms.DataGridViewTextBoxColumn DataGridViewTextBoxColumn2;
internal System.Windows.Forms.DataGridViewTextBoxColumn DataGridViewTextBoxColumn6;
internal System.Windows.Forms.DataGridView ResourceDataDataGridView;
internal System.Windows.Forms.DataGridViewTextBoxColumn DataGridViewTextBoxColumn7;
private System.Windows.Forms.DataGridViewTextBoxColumn idDataGridViewTextBoxColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn nameDataGridViewTextBoxColumn;
private System.Windows.Forms.Label label6;
private System.Windows.Forms.TextBox usernameTextBox;
private System.Windows.Forms.Label label7;
private System.Windows.Forms.TextBox passwordTextBox;
private System.Windows.Forms.DataGridViewTextBoxColumn DataGridViewTextBoxColumn4;
private System.Windows.Forms.DataGridViewTextBoxColumn DataGridViewTextBoxColumn3;
private System.Windows.Forms.DataGridViewTextBoxColumn DataGridViewTextBoxColumn5;
private System.Windows.Forms.DataGridViewTextBoxColumn DataGridViewTextBoxColumn10;
private System.Windows.Forms.DataGridViewComboBoxColumn DataGridViewTextBoxColumn11;
}
}

View File

@@ -0,0 +1,151 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using PTServiceClient;
namespace PTServiceClient
{
public partial class MainForm : Form
{
public MainForm()
{
InitializeComponent();
}
private void MainForm_Load(object sender, EventArgs e)
{
using (PTService.PTService svc = new PTService.PTService())
{
this.ProjectDataBindingSource.DataSource =
svc.GetProjectList();
this.ResourceDataBindingSource.DataSource =
svc.GetResourceList();
this.RoleDataBindingSource.DataSource =
svc.GetRoles();
}
}
private void ProjectDataDataGridView_SelectionChanged(object sender, EventArgs e)
{
if (this.ProjectDataDataGridView.SelectedRows.Count > 0)
{
string projectId = this.ProjectDataDataGridView.SelectedRows[0].Cells[0].Value.ToString();
if (projectId != this.IdLabel1.Text)
{
using (PTService.PTService svc = new PTService.PTService())
{
PTService.ProjectRequest request = new PTServiceClient.PTService.ProjectRequest();
request.Id = new Guid(projectId);
this.ProjectDetailBindingSource.DataSource = svc.GetProject(request);
}
}
}
}
private void SaveProjectButton_Click(object sender, EventArgs e)
{
using (PTService.PTService svc = new PTService.PTService())
{
SetCredentials(svc);
Guid id = new Guid(this.IdLabel1.Text);
if (Guid.Empty.Equals(id))
{
// adding
this.ProjectDetailBindingSource.DataSource =
svc.AddProject(
this.NameTextBox.Text,
this.StartedTextBox.Text,
this.EndedTextBox.Text,
this.DescriptionTextBox.Text);
}
else
{
// updating
this.ProjectDetailBindingSource.DataSource =
svc.EditProject(new Guid(this.IdLabel1.Text),
this.NameTextBox.Text,
this.StartedTextBox.Text,
this.EndedTextBox.Text,
this.DescriptionTextBox.Text);
}
// refresh project list
this.ProjectDataBindingSource.DataSource = svc.GetProjectList();
}
}
private void ClearProjectButton_Click(object sender, EventArgs e)
{
this.ProjectDetailBindingSource.Clear();
this.ProjectDetailBindingSource.AddNew();
}
private void AssignToProjectButton_Click(
object sender, EventArgs e)
{
if (this.ResourceIdLabel.Text.Trim().Length == 0)
MessageBox.Show(
"You must select a resource first", "Assign resource",
MessageBoxButtons.OK, MessageBoxIcon.Information);
if (this.ProjectIdLabel.Text.Trim().Length == 0 ||
Guid.Empty.Equals(new Guid(this.ProjectIdLabel.Text)))
MessageBox.Show(
"You must select a project first", "Assign resource",
MessageBoxButtons.OK, MessageBoxIcon.Information);
using (PTService.PTService svc = new PTService.PTService())
{
SetCredentials(svc);
try
{
// do the assignment
svc.AssignResource(
int.Parse(this.ResourceIdLabel.Text),
new Guid(this.ProjectIdLabel.Text));
// refresh the detail view
PTService.ProjectRequest request =
new PTServiceClient.PTService.ProjectRequest();
request.Id = new Guid(this.ProjectIdLabel.Text);
this.ProjectDetailBindingSource.DataSource =
svc.GetProject(request);
}
catch (Exception ex)
{
MessageBox.Show(ex.Message, "Assign resource",
MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
}
}
}
private void ResourceDataDataGridView_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
{
ResourceName dlg = new ResourceName(this.ResourceDataDataGridView.SelectedRows[0].Cells[0].Value.ToString(),
this.ResourceDataDataGridView.SelectedRows[0].Cells[1].Value.ToString());
if (dlg.ShowDialog() == DialogResult.OK)
{
using (PTService.PTService svc = new PTService.PTService())
{
SetCredentials(svc);
// save the changes
int resourceId = int.Parse(dlg.IdLabel1.Text);
string firstName = dlg.FirstNameTextBox.Text;
string lastName = dlg.LastNameTextBox.Text;
svc.ChangeResourceName(resourceId, firstName, lastName);
// refresh the resource list.
this.ResourceDataBindingSource.DataSource = svc.GetResourceList();
}
}
}
private void SetCredentials(PTService.PTService svc)
{
PTService.CslaCredentials credentials =
new PTService.CslaCredentials();
credentials.Username = usernameTextBox.Text;
credentials.Password = passwordTextBox.Text;
svc.CslaCredentialsValue = credentials;
}
}
}

View File

@@ -0,0 +1,162 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="DescriptionLabel.GenerateMember" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="EndedLabel.GenerateMember" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="StartedLabel.GenerateMember" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="NameLabel.GenerateMember" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="IdLabel.GenerateMember" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="NameLabel3.GenerateMember" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="IdLabel4.GenerateMember" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="NameLabel1.GenerateMember" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="IdLabel2.GenerateMember" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="ProjectDataBindingSource.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>375, 17</value>
</metadata>
<metadata name="ResourceDataBindingSource.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>184, 17</value>
</metadata>
<metadata name="RoleDataBindingSource.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<metadata name="ProjectResourcesBindingSource.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>555, 17</value>
</metadata>
<metadata name="ProjectDetailBindingSource.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>763, 17</value>
</metadata>
</root>

View File

@@ -0,0 +1,129 @@
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>8.0.50727</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{457C09F3-B15D-474F-A761-DC3419E745EF}</ProjectGuid>
<OutputType>WinExe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>PTServiceClient</RootNamespace>
<AssemblyName>PTServiceClient</AssemblyName>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Data" />
<Reference Include="System.Deployment" />
<Reference Include="System.Drawing" />
<Reference Include="System.EnterpriseServices" />
<Reference Include="System.Web.Services" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="MainForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="MainForm.Designer.cs">
<DependentUpon>MainForm.cs</DependentUpon>
</Compile>
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<EmbeddedResource Include="MainForm.resx">
<SubType>Designer</SubType>
<DependentUpon>MainForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="ResourceName.resx">
<SubType>Designer</SubType>
<DependentUpon>ResourceName.cs</DependentUpon>
</EmbeddedResource>
<Compile Include="Properties\Resources.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Resources.resx</DependentUpon>
</Compile>
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
</None>
<Compile Include="Properties\Settings.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Settings.settings</DependentUpon>
<DesignTimeSharedInput>True</DesignTimeSharedInput>
</Compile>
<Compile Include="ResourceName.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="ResourceName.Designer.cs">
<DependentUpon>ResourceName.cs</DependentUpon>
</Compile>
<Compile Include="Web References\PTService\Reference.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>Reference.map</DependentUpon>
</Compile>
</ItemGroup>
<ItemGroup>
<WebReferences Include="Web References\" />
</ItemGroup>
<ItemGroup>
<WebReferenceUrl Include="http://localhost/PTWebServicecs/PTService.asmx">
<UrlBehavior>Dynamic</UrlBehavior>
<RelPath>Web References\PTService\</RelPath>
<UpdateFromURL>http://localhost/PTWebServicecs/PTService.asmx</UpdateFromURL>
<ServiceLocationURL>
</ServiceLocationURL>
<CachedDynamicPropName>
</CachedDynamicPropName>
<CachedAppSettingsObjectName>Settings</CachedAppSettingsObjectName>
<CachedSettingsPropName>PTServiceClient_PTService_PTService</CachedSettingsPropName>
</WebReferenceUrl>
</ItemGroup>
<ItemGroup>
<None Include="app.config" />
<None Include="Web References\PTService\ProjectData.datasource">
<DependentUpon>Reference.map</DependentUpon>
</None>
<None Include="Web References\PTService\PTService.disco" />
<None Include="Web References\PTService\PTService.wsdl" />
<None Include="Web References\PTService\Reference.map">
<Generator>MSDiscoCodeGenerator</Generator>
<LastGenOutput>Reference.cs</LastGenOutput>
</None>
<None Include="Web References\PTService\ResourceData.datasource">
<DependentUpon>Reference.map</DependentUpon>
</None>
<None Include="Web References\PTService\RoleInfo.datasource">
<DependentUpon>Reference.map</DependentUpon>
</None>
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>

View File

@@ -0,0 +1,20 @@
using System;
using System.Collections.Generic;
using System.Windows.Forms;
namespace PTServiceClient
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new MainForm());
}
}
}

View File

@@ -0,0 +1,33 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("PTServiceClient")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("PTServiceClient")]
[assembly: AssemblyCopyright("Copyright © 2006")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("ffc67a41-6945-4a9a-83ab-9d0d88fe37d7")]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]

View File

@@ -0,0 +1,71 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.42
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace PTServiceClient.Properties
{
/// <summary>
/// A strongly-typed resource class, for looking up localized strings, etc.
/// </summary>
// This class was auto-generated by the StronglyTypedResourceBuilder
// class via a tool like ResGen or Visual Studio.
// To add or remove a member, edit your .ResX file then rerun ResGen
// with the /str option, or rebuild your VS project.
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "2.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class Resources
{
private static global::System.Resources.ResourceManager resourceMan;
private static global::System.Globalization.CultureInfo resourceCulture;
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal Resources()
{
}
/// <summary>
/// Returns the cached ResourceManager instance used by this class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager
{
get
{
if ((resourceMan == null))
{
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("PTServiceClient.Properties.Resources", typeof(Resources).Assembly);
resourceMan = temp;
}
return resourceMan;
}
}
/// <summary>
/// Overrides the current thread's CurrentUICulture property for all
/// resource lookups using this strongly typed resource class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture
{
get
{
return resourceCulture;
}
set
{
resourceCulture = value;
}
}
}
}

View File

@@ -0,0 +1,117 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

View File

@@ -0,0 +1,36 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.42
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace PTServiceClient.Properties {
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "8.0.0.0")]
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
public static Settings Default {
get {
return defaultInstance;
}
}
[global::System.Configuration.ApplicationScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.SpecialSettingAttribute(global::System.Configuration.SpecialSetting.WebServiceUrl)]
[global::System.Configuration.DefaultSettingValueAttribute("http://localhost/PTWebServicecs/PTService.asmx")]
public string PTServiceClient_PTService_PTService {
get {
return ((string)(this["PTServiceClient_PTService_PTService"]));
}
}
}
}

View File

@@ -0,0 +1,9 @@
<?xml version='1.0' encoding='utf-8'?>
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)" GeneratedClassNamespace="PTServiceClient.Properties" GeneratedClassName="Settings">
<Profiles />
<Settings>
<Setting Name="PTServiceClient_PTService_PTService" Type="(Web Service URL)" Scope="Application">
<Value Profile="(Default)">http://localhost/PTWebServicecs/PTService.asmx</Value>
</Setting>
</Settings>
</SettingsFile>

View File

@@ -0,0 +1,192 @@
namespace PTServiceClient
{
partial class ResourceName
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
System.Windows.Forms.Label NameLabel;
System.Windows.Forms.Label IdLabel;
this.Cancel_Button = new System.Windows.Forms.Button();
this.NameLabel1 = new System.Windows.Forms.Label();
this.OK_Button = new System.Windows.Forms.Button();
this.IdLabel1 = new System.Windows.Forms.Label();
this.LastNameTextBox = new System.Windows.Forms.TextBox();
this.Label2 = new System.Windows.Forms.Label();
this.FirstNameTextBox = new System.Windows.Forms.TextBox();
this.Label1 = new System.Windows.Forms.Label();
this.TableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
NameLabel = new System.Windows.Forms.Label();
IdLabel = new System.Windows.Forms.Label();
this.TableLayoutPanel1.SuspendLayout();
this.SuspendLayout();
//
// NameLabel
//
NameLabel.AutoSize = true;
NameLabel.Location = new System.Drawing.Point(10, 38);
NameLabel.Name = "NameLabel";
NameLabel.Size = new System.Drawing.Size(38, 13);
NameLabel.TabIndex = 15;
NameLabel.Text = "Name:";
//
// Cancel_Button
//
this.Cancel_Button.Anchor = System.Windows.Forms.AnchorStyles.None;
this.Cancel_Button.DialogResult = System.Windows.Forms.DialogResult.Cancel;
this.Cancel_Button.Location = new System.Drawing.Point(76, 3);
this.Cancel_Button.Name = "Cancel_Button";
this.Cancel_Button.Size = new System.Drawing.Size(67, 23);
this.Cancel_Button.TabIndex = 1;
this.Cancel_Button.Text = "Cancel";
this.Cancel_Button.Click += new System.EventHandler(this.Cancel_Button_Click);
//
// NameLabel1
//
this.NameLabel1.Location = new System.Drawing.Point(97, 38);
this.NameLabel1.Name = "NameLabel1";
this.NameLabel1.Size = new System.Drawing.Size(236, 23);
this.NameLabel1.TabIndex = 17;
//
// OK_Button
//
this.OK_Button.Anchor = System.Windows.Forms.AnchorStyles.None;
this.OK_Button.Location = new System.Drawing.Point(3, 3);
this.OK_Button.Name = "OK_Button";
this.OK_Button.Size = new System.Drawing.Size(67, 23);
this.OK_Button.TabIndex = 0;
this.OK_Button.Text = "OK";
this.OK_Button.Click += new System.EventHandler(this.OK_Button_Click);
//
// IdLabel
//
IdLabel.AutoSize = true;
IdLabel.Location = new System.Drawing.Point(10, 15);
IdLabel.Name = "IdLabel";
IdLabel.Size = new System.Drawing.Size(19, 13);
IdLabel.TabIndex = 14;
IdLabel.Text = "Id:";
//
// IdLabel1
//
this.IdLabel1.Location = new System.Drawing.Point(97, 15);
this.IdLabel1.Name = "IdLabel1";
this.IdLabel1.Size = new System.Drawing.Size(236, 23);
this.IdLabel1.TabIndex = 16;
//
// LastNameTextBox
//
this.LastNameTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.LastNameTextBox.Location = new System.Drawing.Point(100, 106);
this.LastNameTextBox.Name = "LastNameTextBox";
this.LastNameTextBox.Size = new System.Drawing.Size(244, 20);
this.LastNameTextBox.TabIndex = 13;
//
// Label2
//
this.Label2.AutoSize = true;
this.Label2.Location = new System.Drawing.Point(10, 109);
this.Label2.Name = "Label2";
this.Label2.Size = new System.Drawing.Size(59, 13);
this.Label2.TabIndex = 12;
this.Label2.Text = "Last name:";
//
// FirstNameTextBox
//
this.FirstNameTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.FirstNameTextBox.Location = new System.Drawing.Point(100, 80);
this.FirstNameTextBox.Name = "FirstNameTextBox";
this.FirstNameTextBox.Size = new System.Drawing.Size(244, 20);
this.FirstNameTextBox.TabIndex = 11;
//
// Label1
//
this.Label1.AutoSize = true;
this.Label1.Location = new System.Drawing.Point(10, 83);
this.Label1.Name = "Label1";
this.Label1.Size = new System.Drawing.Size(58, 13);
this.Label1.TabIndex = 10;
this.Label1.Text = "First name:";
//
// TableLayoutPanel1
//
this.TableLayoutPanel1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.TableLayoutPanel1.ColumnCount = 2;
this.TableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F));
this.TableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F));
this.TableLayoutPanel1.Controls.Add(this.OK_Button, 0, 0);
this.TableLayoutPanel1.Controls.Add(this.Cancel_Button, 1, 0);
this.TableLayoutPanel1.Location = new System.Drawing.Point(198, 148);
this.TableLayoutPanel1.Name = "TableLayoutPanel1";
this.TableLayoutPanel1.RowCount = 1;
this.TableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
this.TableLayoutPanel1.Size = new System.Drawing.Size(146, 29);
this.TableLayoutPanel1.TabIndex = 9;
//
// ResourceName
//
this.AcceptButton = this.OK_Button;
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.CancelButton = this.Cancel_Button;
this.ClientSize = new System.Drawing.Size(355, 193);
this.Controls.Add(NameLabel);
this.Controls.Add(this.NameLabel1);
this.Controls.Add(IdLabel);
this.Controls.Add(this.IdLabel1);
this.Controls.Add(this.LastNameTextBox);
this.Controls.Add(this.Label2);
this.Controls.Add(this.FirstNameTextBox);
this.Controls.Add(this.Label1);
this.Controls.Add(this.TableLayoutPanel1);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "ResourceName";
this.ShowInTaskbar = false;
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
this.Text = "ResourceName";
this.TableLayoutPanel1.ResumeLayout(false);
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
internal System.Windows.Forms.Button Cancel_Button;
internal System.Windows.Forms.Label NameLabel1;
internal System.Windows.Forms.Button OK_Button;
internal System.Windows.Forms.Label IdLabel1;
internal System.Windows.Forms.TextBox LastNameTextBox;
internal System.Windows.Forms.Label Label2;
internal System.Windows.Forms.TextBox FirstNameTextBox;
internal System.Windows.Forms.Label Label1;
internal System.Windows.Forms.TableLayoutPanel TableLayoutPanel1;
}
}

View File

@@ -0,0 +1,32 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace PTServiceClient
{
public partial class ResourceName : Form
{
public ResourceName(string id, string name)
{
InitializeComponent();
this.IdLabel1.Text = id;
this.NameLabel1.Text = name;
}
private void OK_Button_Click(object sender, EventArgs e)
{
this.DialogResult = DialogResult.OK;
this.Close();
}
private void Cancel_Button_Click(object sender, EventArgs e)
{
this.DialogResult = DialogResult.Cancel;
this.Close();
}
}
}

View File

@@ -0,0 +1,126 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="NameLabel.GenerateMember" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="IdLabel.GenerateMember" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
</root>

View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<discovery xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.xmlsoap.org/disco/">
<contractRef ref="http://localhost/PTWebServicecs/PTService.asmx?wsdl" docRef="http://localhost/PTWebServicecs/PTService.asmx" xmlns="http://schemas.xmlsoap.org/disco/scl/" />
<soap address="http://localhost/PTWebServicecs/PTService.asmx" xmlns:q1="http://ws.lhotka.net/" binding="q1:PTServiceSoap" xmlns="http://schemas.xmlsoap.org/disco/soap/" />
<soap address="http://localhost/PTWebServicecs/PTService.asmx" xmlns:q2="http://ws.lhotka.net/" binding="q2:PTServiceSoap12" xmlns="http://schemas.xmlsoap.org/disco/soap/" />
</discovery>

View File

@@ -0,0 +1,515 @@
<?xml version="1.0" encoding="utf-8"?>
<wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://ws.lhotka.net/" xmlns:s1="http://microsoft.com/wsdl/types/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" targetNamespace="http://ws.lhotka.net/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
<wsdl:types>
<s:schema elementFormDefault="qualified" targetNamespace="http://ws.lhotka.net/">
<s:import namespace="http://microsoft.com/wsdl/types/" />
<s:element name="GetProjectList">
<s:complexType />
</s:element>
<s:element name="GetProjectListResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="GetProjectListResult" type="tns:ArrayOfProjectData" />
</s:sequence>
</s:complexType>
</s:element>
<s:complexType name="ArrayOfProjectData">
<s:sequence>
<s:element minOccurs="0" maxOccurs="unbounded" name="ProjectData" nillable="true" type="tns:ProjectData" />
</s:sequence>
</s:complexType>
<s:complexType name="ProjectData">
<s:sequence>
<s:element minOccurs="1" maxOccurs="1" name="Id" type="s1:guid" />
<s:element minOccurs="0" maxOccurs="1" name="Name" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="Started" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="Ended" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="Description" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="ProjectResources" type="tns:ArrayOfProjectResourceData" />
</s:sequence>
</s:complexType>
<s:complexType name="ArrayOfProjectResourceData">
<s:sequence>
<s:element minOccurs="0" maxOccurs="unbounded" name="ProjectResourceData" nillable="true" type="tns:ProjectResourceData" />
</s:sequence>
</s:complexType>
<s:complexType name="ProjectResourceData">
<s:sequence>
<s:element minOccurs="1" maxOccurs="1" name="ResourceId" type="s:int" />
<s:element minOccurs="0" maxOccurs="1" name="FirstName" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="LastName" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="Assigned" type="s:string" />
<s:element minOccurs="1" maxOccurs="1" name="Role" type="s:int" />
</s:sequence>
</s:complexType>
<s:element name="GetProject">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="request" type="tns:ProjectRequest" />
</s:sequence>
</s:complexType>
</s:element>
<s:complexType name="ProjectRequest">
<s:sequence>
<s:element minOccurs="1" maxOccurs="1" name="Id" type="s1:guid" />
</s:sequence>
</s:complexType>
<s:element name="GetProjectResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="GetProjectResult" type="tns:ProjectData" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="AddProject">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="name" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="started" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="ended" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="description" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="AddProjectResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="AddProjectResult" type="tns:ProjectData" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="CslaCredentials" type="tns:CslaCredentials" />
<s:complexType name="CslaCredentials">
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="Username" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="Password" type="s:string" />
</s:sequence>
<s:anyAttribute />
</s:complexType>
<s:element name="EditProject">
<s:complexType>
<s:sequence>
<s:element minOccurs="1" maxOccurs="1" name="id" type="s1:guid" />
<s:element minOccurs="0" maxOccurs="1" name="name" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="started" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="ended" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="description" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="EditProjectResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="EditProjectResult" type="tns:ProjectData" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="GetResourceList">
<s:complexType />
</s:element>
<s:element name="GetResourceListResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="GetResourceListResult" type="tns:ArrayOfResourceData" />
</s:sequence>
</s:complexType>
</s:element>
<s:complexType name="ArrayOfResourceData">
<s:sequence>
<s:element minOccurs="0" maxOccurs="unbounded" name="ResourceData" nillable="true" type="tns:ResourceData" />
</s:sequence>
</s:complexType>
<s:complexType name="ResourceData">
<s:sequence>
<s:element minOccurs="1" maxOccurs="1" name="Id" type="s:int" />
<s:element minOccurs="0" maxOccurs="1" name="Name" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="ResourceAssignments" type="tns:ArrayOfResourceAssignmentData" />
</s:sequence>
</s:complexType>
<s:complexType name="ArrayOfResourceAssignmentData">
<s:sequence>
<s:element minOccurs="0" maxOccurs="unbounded" name="ResourceAssignmentData" nillable="true" type="tns:ResourceAssignmentData" />
</s:sequence>
</s:complexType>
<s:complexType name="ResourceAssignmentData">
<s:sequence>
<s:element minOccurs="1" maxOccurs="1" name="ProjectId" type="s1:guid" />
<s:element minOccurs="0" maxOccurs="1" name="ProjectName" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="Assigned" type="s:string" />
<s:element minOccurs="1" maxOccurs="1" name="Role" type="s:int" />
</s:sequence>
</s:complexType>
<s:element name="GetResource">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="request" type="tns:ResourceRequest" />
</s:sequence>
</s:complexType>
</s:element>
<s:complexType name="ResourceRequest">
<s:sequence>
<s:element minOccurs="1" maxOccurs="1" name="Id" type="s:int" />
</s:sequence>
</s:complexType>
<s:element name="GetResourceResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="GetResourceResult" type="tns:ResourceData" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="ChangeResourceName">
<s:complexType>
<s:sequence>
<s:element minOccurs="1" maxOccurs="1" name="id" type="s:int" />
<s:element minOccurs="0" maxOccurs="1" name="firstName" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="lastName" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="ChangeResourceNameResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="ChangeResourceNameResult" type="tns:ResourceData" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="AssignResource">
<s:complexType>
<s:sequence>
<s:element minOccurs="1" maxOccurs="1" name="resourceId" type="s:int" />
<s:element minOccurs="1" maxOccurs="1" name="projectId" type="s1:guid" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="AssignResourceResponse">
<s:complexType />
</s:element>
<s:element name="GetRoles">
<s:complexType />
</s:element>
<s:element name="GetRolesResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="GetRolesResult" type="tns:ArrayOfRoleInfo" />
</s:sequence>
</s:complexType>
</s:element>
<s:complexType name="ArrayOfRoleInfo">
<s:sequence>
<s:element minOccurs="0" maxOccurs="unbounded" name="RoleInfo" nillable="true" type="tns:RoleInfo" />
</s:sequence>
</s:complexType>
<s:complexType name="RoleInfo">
<s:sequence>
<s:element minOccurs="1" maxOccurs="1" name="Id" type="s:int" />
<s:element minOccurs="0" maxOccurs="1" name="Name" type="s:string" />
</s:sequence>
</s:complexType>
</s:schema>
<s:schema elementFormDefault="qualified" targetNamespace="http://microsoft.com/wsdl/types/">
<s:simpleType name="guid">
<s:restriction base="s:string">
<s:pattern value="[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}" />
</s:restriction>
</s:simpleType>
</s:schema>
</wsdl:types>
<wsdl:message name="GetProjectListSoapIn">
<wsdl:part name="parameters" element="tns:GetProjectList" />
</wsdl:message>
<wsdl:message name="GetProjectListSoapOut">
<wsdl:part name="parameters" element="tns:GetProjectListResponse" />
</wsdl:message>
<wsdl:message name="GetProjectSoapIn">
<wsdl:part name="parameters" element="tns:GetProject" />
</wsdl:message>
<wsdl:message name="GetProjectSoapOut">
<wsdl:part name="parameters" element="tns:GetProjectResponse" />
</wsdl:message>
<wsdl:message name="AddProjectSoapIn">
<wsdl:part name="parameters" element="tns:AddProject" />
</wsdl:message>
<wsdl:message name="AddProjectSoapOut">
<wsdl:part name="parameters" element="tns:AddProjectResponse" />
</wsdl:message>
<wsdl:message name="AddProjectCslaCredentials">
<wsdl:part name="CslaCredentials" element="tns:CslaCredentials" />
</wsdl:message>
<wsdl:message name="EditProjectSoapIn">
<wsdl:part name="parameters" element="tns:EditProject" />
</wsdl:message>
<wsdl:message name="EditProjectSoapOut">
<wsdl:part name="parameters" element="tns:EditProjectResponse" />
</wsdl:message>
<wsdl:message name="EditProjectCslaCredentials">
<wsdl:part name="CslaCredentials" element="tns:CslaCredentials" />
</wsdl:message>
<wsdl:message name="GetResourceListSoapIn">
<wsdl:part name="parameters" element="tns:GetResourceList" />
</wsdl:message>
<wsdl:message name="GetResourceListSoapOut">
<wsdl:part name="parameters" element="tns:GetResourceListResponse" />
</wsdl:message>
<wsdl:message name="GetResourceSoapIn">
<wsdl:part name="parameters" element="tns:GetResource" />
</wsdl:message>
<wsdl:message name="GetResourceSoapOut">
<wsdl:part name="parameters" element="tns:GetResourceResponse" />
</wsdl:message>
<wsdl:message name="ChangeResourceNameSoapIn">
<wsdl:part name="parameters" element="tns:ChangeResourceName" />
</wsdl:message>
<wsdl:message name="ChangeResourceNameSoapOut">
<wsdl:part name="parameters" element="tns:ChangeResourceNameResponse" />
</wsdl:message>
<wsdl:message name="ChangeResourceNameCslaCredentials">
<wsdl:part name="CslaCredentials" element="tns:CslaCredentials" />
</wsdl:message>
<wsdl:message name="AssignResourceSoapIn">
<wsdl:part name="parameters" element="tns:AssignResource" />
</wsdl:message>
<wsdl:message name="AssignResourceSoapOut">
<wsdl:part name="parameters" element="tns:AssignResourceResponse" />
</wsdl:message>
<wsdl:message name="AssignResourceCslaCredentials">
<wsdl:part name="CslaCredentials" element="tns:CslaCredentials" />
</wsdl:message>
<wsdl:message name="GetRolesSoapIn">
<wsdl:part name="parameters" element="tns:GetRoles" />
</wsdl:message>
<wsdl:message name="GetRolesSoapOut">
<wsdl:part name="parameters" element="tns:GetRolesResponse" />
</wsdl:message>
<wsdl:portType name="PTServiceSoap">
<wsdl:operation name="GetProjectList">
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Get a list of projects</wsdl:documentation>
<wsdl:input message="tns:GetProjectListSoapIn" />
<wsdl:output message="tns:GetProjectListSoapOut" />
</wsdl:operation>
<wsdl:operation name="GetProject">
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Get a project</wsdl:documentation>
<wsdl:input message="tns:GetProjectSoapIn" />
<wsdl:output message="tns:GetProjectSoapOut" />
</wsdl:operation>
<wsdl:operation name="AddProject">
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Add a project</wsdl:documentation>
<wsdl:input message="tns:AddProjectSoapIn" />
<wsdl:output message="tns:AddProjectSoapOut" />
</wsdl:operation>
<wsdl:operation name="EditProject">
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Edit a project</wsdl:documentation>
<wsdl:input message="tns:EditProjectSoapIn" />
<wsdl:output message="tns:EditProjectSoapOut" />
</wsdl:operation>
<wsdl:operation name="GetResourceList">
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Get a list of resources</wsdl:documentation>
<wsdl:input message="tns:GetResourceListSoapIn" />
<wsdl:output message="tns:GetResourceListSoapOut" />
</wsdl:operation>
<wsdl:operation name="GetResource">
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Get a resource</wsdl:documentation>
<wsdl:input message="tns:GetResourceSoapIn" />
<wsdl:output message="tns:GetResourceSoapOut" />
</wsdl:operation>
<wsdl:operation name="ChangeResourceName">
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Change a resource's name</wsdl:documentation>
<wsdl:input message="tns:ChangeResourceNameSoapIn" />
<wsdl:output message="tns:ChangeResourceNameSoapOut" />
</wsdl:operation>
<wsdl:operation name="AssignResource">
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Assign resource to a project</wsdl:documentation>
<wsdl:input message="tns:AssignResourceSoapIn" />
<wsdl:output message="tns:AssignResourceSoapOut" />
</wsdl:operation>
<wsdl:operation name="GetRoles">
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Get a list of roles</wsdl:documentation>
<wsdl:input message="tns:GetRolesSoapIn" />
<wsdl:output message="tns:GetRolesSoapOut" />
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="PTServiceSoap" type="tns:PTServiceSoap">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
<wsdl:operation name="GetProjectList">
<soap:operation soapAction="http://ws.lhotka.net/GetProjectList" style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetProject">
<soap:operation soapAction="http://ws.lhotka.net/GetProject" style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="AddProject">
<soap:operation soapAction="http://ws.lhotka.net/AddProject" style="document" />
<wsdl:input>
<soap:body use="literal" />
<soap:header message="tns:AddProjectCslaCredentials" part="CslaCredentials" use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="EditProject">
<soap:operation soapAction="http://ws.lhotka.net/EditProject" style="document" />
<wsdl:input>
<soap:body use="literal" />
<soap:header message="tns:EditProjectCslaCredentials" part="CslaCredentials" use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetResourceList">
<soap:operation soapAction="http://ws.lhotka.net/GetResourceList" style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetResource">
<soap:operation soapAction="http://ws.lhotka.net/GetResource" style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="ChangeResourceName">
<soap:operation soapAction="http://ws.lhotka.net/ChangeResourceName" style="document" />
<wsdl:input>
<soap:body use="literal" />
<soap:header message="tns:ChangeResourceNameCslaCredentials" part="CslaCredentials" use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="AssignResource">
<soap:operation soapAction="http://ws.lhotka.net/AssignResource" style="document" />
<wsdl:input>
<soap:body use="literal" />
<soap:header message="tns:AssignResourceCslaCredentials" part="CslaCredentials" use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetRoles">
<soap:operation soapAction="http://ws.lhotka.net/GetRoles" style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:binding name="PTServiceSoap12" type="tns:PTServiceSoap">
<soap12:binding transport="http://schemas.xmlsoap.org/soap/http" />
<wsdl:operation name="GetProjectList">
<soap12:operation soapAction="http://ws.lhotka.net/GetProjectList" style="document" />
<wsdl:input>
<soap12:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap12:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetProject">
<soap12:operation soapAction="http://ws.lhotka.net/GetProject" style="document" />
<wsdl:input>
<soap12:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap12:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="AddProject">
<soap12:operation soapAction="http://ws.lhotka.net/AddProject" style="document" />
<wsdl:input>
<soap12:body use="literal" />
<soap12:header message="tns:AddProjectCslaCredentials" part="CslaCredentials" use="literal" />
</wsdl:input>
<wsdl:output>
<soap12:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="EditProject">
<soap12:operation soapAction="http://ws.lhotka.net/EditProject" style="document" />
<wsdl:input>
<soap12:body use="literal" />
<soap12:header message="tns:EditProjectCslaCredentials" part="CslaCredentials" use="literal" />
</wsdl:input>
<wsdl:output>
<soap12:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetResourceList">
<soap12:operation soapAction="http://ws.lhotka.net/GetResourceList" style="document" />
<wsdl:input>
<soap12:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap12:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetResource">
<soap12:operation soapAction="http://ws.lhotka.net/GetResource" style="document" />
<wsdl:input>
<soap12:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap12:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="ChangeResourceName">
<soap12:operation soapAction="http://ws.lhotka.net/ChangeResourceName" style="document" />
<wsdl:input>
<soap12:body use="literal" />
<soap12:header message="tns:ChangeResourceNameCslaCredentials" part="CslaCredentials" use="literal" />
</wsdl:input>
<wsdl:output>
<soap12:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="AssignResource">
<soap12:operation soapAction="http://ws.lhotka.net/AssignResource" style="document" />
<wsdl:input>
<soap12:body use="literal" />
<soap12:header message="tns:AssignResourceCslaCredentials" part="CslaCredentials" use="literal" />
</wsdl:input>
<wsdl:output>
<soap12:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetRoles">
<soap12:operation soapAction="http://ws.lhotka.net/GetRoles" style="document" />
<wsdl:input>
<soap12:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap12:body use="literal" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="PTService">
<wsdl:port name="PTServiceSoap" binding="tns:PTServiceSoap">
<soap:address location="http://localhost/PTWebServicecs/PTService.asmx" />
</wsdl:port>
<wsdl:port name="PTServiceSoap12" binding="tns:PTServiceSoap12">
<soap12:address location="http://localhost/PTWebServicecs/PTService.asmx" />
</wsdl:port>
</wsdl:service>
</wsdl:definitions>

View File

@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
This file is automatically generated by Visual Studio .Net. It is
used to store generic object data source configuration information.
Renaming the file extension or editing the content of this file may
cause the file to be unrecognizable by the program.
-->
<GenericObjectDataSource DisplayName="ProjectData" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
<TypeInfo>PTServiceClient.PTService.ProjectData, Web References.PTService.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo>
</GenericObjectDataSource>

View File

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<DiscoveryClientResultsFile xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Results>
<DiscoveryClientResult referenceType="System.Web.Services.Discovery.ContractReference" url="http://localhost/PTWebServicecs/PTService.asmx?wsdl" filename="PTService.wsdl" />
<DiscoveryClientResult referenceType="System.Web.Services.Discovery.DiscoveryDocumentReference" url="http://localhost/PTWebServicecs/PTService.asmx?disco" filename="PTService.disco" />
</Results>
</DiscoveryClientResultsFile>

View File

@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
This file is automatically generated by Visual Studio .Net. It is
used to store generic object data source configuration information.
Renaming the file extension or editing the content of this file may
cause the file to be unrecognizable by the program.
-->
<GenericObjectDataSource DisplayName="ResourceData" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
<TypeInfo>PTServiceClient.PTService.ResourceData, Web References.PTService.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo>
</GenericObjectDataSource>

View File

@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
This file is automatically generated by Visual Studio .Net. It is
used to store generic object data source configuration information.
Renaming the file extension or editing the content of this file may
cause the file to be unrecognizable by the program.
-->
<GenericObjectDataSource DisplayName="RoleInfo" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
<TypeInfo>PTServiceClient.PTService.RoleInfo, Web References.PTService.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo>
</GenericObjectDataSource>

View File

@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
<section name="PTServiceClient.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
</sectionGroup>
</configSections>
<applicationSettings>
<PTServiceClient.Properties.Settings>
<setting name="PTServiceClient_PTService_PTService" serializeAs="String">
<value>http://localhost/PTWebServicecs/PTService.asmx</value>
</setting>
</PTServiceClient.Properties.Settings>
</applicationSettings>
</configuration>