Skip to content

Commit

Permalink
moved autologonBt_Click outside Listeners region
Browse files Browse the repository at this point in the history
  • Loading branch information
Florin Danila committed Apr 25, 2023
1 parent 64775f8 commit 3444221
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions src/Forms/ShellLauncher/shellLauncher.cs
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,11 @@ private void genXmlBt_Click(object sender, System.EventArgs e)
MessageBox.Show("XML file saved to " + savePath, "Success");
}
}
private void autologonBt_Click(object sender, System.EventArgs e)
{
accountsGv.Rows.Add("Autologon");
autologonBt.Enabled = false;
}

#region Event Listeners
private void accountsGv_CellValueChanged(object sender, DataGridViewCellEventArgs e)
Expand Down Expand Up @@ -157,12 +162,6 @@ private void accountsGv_RowsRemoved(object sender, DataGridViewRowsRemovedEventA

#endregion

private void autologonBt_Click(object sender, System.EventArgs e)
{
accountsGv.Rows.Add("Autologon");
autologonBt.Enabled = false;
}

private void toolTipLabel_MouseHover(object sender, System.EventArgs e)
{
string info = "- Name can be a local user or domain user. \n (For Domain Users, the format is: domain\\userName)\n- SID Can be Local Group SID, Local User SID, or AD Group SID\n- Autologon will automatically create a local account (kioskuser0) and add it to the autologon registry\n- AAD is not supported for either name or SID";
Expand Down

0 comments on commit 3444221

Please sign in to comment.