1
0
mirror of https://github.com/dkmstr/openuds.git synced 2024-12-21 09:34:08 +03:00

Fixed internal Authenticator user edition (groups problem)

This commit is contained in:
Adolfo Gómez 2012-10-01 12:41:39 +00:00
parent 377d00f190
commit 6dce10c92a
3 changed files with 118 additions and 351 deletions

View File

@ -117,7 +117,13 @@ namespace UdsAdmin.forms
xmlrpc.Group[] grps = xmlrpc.UdsAdminService.GetAuthenticatorGroups(_auth.id);
foreach (xmlrpc.Group grp in grps)
{
bool active = groups.Length > 0 && Array.Find(groups, g => g.id == grp.id).active;
bool active = false;
if (groups.Length > 0)
{
xmlrpc.Group gg = Array.Find(groups, g => g.id == grp.id);
if (gg != null)
active = gg.active;
}
groupsList.Items.Add(grp, active);
}
}
@ -125,6 +131,10 @@ namespace UdsAdmin.forms
{
gui.UserNotifier.notifyRpcException(ex);
}
catch (Exception exx)
{
gui.UserNotifier.notifyError(exx.Message);
}
}
staffMember.Enabled = staffMemberLabel.Enabled = admin.Enabled = adminLabel.Enabled = xmlrpc.UdsAdminService.isAdmin;

View File

