private Resco.Controls.OutlookControls.Shortcut ReadShortcut(XmlReader reader) { Resco.Controls.OutlookControls.Shortcut o = null; try { string str = reader["Name"]; o = new Resco.Controls.OutlookControls.Shortcut(); if (this._designTimeCallback != null) { this._designTimeCallback(o, null); } o.Name = str; if (!reader.IsEmptyElement) { goto Label_00A0; } return(o); Label_003F: try { string str2; if (((str2 = reader.Name) == null) || (str2 == "")) { goto Label_00A0; } if (!(str2 == "Shortcut")) { if (str2 == "Property") { goto Label_0079; } goto Label_00A0; } return(o); Label_0079: this.m_Conversion.SetProperty(o, reader["Name"], reader["Value"]); } catch { } Label_00A0: if (reader.Read()) { goto Label_003F; } } catch { try { if (((reader.Name == "Shortcut") && reader.IsStartElement()) && !reader.IsEmptyElement) { while (reader.Read()) { if (reader.Name == "Shortcut") { goto Label_00F0; } } } } catch { } } Label_00F0: if (o != null) { return(o); } return(new Resco.Controls.OutlookControls.Shortcut()); }
private Resco.Controls.OutlookControls.Shortcut ReadShortcut(XmlReader reader) { Resco.Controls.OutlookControls.Shortcut o = null; try { string str = reader["Name"]; o = new Resco.Controls.OutlookControls.Shortcut(); if (this._designTimeCallback != null) { this._designTimeCallback(o, null); } o.Name = str; if (!reader.IsEmptyElement) { goto Label_00A0; } return o; Label_003F: try { string str2; if (((str2 = reader.Name) == null) || (str2 == "")) { goto Label_00A0; } if (!(str2 == "Shortcut")) { if (str2 == "Property") { goto Label_0079; } goto Label_00A0; } return o; Label_0079: this.m_Conversion.SetProperty(o, reader["Name"], reader["Value"]); } catch { } Label_00A0: if (reader.Read()) { goto Label_003F; } } catch { try { if (((reader.Name == "Shortcut") && reader.IsStartElement()) && !reader.IsEmptyElement) { while (reader.Read()) { if (reader.Name == "Shortcut") { goto Label_00F0; } } } } catch { } } Label_00F0: if (o != null) { return o; } return new Resco.Controls.OutlookControls.Shortcut(); }