public void ClientUpdateFormSettingsTest() { FormSettingsCD target = new FormSettingsCD(); // 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.ClientUpdateFormSettings(async); Assert.AreEqual(expected, actual); Assert.Inconclusive("Verify the correctness of this test method."); }
private void BaseForm_FormSettings_Save() { FormSettings.SetValue("WindowState", WindowState.ToString()); switch (WindowState.ToString()) { case "Normal": FormSettings.SetValue("Height", Height.ToString()); FormSettings.SetValue("Width", Width.ToString()); FormSettings.SetValue("X", Location.X.ToString()); FormSettings.SetValue("Y", Location.Y.ToString()); break; default: FormSettings.SetValue("Height", RestoreBounds.Height.ToString()); FormSettings.SetValue("Width", RestoreBounds.Width.ToString()); FormSettings.SetValue("X", RestoreBounds.X.ToString()); FormSettings.SetValue("Y", RestoreBounds.Y.ToString()); break; } FormSettings.ClientUpdateFormSettings(false); }