@ -180,6 +180,21 @@
<data name="tableLayoutPanel3.ColumnCount" type="System.Int32, mscorlib">
<value>3</value>
</data>
<data name="check.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
<value>Fill</value>
</data>
<data name="check.Location" type="System.Drawing.Point, System.Drawing">
<value>33, 3</value>
</data>
<data name="check.Size" type="System.Drawing.Size, System.Drawing">
<value>85, 21</value>
</data>
<data name="check.TabIndex" type="System.Int32, mscorlib">
<value>7</value>
</data>
<data name="check.Text" xml:space="preserve">
<value>Check name</value>
</data>
<data name="&gt;&gt;check.Name" xml:space="preserve">
<value>check</value>
</data>
@ -249,344 +264,23 @@
<data name="tableLayoutPanel2.LayoutSettings" type="System.Windows.Forms.TableLayoutSettings, System.Windows.Forms">
<value>&lt;?xml version="1.0" encoding="utf-16"?&gt;&lt;TableLayoutSettings&gt;&lt;Controls&gt;&lt;Control Name="accept" Row="0" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;Control Name="cancel" Row="0" RowSpan="1" Column="2" ColumnSpan="1" /&gt;&lt;Control Name="tableLayoutPanel3" Row="0" RowSpan="1" Column="1" ColumnSpan="1" /&gt;&lt;/Controls&gt;&lt;Columns Styles="Percent,30,Percent,40,Percent,30" /&gt;&lt;Rows Styles="Percent,100" /&gt;&lt;/TableLayoutSettings&gt;</value>
</data>
<data name="check.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
<value>Fill</value>
</data>
<data name="check.Location" type="System.Drawing.Point, System.Drawing">
<value>33, 3</value>
</data>
<data name="check.Size" type="System.Drawing.Size, System.Drawing">
<value>85, 21</value>
</data>
<data name="check.TabIndex" type="System.Int32, mscorlib">
<value>7</value>
</data>
<data name="check.Text" xml:space="preserve">
<value>Check name</value>
</data>
<data name="&gt;&gt;check.Name" xml:space="preserve">
<value>check</value>
</data>
<data name="&gt;&gt;check.Type" xml:space="preserve">
<value>System.Windows.Forms.Button, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;check.Parent" xml:space="preserve">
<value>tableLayoutPanel3</value>
</data>
<data name="&gt;&gt;check.ZOrder" xml:space="preserve">
<value>0</value>
</data>
<data name="tabs.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Top, Left, Right</value>
</data>
<data name="&gt;&gt;user.Name" xml:space="preserve">
<value>user</value>
</data>
<data name="&gt;&gt;user.Type" xml:space="preserve">
<value>System.Windows.Forms.TabPage, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;user.Parent" xml:space="preserve">
<value>tabs</value>
</data>
<data name="&gt;&gt;user.ZOrder" xml:space="preserve">
<value>0</value>
</data>
<data name="&gt;&gt;group.Name" xml:space="preserve">
<value>group</value>
</data>
<data name="&gt;&gt;group.Type" xml:space="preserve">
<value>System.Windows.Forms.TabPage, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;group.Parent" xml:space="preserve">
<value>tabs</value>
</data>
<data name="&gt;&gt;group.ZOrder" xml:space="preserve">
<value>1</value>
</data>
<data name="tabs.Location" type="System.Drawing.Point, System.Drawing">
<value>13, 13</value>
</data>
<data name="tabs.Size" type="System.Drawing.Size, System.Drawing">
<value>393, 237</value>
</data>
<data name="tabs.TabIndex" type="System.Int32, mscorlib">
<value>10</value>
</data>
<data name="&gt;&gt;tabs.Name" xml:space="preserve">
<value>tabs</value>
</data>
<data name="&gt;&gt;tabs.Type" xml:space="preserve">
<value>System.Windows.Forms.TabControl, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;tabs.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;tabs.ZOrder" xml:space="preserve">
<value>0</value>
</data>
<data name="&gt;&gt;tableLayoutPanel1.Name" xml:space="preserve">
<value>tableLayoutPanel1</value>
</data>
<data name="&gt;&gt;tableLayoutPanel1.Type" xml:space="preserve">
<value>System.Windows.Forms.TableLayoutPanel, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;tableLayoutPanel1.Parent" xml:space="preserve">
<value>user</value>
</data>
<data name="&gt;&gt;tableLayoutPanel1.ZOrder" xml:space="preserve">
<value>0</value>
</data>
<data name="tableLayoutPanel1.LayoutSettings" type="System.Windows.Forms.TableLayoutSettings, System.Windows.Forms">
<value>&lt;?xml version="1.0" encoding="utf-16"?&gt;&lt;TableLayoutSettings&gt;&lt;Controls&gt;&lt;Control Name="realName" Row="1" RowSpan="1" Column="1" ColumnSpan="2" /&gt;&lt;Control Name="label4" Row="1" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;Control Name="label2" Row="2" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;Control Name="name" Row="0" RowSpan="1" Column="1" ColumnSpan="1" /&gt;&lt;Control Name="comments" Row="2" RowSpan="1" Column="1" ColumnSpan="2" /&gt;&lt;Control Name="searchButton" Row="0" RowSpan="1" Column="2" ColumnSpan="1" /&gt;&lt;Control Name="userNameLabel" Row="0" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;Control Name="state" Row="3" RowSpan="1" Column="1" ColumnSpan="2" /&gt;&lt;Control Name="passwordLabel" Row="6" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;Control Name="staffMemberLabel" Row="4" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;Control Name="adminLabel" Row="5" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;Control Name="label5" Row="3" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;Control Name="password" Row="6" RowSpan="1" Column="1" ColumnSpan="2" /&gt;&lt;Control Name="staffMember" Row="4" RowSpan="1" Column="1" ColumnSpan="1" /&gt;&lt;Control Name="admin" Row="5" RowSpan="1" Column="1" ColumnSpan="1" /&gt;&lt;/Controls&gt;&lt;Columns Styles="Percent,27,54098,Percent,72,45902,Absolute,53" /&gt;&lt;Rows Styles="Percent,15,Percent,15,Percent,14,Percent,14,Percent,14,Percent,14,Percent,14,Absolute,20" /&gt;&lt;/TableLayoutSettings&gt;</value>
</data>
<data name="user.Location" type="System.Drawing.Point, System.Drawing">
<value>4, 23</value>
</data>
<data name="user.Padding" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>3, 3, 3, 3</value>
</data>
<data name="user.Size" type="System.Drawing.Size, System.Drawing">
<value>385, 210</value>
</data>
<data name="user.TabIndex" type="System.Int32, mscorlib">
<value>0</value>
</data>
<data name="user.Text" xml:space="preserve">
<value>User</value>
</data>
<data name="&gt;&gt;user.Name" xml:space="preserve">
<value>user</value>
</data>
<data name="&gt;&gt;user.Type" xml:space="preserve">
<value>System.Windows.Forms.TabPage, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;user.Parent" xml:space="preserve">
<value>tabs</value>
</data>
<data name="&gt;&gt;user.ZOrder" xml:space="preserve">
<value>0</value>
</data>
<data name="tableLayoutPanel1.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Top, Left, Right</value>
</data>
<data name="tableLayoutPanel1.ColumnCount" type="System.Int32, mscorlib">
<value>3</value>
</data>
<data name="&gt;&gt;realName.Name" xml:space="preserve">
<value>realName</value>
</data>
<data name="&gt;&gt;realName.Type" xml:space="preserve">
<value>System.Windows.Forms.TextBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;realName.Parent" xml:space="preserve">
<value>tableLayoutPanel1</value>
</data>
<data name="&gt;&gt;realName.ZOrder" xml:space="preserve">
<value>0</value>
</data>
<data name="&gt;&gt;label4.Name" xml:space="preserve">
<value>label4</value>
</data>
<data name="&gt;&gt;label4.Type" xml:space="preserve">
<value>System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;label4.Parent" xml:space="preserve">
<value>tableLayoutPanel1</value>
</data>
<data name="&gt;&gt;label4.ZOrder" xml:space="preserve">
<value>1</value>
</data>
<data name="&gt;&gt;label2.Name" xml:space="preserve">
<value>label2</value>
</data>
<data name="&gt;&gt;label2.Type" xml:space="preserve">
<value>System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;label2.Parent" xml:space="preserve">
<value>tableLayoutPanel1</value>
</data>
<data name="&gt;&gt;label2.ZOrder" xml:space="preserve">
<value>2</value>
</data>
<data name="&gt;&gt;name.Name" xml:space="preserve">
<value>name</value>
</data>
<data name="&gt;&gt;name.Type" xml:space="preserve">
<value>System.Windows.Forms.TextBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;name.Parent" xml:space="preserve">
<value>tableLayoutPanel1</value>
</data>
<data name="&gt;&gt;name.ZOrder" xml:space="preserve">
<value>3</value>
</data>
<data name="&gt;&gt;comments.Name" xml:space="preserve">
<value>comments</value>
</data>
<data name="&gt;&gt;comments.Type" xml:space="preserve">
<value>System.Windows.Forms.TextBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;comments.Parent" xml:space="preserve">
<value>tableLayoutPanel1</value>
</data>
<data name="&gt;&gt;comments.ZOrder" xml:space="preserve">
<value>4</value>
</data>
<data name="&gt;&gt;searchButton.Name" xml:space="preserve">
<value>searchButton</value>
</data>
<data name="&gt;&gt;searchButton.Type" xml:space="preserve">
<value>System.Windows.Forms.Button, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;searchButton.Parent" xml:space="preserve">
<value>tableLayoutPanel1</value>
</data>
<data name="&gt;&gt;searchButton.ZOrder" xml:space="preserve">
<value>5</value>
</data>
<data name="&gt;&gt;userNameLabel.Name" xml:space="preserve">
<value>userNameLabel</value>
</data>
<data name="&gt;&gt;userNameLabel.Type" xml:space="preserve">
<value>System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;userNameLabel.Parent" xml:space="preserve">
<value>tableLayoutPanel1</value>
</data>
<data name="&gt;&gt;userNameLabel.ZOrder" xml:space="preserve">
<value>6</value>
</data>
<data name="&gt;&gt;state.Name" xml:space="preserve">
<value>state</value>
</data>
<data name="&gt;&gt;state.Type" xml:space="preserve">
<value>System.Windows.Forms.ComboBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;state.Parent" xml:space="preserve">
<value>tableLayoutPanel1</value>
</data>
<data name="&gt;&gt;state.ZOrder" xml:space="preserve">
<value>7</value>
</data>
<data name="&gt;&gt;passwordLabel.Name" xml:space="preserve">
<value>passwordLabel</value>
</data>
<data name="&gt;&gt;passwordLabel.Type" xml:space="preserve">
<value>System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;passwordLabel.Parent" xml:space="preserve">
<value>tableLayoutPanel1</value>
</data>
<data name="&gt;&gt;passwordLabel.ZOrder" xml:space="preserve">
<value>8</value>
</data>
<data name="&gt;&gt;staffMemberLabel.Name" xml:space="preserve">
<value>staffMemberLabel</value>
</data>
<data name="&gt;&gt;staffMemberLabel.Type" xml:space="preserve">
<value>System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;staffMemberLabel.Parent" xml:space="preserve">
<value>tableLayoutPanel1</value>
</data>
<data name="&gt;&gt;staffMemberLabel.ZOrder" xml:space="preserve">
<value>9</value>
</data>
<data name="&gt;&gt;adminLabel.Name" xml:space="preserve">
<value>adminLabel</value>
</data>
<data name="&gt;&gt;adminLabel.Type" xml:space="preserve">
<value>System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;adminLabel.Parent" xml:space="preserve">
<value>tableLayoutPanel1</value>
</data>
<data name="&gt;&gt;adminLabel.ZOrder" xml:space="preserve">
<value>10</value>
</data>
<data name="&gt;&gt;label5.Name" xml:space="preserve">
<value>label5</value>
</data>
<data name="&gt;&gt;label5.Type" xml:space="preserve">
<value>System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;label5.Parent" xml:space="preserve">
<value>tableLayoutPanel1</value>
</data>
<data name="&gt;&gt;label5.ZOrder" xml:space="preserve">
<value>11</value>
</data>
<data name="&gt;&gt;password.Name" xml:space="preserve">
<value>password</value>
</data>
<data name="&gt;&gt;password.Type" xml:space="preserve">
<value>System.Windows.Forms.TextBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;password.Parent" xml:space="preserve">
<value>tableLayoutPanel1</value>
</data>
<data name="&gt;&gt;password.ZOrder" xml:space="preserve">
<value>12</value>
</data>
<data name="&gt;&gt;staffMember.Name" xml:space="preserve">
<value>staffMember</value>
</data>
<data name="&gt;&gt;staffMember.Type" xml:space="preserve">
<value>System.Windows.Forms.CheckBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;staffMember.Parent" xml:space="preserve">
<value>tableLayoutPanel1</value>
</data>
<data name="&gt;&gt;staffMember.ZOrder" xml:space="preserve">
<value>13</value>
</data>
<data name="&gt;&gt;admin.Name" xml:space="preserve">
<value>admin</value>
</data>
<data name="&gt;&gt;admin.Type" xml:space="preserve">
<value>System.Windows.Forms.CheckBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;admin.Parent" xml:space="preserve">
<value>tableLayoutPanel1</value>
</data>
<data name="&gt;&gt;admin.ZOrder" xml:space="preserve">
<value>14</value>
</data>
<data name="tableLayoutPanel1.Location" type="System.Drawing.Point, System.Drawing">
<value>6, 6</value>
</data>
<data name="tableLayoutPanel1.RowCount" type="System.Int32, mscorlib">
<value>7</value>
</data>
<data name="tableLayoutPanel1.Size" type="System.Drawing.Size, System.Drawing">
<value>373, 195</value>
</data>
<data name="tableLayoutPanel1.TabIndex" type="System.Int32, mscorlib">
<value>1</value>
</data>
<data name="&gt;&gt;tableLayoutPanel1.Name" xml:space="preserve">
<value>tableLayoutPanel1</value>
</data>
<data name="&gt;&gt;tableLayoutPanel1.Type" xml:space="preserve">
<value>System.Windows.Forms.TableLayoutPanel, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;tableLayoutPanel1.Parent" xml:space="preserve">
<value>user</value>
</data>
<data name="&gt;&gt;tableLayoutPanel1.ZOrder" xml:space="preserve">
<value>0</value>
</data>
<data name="tableLayoutPanel1.LayoutSettings" type="System.Windows.Forms.TableLayoutSettings, System.Windows.Forms">
<value>&lt;?xml version="1.0" encoding="utf-16"?&gt;&lt;TableLayoutSettings&gt;&lt;Controls&gt;&lt;Control Name="realName" Row="1" RowSpan="1" Column="1" ColumnSpan="2" /&gt;&lt;Control Name="label4" Row="1" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;Control Name="label2" Row="2" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;Control Name="name" Row="0" RowSpan="1" Column="1" ColumnSpan="1" /&gt;&lt;Control Name="comments" Row="2" RowSpan="1" Column="1" ColumnSpan="2" /&gt;&lt;Control Name="searchButton" Row="0" RowSpan="1" Column="2" ColumnSpan="1" /&gt;&lt;Control Name="userNameLabel" Row="0" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;Control Name="state" Row="3" RowSpan="1" Column="1" ColumnSpan="2" /&gt;&lt;Control Name="passwordLabel" Row="6" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;Control Name="staffMemberLabel" Row="4" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;Control Name="adminLabel" Row="5" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;Control Name="label5" Row="3" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;Control Name="password" Row="6" RowSpan="1" Column="1" ColumnSpan="2" /&gt;&lt;Control Name="staffMember" Row="4" RowSpan="1" Column="1" ColumnSpan="1" /&gt;&lt;Control Name="admin" Row="5" RowSpan="1" Column="1" ColumnSpan="1" /&gt;&lt;/Controls&gt;&lt;Columns Styles="Percent,27,54098,Percent,72,45902,Absolute,53" /&gt;&lt;Rows Styles="Percent,15,Percent,15,Percent,14,Percent,14,Percent,14,Percent,14,Percent,14,Absolute,20" /&gt;&lt;/TableLayoutSettings&gt;</value>
</data>
<data name="realName.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
<value>Fill</value>
</data>
<data name="realName.Location" type="System.Drawing.Point, System.Drawing">
<value>91, 32</value>
<value>90, 32</value>
</data>
<data name="realName.Size" type="System.Drawing.Size, System.Drawing">
<value>279, 20</value>
<value>280, 20</value>
</data>
<data name="realName.TabIndex" type="System.Int32, mscorlib">
<value>3</value>
@ -667,10 +361,10 @@
<value>Fill</value>
</data>
<data name="name.Location" type="System.Drawing.Point, System.Drawing">
<value>91, 3</value>
<value>90, 3</value>
</data>
<data name="name.Size" type="System.Drawing.Size, System.Drawing">
<value>225, 20</value>
<value>224, 20</value>
</data>
<data name="name.TabIndex" type="System.Int32, mscorlib">
<value>1</value>
@ -691,10 +385,10 @@
<value>Fill</value>
</data>
<data name="comments.Location" type="System.Drawing.Point, System.Drawing">
<value>91, 61</value>
<value>90, 61</value>
</data>
<data name="comments.Size" type="System.Drawing.Size, System.Drawing">
<value>279, 20</value>
<value>280, 20</value>
</data>
<data name="comments.TabIndex" type="System.Int32, mscorlib">
<value>4</value>
@ -715,7 +409,7 @@
<value>NoControl</value>
</data>
<data name="searchButton.Location" type="System.Drawing.Point, System.Drawing">
<value>322, 3</value>
<value>320, 3</value>
</data>
<data name="searchButton.Size" type="System.Drawing.Size, System.Drawing">
<value>30, 20</value>
@ -772,10 +466,10 @@
<value>Fill</value>
</data>
<data name="state.Location" type="System.Drawing.Point, System.Drawing">
<value>91, 88</value>
<value>90, 88</value>
</data>
<data name="state.Size" type="System.Drawing.Size, System.Drawing">
<value>279, 21</value>
<value>280, 21</value>
</data>
<data name="state.TabIndex" type="System.Int32, mscorlib">
<value>5</value>
@ -916,10 +610,10 @@
<value>Fill</value>
</data>
<data name="password.Location" type="System.Drawing.Point, System.Drawing">
<value>91, 169</value>
<value>90, 169</value>
</data>
<data name="password.Size" type="System.Drawing.Size, System.Drawing">
<value>279, 20</value>
<value>280, 20</value>
</data>
<data name="password.TabIndex" type="System.Int32, mscorlib">
<value>6</value>
@ -943,10 +637,10 @@
<value>Fill</value>
</data>
<data name="staffMember.Location" type="System.Drawing.Point, System.Drawing">
<value>91, 115</value>
<value>90, 115</value>
</data>
<data name="staffMember.Size" type="System.Drawing.Size, System.Drawing">
<value>225, 21</value>
<value>224, 21</value>
</data>
<data name="staffMember.TabIndex" type="System.Int32, mscorlib">
<value>14</value>
@ -970,10 +664,10 @@
<value>Fill</value>
</data>
<data name="admin.Location" type="System.Drawing.Point, System.Drawing">
<value>91, 142</value>
<value>90, 142</value>
</data>
<data name="admin.Size" type="System.Drawing.Size, System.Drawing">
<value>225, 21</value>
<value>224, 21</value>
</data>
<data name="admin.TabIndex" type="System.Int32, mscorlib">
<value>15</value>
@ -990,6 +684,69 @@
<data name="&gt;&gt;admin.ZOrder" xml:space="preserve">
<value>14</value>
</data>
<data name="tableLayoutPanel1.Location" type="System.Drawing.Point, System.Drawing">
<value>6, 6</value>
</data>
<data name="tableLayoutPanel1.RowCount" type="System.Int32, mscorlib">
<value>7</value>
</data>
<data name="tableLayoutPanel1.Size" type="System.Drawing.Size, System.Drawing">
<value>373, 195</value>
</data>
<data name="tableLayoutPanel1.TabIndex" type="System.Int32, mscorlib">
<value>1</value>
</data>
<data name="&gt;&gt;tableLayoutPanel1.Name" xml:space="preserve">
<value>tableLayoutPanel1</value>
</data>
<data name="&gt;&gt;tableLayoutPanel1.Type" xml:space="preserve">
<value>System.Windows.Forms.TableLayoutPanel, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;tableLayoutPanel1.Parent" xml:space="preserve">
<value>user</value>
</data>
<data name="&gt;&gt;tableLayoutPanel1.ZOrder" xml:space="preserve">
<value>0</value>
</data>
<data name="tableLayoutPanel1.LayoutSettings" type="System.Windows.Forms.TableLayoutSettings, System.Windows.Forms">
<value>&lt;?xml version="1.0" encoding="utf-16"?&gt;&lt;TableLayoutSettings&gt;&lt;Controls&gt;&lt;Control Name="realName" Row="1" RowSpan="1" Column="1" ColumnSpan="2" /&gt;&lt;Control Name="label4" Row="1" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;Control Name="label2" Row="2" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;Control Name="name" Row="0" RowSpan="1" Column="1" ColumnSpan="1" /&gt;&lt;Control Name="comments" Row="2" RowSpan="1" Column="1" ColumnSpan="2" /&gt;&lt;Control Name="searchButton" Row="0" RowSpan="1" Column="2" ColumnSpan="1" /&gt;&lt;Control Name="userNameLabel" Row="0" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;Control Name="state" Row="3" RowSpan="1" Column="1" ColumnSpan="2" /&gt;&lt;Control Name="passwordLabel" Row="6" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;Control Name="staffMemberLabel" Row="4" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;Control Name="adminLabel" Row="5" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;Control Name="label5" Row="3" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;Control Name="password" Row="6" RowSpan="1" Column="1" ColumnSpan="2" /&gt;&lt;Control Name="staffMember" Row="4" RowSpan="1" Column="1" ColumnSpan="1" /&gt;&lt;Control Name="admin" Row="5" RowSpan="1" Column="1" ColumnSpan="1" /&gt;&lt;/Controls&gt;&lt;Columns Styles="Percent,27,54098,Percent,72,45902,Absolute,55" /&gt;&lt;Rows Styles="Percent,15,Percent,15,Percent,14,Percent,14,Percent,14,Percent,14,Percent,14,Absolute,20" /&gt;&lt;/TableLayoutSettings&gt;</value>
</data>
<data name="user.Location" type="System.Drawing.Point, System.Drawing">
<value>4, 23</value>
</data>
<data name="user.Padding" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>3, 3, 3, 3</value>
</data>
<data name="user.Size" type="System.Drawing.Size, System.Drawing">
<value>385, 210</value>
</data>
<data name="user.TabIndex" type="System.Int32, mscorlib">
<value>0</value>
</data>
<data name="user.Text" xml:space="preserve">
<value>User</value>
</data>
<data name="&gt;&gt;user.Name" xml:space="preserve">
<value>user</value>
</data>
<data name="&gt;&gt;user.Type" xml:space="preserve">
<value>System.Windows.Forms.TabPage, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;user.Parent" xml:space="preserve">
<value>tabs</value>
</data>
<data name="&gt;&gt;user.ZOrder" xml:space="preserve">
<value>0</value>
</data>
<data name="groupsList.Location" type="System.Drawing.Point, System.Drawing">
<value>7, 7</value>
</data>
<data name="groupsList.Size" type="System.Drawing.Size, System.Drawing">
<value>372, 184</value>
</data>
<data name="groupsList.TabIndex" type="System.Int32, mscorlib">
<value>0</value>
</data>
<data name="&gt;&gt;groupsList.Name" xml:space="preserve">
<value>groupsList</value>
</data>
@ -1029,25 +786,25 @@
<data name="&gt;&gt;group.ZOrder" xml:space="preserve">
<value>1</value>
</data>
<data name="groupsList.Location" type="System.Drawing.Point, System.Drawing">
<value>7, 7</value>
<data name="tabs.Location" type="System.Drawing.Point, System.Drawing">
<value>13, 13</value>
</data>
<data name="groupsList.Size" type="System.Drawing.Size, System.Drawing">
<value>372, 184</value>
<data name="tabs.Size" type="System.Drawing.Size, System.Drawing">
<value>393, 237</value>
</data>
<data name="groupsList.TabIndex" type="System.Int32, mscorlib">
<value>0</value>
<data name="tabs.TabIndex" type="System.Int32, mscorlib">
<value>10</value>
</data>
<data name="&gt;&gt;groupsList.Name" xml:space="preserve">
<value>groupsList</value>
<data name="&gt;&gt;tabs.Name" xml:space="preserve">
<value>tabs</value>
</data>
<data name="&gt;&gt;groupsList.Type" xml:space="preserve">
<value>System.Windows.Forms.CheckedListBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
<data name="&gt;&gt;tabs.Type" xml:space="preserve">
<value>System.Windows.Forms.TabControl, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;groupsList.Parent" xml:space="preserve">
<value>group</value>
<data name="&gt;&gt;tabs.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;groupsList.ZOrder" xml:space="preserve">
<data name="&gt;&gt;tabs.ZOrder" xml:space="preserve">
<value>0</value>
</data>
<metadata name="$this.Localizable" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">

View File

@ -719,7 +719,7 @@ namespace UdsAdmin.xmlrpc
}
catch (Exception e)
{
MessageBox.Show(e.Message, "Exception invoking getServiceGui!!!");
MessageBox.Show(e.Message, "Exception invoking Choose Callback!!!");
return null;
}