/// <summary> /// Display a Don't Ask Again dialog, returns true if he clicked Yes. /// </summary> /// <param name="language">Language to use</param> /// <param name="labelValue">Label string</param> /// <param name="againValue">The current stored boolean and reference to the new one</param> /// <returns></returns> public static ResizeType Show(string labelValue) { using (var form = new SkinSizeMismatch()) { form.StartPosition = FormStartPosition.CenterParent; form.label1.Text = labelValue; form.ShowDialog(); return(form.Result); } }
/// <summary> /// Display a Don't Ask Again dialog, returns true if he clicked Yes. /// </summary> /// <param name="language">Language to use</param> /// <param name="labelValue">Label string</param> /// <param name="againValue">The current stored boolean and reference to the new one</param> /// <returns></returns> public static ResizeType Show(string labelValue) { using (var form = new SkinSizeMismatch()) { form.StartPosition = FormStartPosition.CenterParent; form.label1.Text = labelValue; form.ShowDialog(); return form.Result; } }