public TeamViewer(string nazwa, string group, string opis, string haslo, string typ, string teamViewerId, string id = "", object parent = null) : base(nazwa, group, opis, haslo, typ, id, parent) { this.teamViewerId = teamViewerId; Header = CreateHeader.createItemHeader(this); this.ToolTip = new ToolTip() { Content = this.nazwa + "\nID: " + this.teamViewerId + "\nHasło: " + haslo }; }
public TeamViewer(string nazwa, string kluczRodzica, string opis, string haslo, string teamViewerId, string klucz = "", object parent = null) : base(nazwa, kluczRodzica, opis, haslo, klucz, parent) { this.Rodzaj = Models.RodzajElementu.TeamViewer; this.teamViewerId = teamViewerId; Header = CreateHeader.createItemHeader(this); this.ToolTip = new ToolTip() { Content = this.Nazwa + "\nID: " + this.teamViewerId + "\nHasło: " + haslo }; }
public Element(string nazwa, string group, string opis, string id = "", object parent = null) { this.nazwa = nazwa; if (string.IsNullOrWhiteSpace(id)) { id = Guid.NewGuid().ToString(); } else { this.id = id; } this.group = group; this.opis = opis; this.parent = parent; this.Header = CreateHeader.createItemHeader(this); this.ContextMenu = CreateContextMenu(); }
public Element(string nazwa, string kluczRodzica, string opis, string klucz = "", object parent = null) { this.Nazwa = nazwa; if (string.IsNullOrWhiteSpace(klucz)) { klucz = Guid.NewGuid().ToString(); } this.Klucz = klucz; this.Status = StatusElementu.Aktywny; this.KluczRodzica = kluczRodzica; this.Opis = opis; this.parent = parent; this.Header = CreateHeader.createItemHeader(this); this.ContextMenu = CreateContextMenu(); }