private void mnuEdit_Click(object sender, RoutedEventArgs e) { TextPointer start = rtbInput.Document.ContentStart; TextPointer end = rtbInput.Document.ContentEnd; TextRange tr = new TextRange(start, end); EditPermissions editPerm = new EditPermissions(SM, IP, Port, tr.Text, owner); editPerm.setUserList(swarmUserTable); editPerm.ShowDialog(); }
private void mnuEdit_Click(object sender, RoutedEventArgs e) { EditPermissions editPerm = new EditPermissions(); editPerm.ShowDialog(); }