Skip to content

Commit

Permalink
Minor style fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pepone committed Nov 29, 2021
1 parent 00b2cd6 commit ad6abad
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions IceBuilder.Shared/IceHomeEditor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,7 @@ public partial class IceHomeEditor : UserControl

public string IceHome
{
get
{
return txtIceHome.Text;
}
get => txtIceHome.Text;
set
{
txtIceHome.Text = value;
Expand All @@ -37,8 +34,7 @@ public bool SetIceHome(string path)
}
else
{
lblInfo.Text =
string.Format("Invalid Ice home directory:\r\n\"{0}\"\r\n", path);
lblInfo.Text = $"Invalid Ice home directory:\r\n\"{path}\"\r\n";
return false;
}
}
Expand All @@ -53,7 +49,6 @@ private void BtnIceHome_Click(object sender, EventArgs e)
Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments) : txtIceHome.Text);

lblInfo.Text = "";

SetIceHome(selectedPath);
}

Expand Down

0 comments on commit ad6abad

Please sign in to comment.