private global::MichaelFramework.Utils.PaneState ConvertFromStringToPaneState(global::System.ComponentModel.ITypeDescriptorContext context, global::System.Globalization.CultureInfo culture, string value) { MichaelFramework.Utils.PaneState ps = new MichaelFramework.Utils.PaneState(); string[] s = value.Split(new char[] { '=', ',' }, StringSplitOptions.RemoveEmptyEntries); ps.Visible = bool.Parse(s[1].Trim()); ps.Expanded = bool.Parse(s[3].Trim()); ps.WidthOrHeight = int.Parse(s[5].Trim()); return ps; }
private global::MichaelFramework.Utils.PaneState ConvertFromStringToPaneState(global::System.ComponentModel.ITypeDescriptorContext context, global::System.Globalization.CultureInfo culture, string value) { MichaelFramework.Utils.PaneState ps = new MichaelFramework.Utils.PaneState(); string[] s = value.Split(new char[] { '=', ',' }, StringSplitOptions.RemoveEmptyEntries); ps.Visible = bool.Parse(s[1].Trim()); ps.Expanded = bool.Parse(s[3].Trim()); ps.WidthOrHeight = int.Parse(s[5].Trim()); return(ps); }