private void BaseForm_FormSettings_Apply() { // Get Existing/Default FormSettings for this User and apply. FormSettings.ClientGetFormSettings(SystemInformation.UserName, Text, false); WindowState = FormSettings.WindowState; Height = FormSettings.Height; Width = FormSettings.Width; Location = FormSettings.Location; }
public void ClientGetFormSettingsTest() { FormSettingsCD target = new FormSettingsCD(); // TODO: Initialize to an appropriate value string userName = string.Empty; // TODO: Initialize to an appropriate value string formName = string.Empty; // TODO: Initialize to an appropriate value bool async = false; // TODO: Initialize to an appropriate value bool expected = false; // TODO: Initialize to an appropriate value bool actual; actual = target.ClientGetFormSettings(userName, formName, async); Assert.AreEqual(expected, actual); Assert.Inconclusive("Verify the correctness of this test method."); }